summaryrefslogtreecommitdiffabout
path: root/libopkele.spec
Unidiff
Diffstat (limited to 'libopkele.spec') (more/less context) (ignore whitespace changes)
-rw-r--r--libopkele.spec21
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 @@
1Summary: a c++ implementation of an OpenID decentralized identity system 1Summary: a c++ implementation of an OpenID decentralized identity system
2Name: libopkele 2Name: libopkele
3Version: 2.0.4 3Version: 2.0.4
4Release: 1 4Release: 1
5License: GPL 5License: BSD
6URL: http://kin.klever.net/libopkele/ 6URL: http://kin.klever.net/libopkele/
7Source0: %{name}-%{version}.tar.gz 7Source0: %{name}-%{version}.tar.gz
8BuildRoot: %{_tmppath}/%{name}-%{version}-root 8BuildRoot: %{_tmppath}/%{name}-%{version}-root
9BuildRequires: gcc-c++ openssl-devel libcurl-devel libtidy-devel expat-devel 9BuildRequires: expat-devel
10BuildRequires: gcc-c++
11BuildRequires: libcurl-devel
12BuildRequires: libtidy-devel
13BuildRequires: openssl-devel
10 14
11%description 15%description
12libopkele is a c++ implementation of an OpenID decentralized identity system. 16libopkele is a c++ implementation of an OpenID decentralized identity system.
13It provides OpenID protocol handling, leaving authentication and user 17It provides OpenID protocol handling, leaving authentication and user
14interaction to the implementor. 18interaction to the implementor.
15 19
16%prep 20%prep
17%setup -q 21%setup -q
18 22
19%build 23%build
20%configure 24%configure
21
22make %{?_smp_mflags} 25make %{?_smp_mflags}
23 26
24%install 27%install
25rm -rf %{buildroot} 28rm -rf %{buildroot}
26%make_install 29make install DESTDIR=%{buildroot}
27 30
28%clean 31%clean
29rm -rf %{buildroot} 32rm -rf %{buildroot}
30 33
31%post 34%post -p /sbin/ldconfig
32ldconfig
33 35
34%postun 36%postun -p /sbin/ldconfig
35ldconfig
36 37
37%files 38%files
39%defattr(-,root,root,-)
38%{_libdir}/libopkele.a 40%{_libdir}/libopkele.a
39%{_libdir}/libopkele.la 41%{_libdir}/libopkele.la
40%{_libdir}/libopkele.so 42%{_libdir}/libopkele.so
41%{_libdir}/libopkele.so.3 43%{_libdir}/libopkele.so.3
42%{_libdir}/libopkele.so.3.0.0 44%{_libdir}/libopkele.so.3.0.0
43%{_libdir}/pkgconfig/libopkele.pc 45%{_libdir}/pkgconfig/libopkele.pc
44 46
45%package devel 47%package devel
46Summary: Development headers for libopkele 48Summary: Development headers for libopkele
47Requires: %{name} = %{version} 49Requires: %{name}%{?_isa} = %{version}-%{release}
48 50
49%description devel 51%description devel
50libopkele is a c++ implementation of an OpenID decentralized identity system. 52libopkele is a c++ implementation of an OpenID decentralized identity system.
51It provides OpenID protocol handling, leaving authentication and user 53It provides OpenID protocol handling, leaving authentication and user
52interaction to the implementor. 54interaction to the implementor.
53 55
54%files devel 56%files devel
57%defattr(-,root,root,-)
55%dir %{_includedir}/opkele 58%dir %{_includedir}/opkele
56%{_includedir}/opkele/acconfig.h 59%{_includedir}/opkele/acconfig.h
57%{_includedir}/opkele/association.h 60%{_includedir}/opkele/association.h
58%{_includedir}/opkele/ax.h 61%{_includedir}/opkele/ax.h
59%{_includedir}/opkele/basic_op.h 62%{_includedir}/opkele/basic_op.h
60%{_includedir}/opkele/basic_rp.h 63%{_includedir}/opkele/basic_rp.h
61%{_includedir}/opkele/exception.h 64%{_includedir}/opkele/exception.h
62%{_includedir}/opkele/extension.h 65%{_includedir}/opkele/extension.h