]> git.pld-linux.org Git - packages/perl-PGP-Sign.git/blobdiff - perl-PGP-Sign.spec
automatic: Source location unfied, Relase Up
[packages/perl-PGP-Sign.git] / perl-PGP-Sign.spec
index 41ed48b5673841c776e7cfb5b148ebcd116c9d0d..3c8c6e49eeba77b2a7ad5f311013e17d6b07fa95 100644 (file)
@@ -1,63 +1,71 @@
+%define        pdir    PGP
+%define        pnam    Sign
 %include       /usr/lib/rpm/macros.perl
 Summary:       PGP-Sign perl module
 Summary(pl):   Modu³ perla PGP-Sign
 Name:          perl-PGP-Sign
 Version:       0.16
-Release:       1
+Release:       6
+
 License:       GPL
 Group:         Development/Languages/Perl
+Group(cs):     Vývojové prostøedky/Programovací jazyky/Perl
+Group(da):     Udvikling/Sprog/Perl
+Group(de):     Entwicklung/Sprachen/Perl
+Group(es):     Desarrollo/Lenguajes/Perl
+Group(fr):     Development/Langues/Perl
+Group(is):     Þróunartól/Forritunarmál/Perl
+Group(it):     Sviluppo/Linguaggi/Perl
+Group(ja):     ³«È¯/¸À¸ì/Perl
+Group(no):     Utvikling/Programmeringsspråk/Perl
 Group(pl):     Programowanie/Jêzyki/Perl
-Source:                ftp://ftp.perl.org/pub/CPAN/modules/by-module/PGP/PGP-Sign-%{version}.tar.gz
+Group(pt):     Desenvolvimento/Linguagens/Perl
+Group(ru):     òÁÚÒÁÂÏÔËÁ/ñÚÙËÉ/Perl
+Group(sl):     Razvoj/Jeziki/Perl
+Group(sv):     Utveckling/Språk/Perl
+Source0:       ftp://ftp.perl.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 BuildRequires: rpm-perlprov >= 3.0.3-16
-BuildRequires: perl >= 5.005_03-14
+BuildRequires: perl-devel >= 5.6.1
 BuildRequires: gnupg
-%requires_eq   perl
-Requires:      %{perl_sitearch}
 Requires:      gnupg
-BuildRoot:     /tmp/%{name}-%{version}-root
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %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.
+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.
+z PGP, musisz zmodyfikowaæ sekcjê 'Global variables' w pliku
+PGP/Sign.pm.
 
 %prep
 %setup -q -n PGP-Sign-%{version}
 
 %build
 perl Makefile.PL \
-       PGP=/usr/bin/gpg \
+       PGP=%{_bindir}/gpg \
        PGPSTYLE=GPG
-make
+%{__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
-)
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
-        ChangeLog README TODO
+gzip -9nf ChangeLog README TODO
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc {ChangeLog,README,TODO}.gz
-
+%doc *.gz
 %{perl_sitelib}/PGP/Sign.pm
-%{perl_sitearch}/auto/PGP/Sign
-
 %{_mandir}/man3/*
This page took 0.074034 seconds and 4 git commands to generate.