-rw-r--r-- | libopkele.spec | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/libopkele.spec b/libopkele.spec index 35f6d7c..efbaded 100644 --- a/libopkele.spec +++ b/libopkele.spec @@ -1,62 +1,65 @@ Summary: a c++ implementation of an OpenID decentralized identity system Name: libopkele Version: 2.0.4 Release: 1 -License: GPL +License: BSD URL: http://kin.klever.net/libopkele/ Source0: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root -BuildRequires: gcc-c++ openssl-devel libcurl-devel libtidy-devel expat-devel +BuildRequires: expat-devel +BuildRequires: gcc-c++ +BuildRequires: libcurl-devel +BuildRequires: libtidy-devel +BuildRequires: openssl-devel %description libopkele is a c++ implementation of an OpenID decentralized identity system. It provides OpenID protocol handling, leaving authentication and user interaction to the implementor. %prep %setup -q %build %configure - make %{?_smp_mflags} %install rm -rf %{buildroot} -%make_install +make install DESTDIR=%{buildroot} %clean rm -rf %{buildroot} -%post -ldconfig +%post -p /sbin/ldconfig -%postun -ldconfig +%postun -p /sbin/ldconfig %files +%defattr(-,root,root,-) %{_libdir}/libopkele.a %{_libdir}/libopkele.la %{_libdir}/libopkele.so %{_libdir}/libopkele.so.3 %{_libdir}/libopkele.so.3.0.0 %{_libdir}/pkgconfig/libopkele.pc %package devel Summary: Development headers for libopkele -Requires: %{name} = %{version} +Requires: %{name}%{?_isa} = %{version}-%{release} %description devel libopkele is a c++ implementation of an OpenID decentralized identity system. It provides OpenID protocol handling, leaving authentication and user interaction to the implementor. %files devel +%defattr(-,root,root,-) %dir %{_includedir}/opkele %{_includedir}/opkele/acconfig.h %{_includedir}/opkele/association.h %{_includedir}/opkele/ax.h %{_includedir}/opkele/basic_op.h %{_includedir}/opkele/basic_rp.h %{_includedir}/opkele/exception.h %{_includedir}/opkele/extension.h |