|
@@ -1,15 +1,20 @@
|
|
|
|
+%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
|
|
+
|
|
%define vermajor 1
|
|
%define vermajor 1
|
|
-%define version %{vermajor}.2
|
|
+%define verminor 5.9
|
|
|
|
+%define version %{vermajor}.%{verminor}
|
|
|
|
+%define libapivermajor 1
|
|
|
|
+%define libapiversion %{libapivermajor}.5
|
|
|
|
+
|
|
%define libdir /%{_lib}
|
|
%define libdir /%{_lib}
|
|
%define usrlibdir %{_prefix}/%{_lib}
|
|
%define usrlibdir %{_prefix}/%{_lib}
|
|
-%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
|
|
|
|
|
|
Summary: Linux Key Management Utilities
|
|
Summary: Linux Key Management Utilities
|
|
Summary(ja): Linux 鍵管理ユーティリティ
|
|
Summary(ja): Linux 鍵管理ユーティリティ
|
|
Name: keyutils
|
|
Name: keyutils
|
|
Version: %{version}
|
|
Version: %{version}
|
|
-Release: 4%{?_dist_release}
|
|
+Release: 1%{?_dist_release}
|
|
-License: GPL/LGPL
|
|
+License: GPLv2+ and LGPLv2+
|
|
Group: System Environment/Base
|
|
Group: System Environment/Base
|
|
ExclusiveOS: Linux
|
|
ExclusiveOS: Linux
|
|
URL: http://people.redhat.com/~dhowells/keyutils/
|
|
URL: http://people.redhat.com/~dhowells/keyutils/
|
|
@@ -18,6 +23,10 @@ Source0: http://people.redhat.com/~dhowells/keyutils/keyutils-%{version}.tar.bz2
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRequires: glibc-kernheaders >= 2.4-9.1.92
|
|
BuildRequires: glibc-kernheaders >= 2.4-9.1.92
|
|
|
|
+Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
+
|
|
|
|
+Distribution: Vine Linux
|
|
|
|
+Vendor: Project Vine
|
|
|
|
|
|
%description
|
|
%description
|
|
Utilities to control the kernel key management facility and to provide
|
|
Utilities to control the kernel key management facility and to provide
|
|
@@ -70,9 +79,11 @@ make \
|
|
NO_ARLIB=1 \
|
|
NO_ARLIB=1 \
|
|
LIBDIR=%{libdir} \
|
|
LIBDIR=%{libdir} \
|
|
USRLIBDIR=%{usrlibdir} \
|
|
USRLIBDIR=%{usrlibdir} \
|
|
|
|
+ BINDIR=%{_bindir} \
|
|
|
|
+ SBINDIR=%{_sbindir} \
|
|
RELEASE=.%{release} \
|
|
RELEASE=.%{release} \
|
|
NO_GLIBC_KEYERR=1 \
|
|
NO_GLIBC_KEYERR=1 \
|
|
- CFLAGS="-Wall $RPM_OPT_FLAGS"
|
|
+ CFLAGS="-Wall $RPM_OPT_FLAGS -Werror"
|
|
|
|
|
|
%install
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
@@ -81,6 +92,8 @@ make \
|
|
DESTDIR=$RPM_BUILD_ROOT \
|
|
DESTDIR=$RPM_BUILD_ROOT \
|
|
LIBDIR=%{libdir} \
|
|
LIBDIR=%{libdir} \
|
|
USRLIBDIR=%{usrlibdir} \
|
|
USRLIBDIR=%{usrlibdir} \
|
|
|
|
+ BINDIR=%{_bindir} \
|
|
|
|
+ SBINDIR=%{_sbindir} \
|
|
install
|
|
install
|
|
|
|
|
|
%clean
|
|
%clean
|
|
@@ -89,25 +102,29 @@ rm -rf $RPM_BUILD_ROOT
|
|
%post libs -p /sbin/ldconfig
|
|
%post libs -p /sbin/ldconfig
|
|
%postun libs -p /sbin/ldconfig
|
|
%postun libs -p /sbin/ldconfig
|
|
|
|
|
|
|
|
+%if %{build_compat32}
|
|
%post -n compat32-%{name}-libs -p /sbin/ldconfig
|
|
%post -n compat32-%{name}-libs -p /sbin/ldconfig
|
|
%postun -n compat32-%{name}-libs -p /sbin/ldconfig
|
|
%postun -n compat32-%{name}-libs -p /sbin/ldconfig
|
|
|
|
|
|
|
|
+%endif
|
|
|
|
+
|
|
%files
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
%doc README LICENCE.GPL
|
|
%doc README LICENCE.GPL
|
|
-/sbin/*
|
|
+%{_sbindir}/*
|
|
-/bin/*
|
|
+%{_bindir}/*
|
|
-/usr/share/keyutils
|
|
+%{_datadir}/keyutils
|
|
%{_mandir}/man1/*
|
|
%{_mandir}/man1/*
|
|
%{_mandir}/man5/*
|
|
%{_mandir}/man5/*
|
|
%{_mandir}/man8/*
|
|
%{_mandir}/man8/*
|
|
-%config(noreplace) /etc/*
|
|
+%config(noreplace) %{_sysconfdir}/*
|
|
|
|
|
|
%files libs
|
|
%files libs
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
%doc LICENCE.LGPL
|
|
%doc LICENCE.LGPL
|
|
-%{libdir}/libkeyutils-%{version}.so
|
|
+%{_mandir}/man7/*
|
|
-%{libdir}/libkeyutils.so.%{vermajor}
|
|
+%{libdir}/libkeyutils.so.%{libapiversion}
|
|
|
|
+%{libdir}/libkeyutils.so.%{libapivermajor}
|
|
|
|
|
|
%files libs-devel
|
|
%files libs-devel
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
@@ -119,8 +136,8 @@ rm -rf $RPM_BUILD_ROOT
|
|
%if %{build_compat32}
|
|
%if %{build_compat32}
|
|
%files -n compat32-%{name}-libs
|
|
%files -n compat32-%{name}-libs
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
-%{libdir}/libkeyutils-%{version}.so
|
|
+%{libdir}/libkeyutils.so.%{libapiversion}
|
|
-%{libdir}/libkeyutils.so.%{vermajor}
|
|
+%{libdir}/libkeyutils.so.%{libapivermajor}
|
|
|
|
|
|
%files -n compat32-%{name}-libs-devel
|
|
%files -n compat32-%{name}-libs-devel
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
@@ -128,6 +145,10 @@ rm -rf $RPM_BUILD_ROOT
|
|
%endif
|
|
%endif
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Mon Dec 22 2014 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5.9-1
|
|
|
|
+- updated to 1.5.9
|
|
|
|
+- rebuilt on current VineSeed
|
|
|
|
+
|
|
* Thu Mar 24 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2-4
|
|
* Thu Mar 24 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2-4
|
|
- rebuilt with new toolchains
|
|
- rebuilt with new toolchains
|
|
|
|
|