Search
j0ke.net Open Build Service
>
Projects
>
multimedia
>
libpki
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 9
[-]
[+]
Changed
libpki.spec
@@ -1,13 +1,18 @@ #!BuildIgnore: post-build-checks -Name: libpki +%define lib libpki +%define ver 0_1_9 +%define major 0 +%define libname %{lib}-%{ver}-%{major} + +Name: %{libname} Version: 0.1.9 Release: 1 Url: https://www.openca.org/projects/libpki/ -Summary: easy-to-use PKI library +Summary: Easy-to-use PKI library License: GPL Group: Development/Librarys BuildRoot: %{_tmppath}/%{name}-%{version}-root -Source: http://ftp.openca.org/libpki/releases/v%{version}/sources/%{name}-%{version}.tar.gz +Source: http://ftp.openca.org/libpki/releases/v%{version}/sources/%{name}-%{version}.tar.bz2 Patch0: %{name}-configure.in.patch Patch1: %{name}-configure.patch Patch2: %{name}-global.patch @@ -35,7 +40,7 @@ %prep -%setup -n %{name}-%{version} +%setup -n %{lib}-%{version} %ifarch x86_64 %patch0 autoreconf -fi @@ -55,15 +60,19 @@ %install -%__make DESTDIR=%{buildroot} install +%__make DESTDIR=%{buildroot} install-strip %clean rm -rf %{buildroot} +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + %files %defattr(-,root,root) %doc README* COPYING ChangeLog AUTHORS -%{_sysconfdir}/%{name} +%config %{_sysconfdir}/%{name} %{_libdir}/libpki-%{version}.so.* %{_datadir}/%{name}
Renamed
libpki-0.1.9.tar.bz2
^