automatic version update by autodist [release 1.4.13-1mamba;Fri Apr 05 2013]
This commit is contained in:
parent
64d19d10ee
commit
91fca4cd93
@ -1,2 +1,4 @@
|
||||
# perl-Chipcard-PCSC
|
||||
|
||||
Chipcard::PCSC - Smart card reader interface library.
|
||||
|
||||
|
68
perl-Chipcard-PCSC.spec
Normal file
68
perl-Chipcard-PCSC.spec
Normal file
@ -0,0 +1,68 @@
|
||||
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
||||
|
||||
Name: perl-Chipcard-PCSC
|
||||
Version: 1.4.13
|
||||
Release: 1mamba
|
||||
Summary: Chipcard::PCSC - Smart card reader interface library
|
||||
Group: System/Libraries/Perl
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://ludovic.rousseau.free.fr/softwares/pcsc-perl
|
||||
Source: http://ludovic.rousseau.free.fr/softwares/pcsc-perl/pcsc-perl-%{version}.tar.bz2
|
||||
License: Artistic, GPL
|
||||
Requires: perl >= %perl_major_ver
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: perl-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: perl-devel >= %perl_major_ver
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
Chipcard::PCSC - Smart card reader interface library.
|
||||
|
||||
%prep
|
||||
|
||||
%setup -q -n pcsc-perl-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
|
||||
%make
|
||||
#% make test
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall_perl
|
||||
packlist=`find %{buildroot} -name .packlist`
|
||||
[ -z "$packlist" ] && exit 1 || cat $packlist | \
|
||||
sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \
|
||||
sort -u > .packlist && rm $packlist
|
||||
|
||||
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
|
||||
for dir in `find %{buildroot} -type d | grep $strid`; do
|
||||
echo "%dir ${dir#%buildroot}" >> .packlist
|
||||
done
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
rm -f .packlist
|
||||
|
||||
%files -f .packlist
|
||||
%defattr(-,root,root)
|
||||
|
||||
%changelog
|
||||
* Fri Apr 05 2013 Automatic Build System <autodist@mambasoft.it> 1.4.13-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Mon Nov 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.12-2mamba
|
||||
- perl 5.16 mass rebuild
|
||||
|
||||
* Fri Apr 15 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.12-1mamba
|
||||
- update to 1.4.12
|
||||
|
||||
* Fri Apr 15 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.10-1mamba
|
||||
- update to 1.4.10
|
||||
|
||||
* Thu Jan 28 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.7-1mamba
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user