Clean up the spec file for modern rpmbuild
This commit is contained in:
parent
b840e4ee64
commit
80e56fd3d9
@ -11,7 +11,6 @@ Group: System Environment/Libraries
|
|||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://pcsclite.alioth.debian.org/ccid.html
|
URL: http://pcsclite.alioth.debian.org/ccid.html
|
||||||
Source0: http://alioth.debian.org/download.php/%{upstream_build}/ccid-%{version}.tar.bz2
|
Source0: http://alioth.debian.org/download.php/%{upstream_build}/ccid-%{version}.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
BuildRequires: libusb1-devel
|
BuildRequires: libusb1-devel
|
||||||
BuildRequires: pcsc-lite-devel >= %{pcsc_lite_ver}
|
BuildRequires: pcsc-lite-devel >= %{pcsc_lite_ver}
|
||||||
@ -38,15 +37,10 @@ make %{?_smp_mflags}
|
|||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
cp -p src/openct/LICENSE LICENSE.openct
|
cp -p src/openct/LICENSE LICENSE.openct
|
||||||
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
[ -x %{_initrddir}/pcscd ] && %{_initrddir}/pcscd status >> /dev/null 2>&1 && %{_sbindir}/pcscd -H > /dev/null 2>&1
|
[ -x %{_initrddir}/pcscd ] && %{_initrddir}/pcscd status >> /dev/null 2>&1 && %{_sbindir}/pcscd -H > /dev/null 2>&1
|
||||||
exit 0
|
exit 0
|
||||||
@ -57,7 +51,6 @@ exit 0
|
|||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc AUTHORS ChangeLog COPYING LICENSE.openct README
|
%doc AUTHORS ChangeLog COPYING LICENSE.openct README
|
||||||
%{dropdir}/ifd-ccid.bundle/
|
%{dropdir}/ifd-ccid.bundle/
|
||||||
%{dropdir}/serial/
|
%{dropdir}/serial/
|
||||||
@ -67,6 +60,7 @@ exit 0
|
|||||||
%changelog
|
%changelog
|
||||||
* Fri May 27 2011 Kalev Lember <kalev@smartlink.ee> - 1.4.4-1
|
* Fri May 27 2011 Kalev Lember <kalev@smartlink.ee> - 1.4.4-1
|
||||||
- Update to 1.4.4
|
- Update to 1.4.4
|
||||||
|
- Clean up the spec file for modern rpmbuild
|
||||||
|
|
||||||
* Sat Apr 02 2011 Kalev Lember <kalev@smartlink.ee> - 1.4.3-1
|
* Sat Apr 02 2011 Kalev Lember <kalev@smartlink.ee> - 1.4.3-1
|
||||||
- Update to 1.4.3
|
- Update to 1.4.3
|
||||||
|
Loading…
Reference in New Issue
Block a user