]> git.pld-linux.org Git - packages/perl-Text-German.git/commitdiff
- initial release
authorpius <pius@pld-linux.org>
Wed, 20 Oct 1999 19:46:47 +0000 (19:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Text-German.spec -> 1.1

perl-Text-German.spec [new file with mode: 0644]

diff --git a/perl-Text-German.spec b/perl-Text-German.spec
new file mode 100644 (file)
index 0000000..f3b6e6c
--- /dev/null
@@ -0,0 +1,53 @@
+%define                perl_sitelib    %(eval "`perl -V:installsitelib`"; echo $installsitelib)
+Summary:       Text-German perl module
+Summary(pl):   Modu³ perla Text-German
+Name:          perl-Text-German
+Version:       0.03
+Release:       3
+Copyright:     GPL
+Group:         Development/Languages/Perl
+Group(pl):     Programowanie/Jêzyki/Perl
+Source:                ftp://ftp.perl.org/pub/CPAN/modules/by-module/Text/Text-German-%{version}.tar.gz
+BuildRequires: perl >= 5.005_03-10
+%requires_eq   perl
+Requires:      %{perl_sitearch}
+BuildRoot:     /tmp/%{name}-%{version}-root
+
+%description
+Text-German perl module. 
+
+%description -l pl
+Modu³ perla Text-German.
+
+%prep
+%setup -q -n Text-German-%{version}
+
+%build
+perl Makefile.PL
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+(
+  cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/Text/German
+  sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
+  mv .packlist.new .packlist
+)
+
+gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
+        README
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.gz
+
+%{perl_sitelib}/Text/German.pm
+%{perl_sitelib}/Text/German
+%{perl_sitearch}/auto/Text/German
+
+%{_mandir}/man3/*
This page took 0.024472 seconds and 4 git commands to generate.