Logoj0ke.net Open Build Service > Projects > multimedia > libpki > Changes
Sign Up | Log In

Changes of Revision 3

[-] Changed libpki.spec
x
 
1
@@ -7,6 +7,7 @@
2
 Group:     Development/Librarys
3
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
4
 Source:        http://ftp.openca.org/libpki/releases/v%{version}/sources/%{name}-%{version}.tar.gz
5
+Patch0:        %{name}-configure.in.patch
6
 BuildRequires: openssl-devel libxml2-devel mysql-devel postgresql-devel
7
 
8
 %if 0%{?suse_version}
9
@@ -20,10 +21,26 @@
10
 %description
11
 The LibPKI Project is aimed to provide an easy-to-use PKI library for PKI enabled application development. The library provides the developer with all the needed functionalities to manage certificates, from generation to validation. The LibPKI Project enables developers with the possibility to implement complex cryptographic operations with a few simple function calls by implementing an high-level cryptographic API. 
12
 
13
+
14
+%package devel
15
+Group:     Development/Librarys
16
+Summary:   LibPKI development headers and librarys
17
+
18
+%description devel
19
+LibPKI development headers and librarys
20
+
21
 %prep
22
 
23
 %setup -n %{name}-%{version}
24
-%configure
25
+%ifarch x86_64
26
+%patch0
27
+autoreconf -fi
28
+%endif
29
+./configure --prefix=%{_prefix} \
30
+   --sysconfdir=%{_sysconfdir} \
31
+   --mandir=%{_mandir} \
32
+   --datadir=%{_datadir} \
33
+   --localstatedir=%{_localstatedir}
34
 
35
 %build
36
 %__make 
37
@@ -38,3 +55,17 @@
38
 %files
39
 %defattr(-,root,root)
40
 %doc README* COPYING ChangeLog AUTHORS
41
+%{_sysconfdir}/%{name}
42
+%{_libdir}/libpki-%{version}.so.*
43
+%{_localstatedir}/%{name}
44
+
45
+%files devel
46
+%defattr(-,root,root)
47
+%{_bindir}libpki-config
48
+%{_includedir}/%{name}
49
+%{_libdir}/libpki.*
50
+%{_libdir}/pkgconfig/%{name}.pc
51
+
52
+%changelog
53
+* Mon Nov 10 2008 Carsten Schoene <cs@linux-administrator.com>
54
+- initial build
55
[+] Added libpki-configure.in.patch ^