-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,13 +1,17 @@ | |||
1 | Summary: a c++ implementation of an OpenID decentralized identity system | 1 | Summary: a c++ implementation of an OpenID decentralized identity system |
2 | Name: libopkele | 2 | Name: libopkele |
3 | Version: 2.0.4 | 3 | Version: 2.0.4 |
4 | Release: 1 | 4 | Release: 1 |
5 | License: GPL | 5 | License: BSD |
6 | URL: http://kin.klever.net/libopkele/ | 6 | URL: http://kin.klever.net/libopkele/ |
7 | Source0: %{name}-%{version}.tar.gz | 7 | Source0: %{name}-%{version}.tar.gz |
8 | BuildRoot: %{_tmppath}/%{name}-%{version}-root | 8 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
9 | BuildRequires: gcc-c++ openssl-devel libcurl-devel libtidy-devel expat-devel | 9 | BuildRequires: expat-devel |
10 | BuildRequires: gcc-c++ | ||
11 | BuildRequires: libcurl-devel | ||
12 | BuildRequires: libtidy-devel | ||
13 | BuildRequires: openssl-devel | ||
10 | 14 | ||
11 | %description | 15 | %description |
12 | libopkele is a c++ implementation of an OpenID decentralized identity system. | 16 | libopkele is a c++ implementation of an OpenID decentralized identity system. |
13 | It provides OpenID protocol handling, leaving authentication and user | 17 | It provides OpenID protocol handling, leaving authentication and user |
@@ -17,25 +21,23 @@ interaction to the implementor. | |||
17 | %setup -q | 21 | %setup -q |
18 | 22 | ||
19 | %build | 23 | %build |
20 | %configure | 24 | %configure |
21 | |||
22 | make %{?_smp_mflags} | 25 | make %{?_smp_mflags} |
23 | 26 | ||
24 | %install | 27 | %install |
25 | rm -rf %{buildroot} | 28 | rm -rf %{buildroot} |
26 | %make_install | 29 | make install DESTDIR=%{buildroot} |
27 | 30 | ||
28 | %clean | 31 | %clean |
29 | rm -rf %{buildroot} | 32 | rm -rf %{buildroot} |
30 | 33 | ||
31 | %post | 34 | %post -p /sbin/ldconfig |
32 | ldconfig | ||
33 | 35 | ||
34 | %postun | 36 | %postun -p /sbin/ldconfig |
35 | ldconfig | ||
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 |
@@ -43,16 +45,17 @@ ldconfig | |||
43 | %{_libdir}/pkgconfig/libopkele.pc | 45 | %{_libdir}/pkgconfig/libopkele.pc |
44 | 46 | ||
45 | %package devel | 47 | %package devel |
46 | Summary: Development headers for libopkele | 48 | Summary: Development headers for libopkele |
47 | Requires: %{name} = %{version} | 49 | Requires: %{name}%{?_isa} = %{version}-%{release} |
48 | 50 | ||
49 | %description devel | 51 | %description devel |
50 | libopkele is a c++ implementation of an OpenID decentralized identity system. | 52 | libopkele is a c++ implementation of an OpenID decentralized identity system. |
51 | It provides OpenID protocol handling, leaving authentication and user | 53 | It provides OpenID protocol handling, leaving authentication and user |
52 | interaction to the implementor. | 54 | interaction 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 |