]> git.pld-linux.org Git - packages/perl-PGP-Sign.git/commitdiff
- initial release perl-PGP-Sign-0_14-3
authorpius <pius@pld-linux.org>
Fri, 5 Nov 1999 17:03:41 +0000 (17:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-PGP-Sign.spec -> 1.1

perl-PGP-Sign.spec [new file with mode: 0644]

diff --git a/perl-PGP-Sign.spec b/perl-PGP-Sign.spec
new file mode 100644 (file)
index 0000000..b07eec8
--- /dev/null
@@ -0,0 +1,65 @@
+%include       /usr/lib/rpm/macros.perl
+Summary:       PGP-Sign perl module
+Summary(pl):   Modu³ perla PGP-Sign
+Name:          perl-PGP-Sign
+Version:       0.14
+Release:       3
+Copyright:     GPL
+Group:         Development/Languages/Perl
+Group(pl):     Programowanie/Jêzyki/Perl
+Source:                ftp://ftp.perl.org/pub/CPAN/modules/by-module/PGP/PGP-Sign-%{version}.tar.gz
+Patch:         perl-PGP-Sign-makefile.patch
+BuildRequires: rpm-perlprov >= 3.0.3-16
+BuildRequires: perl >= 5.005_03-14
+BuildRequires: gnupg
+%requires_eq   perl
+Requires:      %{perl_sitearch}
+Requires:      gnupg
+BuildRoot:     /tmp/%{name}-%{version}-root
+
+%description
+PGP-Sign - generates detached PGP signatures for data.
+
+This package was built for using with GnuPG. If you want to use it with
+PGP, you need to modify 'Global variables' section in the PGP/Sign.pm file.
+
+%description -l pl
+PGP-Sign - generuje oddzielne sygnatury PGP dla danych.
+
+Ten pakiet zosta³ zbudowany do u¿ycia z GnuPG. Je¶li chcesz u¿ywaæ go
+z PGP, musisz zmodyfikowaæ sekcjê 'Global variables' w pliku PGP/Sign.pm.
+
+%prep
+%setup -q -n PGP-Sign-%{version}
+%patch -p0
+
+%build
+perl Makefile.PL \
+       PGP=/usr/bin/gpg \
+       PGPSTYLE=GPG
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+(
+  cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/PGP/Sign
+  sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
+  mv .packlist.new .packlist
+)
+
+gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
+        ChangeLog README TODO
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc {ChangeLog,README,TODO}.gz
+
+%{perl_sitelib}/PGP/Sign.pm
+%{perl_sitearch}/auto/PGP/Sign
+
+%{_mandir}/man3/*
This page took 0.081428 seconds and 4 git commands to generate.