From 82bcb00319445a6897b7ad181601c0ac0adbe0d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <s...@fedoraproject.org>
Date: Fri, 7 Jan 2005 20:15:46 +0000
Subject: auto-import pcsc-perl-1.3.1-4 on branch devel from    
 pcsc-perl-1.3.1-4.src.rpm

---
 .cvsignore     |   1 +
 pcsc-perl.spec | 100 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources        |   1 +
 3 files changed, 102 insertions(+)
 create mode 100644 pcsc-perl.spec

diff --git a/.cvsignore b/.cvsignore
index e69de29..cb36d45 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -0,0 +1 @@
+pcsc-perl-1.3.1.tar.gz
diff --git a/pcsc-perl.spec b/pcsc-perl.spec
new file mode 100644
index 0000000..b4f1559
--- /dev/null
+++ b/pcsc-perl.spec
@@ -0,0 +1,100 @@
+%define pcscver %(rpm -q --qf %%{epoch}:%%{version} pcsc-lite-libs)
+%{!?perl_vendorarch: %define perl_vendorarch %(eval "`%{__perl} 
-V:installvendorarch`"; echo $installvendorarch)}
+
+Name:           pcsc-perl
+Version:        1.3.1
+Release:        4
+Epoch:          0
+Summary:        Perl interface to the PC/SC smart card library
+
+Group:          Development/Libraries
+License:        GPL
+URL:            http://ludovic.rousseau.free.fr/softwares/pcsc-perl/
+Source0:        
http://ludovic.rousseau.free.fr/softwares/pcsc-perl/pcsc-perl-1.3.1.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires:  perl >= 1:5.6.1, pcsc-lite-devel
+Requires:       pcsc-lite-libs = %{pcscver}
+Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+This package contains a Perl interface to the PC/SC smart card
+library.
+
+
+%prep
+%setup -q
+chmod 644 examples/* # avoid dependencies
+
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor INC= \
+  DEFINE=-Wall
+make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
+find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
+find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
+chmod -R u+w $RPM_BUILD_ROOT/*
+
+
+%check || :
+# skipping tests
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc Changelog LICENCE README examples
+%{perl_vendorarch}/auto/Chipcard
+%{perl_vendorarch}/Chipcard
+%{_mandir}/man3/*.3*
+
+
+%changelog
+* Fri Jan  7 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:1.3.1-4
+- Honor $RPM_OPT_FLAGS, remove (some) extra include dirs from build (#1281).
+- Improve summary and description.
+
+* Wed May 12 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.3.1-0.fdr.3
+- BuildRequire perl >= 1:5.6.1 for vendor install dir support.
+- Use pure_install to avoid perllocal.pod workarounds.
+
+* Sun Apr 25 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.3.1-0.fdr.2
+- Require perl(:MODULE_COMPAT_*).
+
+* Fri Apr  2 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.3.1-0.fdr.1
+- Update to 1.3.1.
+
+* Sun Feb  8 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.3.0-0.fdr.2
+- Reduce directory ownership bloat.
+
+* Wed Dec 17 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.3.0-0.fdr.1
+- Update to 1.3.0.
+
+* Sun Sep 14 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.2.2-0.fdr.4
+- More spec cleanups.
+
+* Wed Aug 27 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.2.2-0.fdr.3
+- Spec cleanups, install into vendor dirs.
+
+* Fri Jul  4 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.2.2-0.fdr.2
+- Fix dir ownerships, non-root strip during build.
+
+* Thu May 29 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.2.2-0.fdr.1
+- Update to 1.2.2.
+- Drop patch and hacks, already applied/fixed upstream.
+
+* Sun May 25 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.2.1-0.fdr.1
+- Update to 1.2.1.
+- Fix build and runtime dependencies.
+
+* Thu May 22 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.2.0-0.fdr.1
+- First build.
diff --git a/sources b/sources
index e69de29..da791e6 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+4c1869b5b726f7ab5b1bda88b390c821  pcsc-perl-1.3.1.tar.gz
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/pcsc-perl.git/commit/?h=el6&id=82bcb00319445a6897b7ad181601c0ac0adbe0d3
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to