]> git.pld-linux.org Git - packages/psh.git/blobdiff - psh.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/psh.git] / psh.spec
index 478396c29acc914098208984d827d34c43327655..fc43c61815fd957d428a808ca6c7c34e9cc4ffc5 100644 (file)
--- a/psh.spec
+++ b/psh.spec
@@ -1,50 +1,55 @@
-%include       /usr/lib/rpm/macros.perl
 Summary:       Perl Shell
-Summary(pl):   Perl Shell
+Summary(pl.UTF-8):     Powłoka Perla
 Name:          psh
-Version:       0.010pre1
-Release:       1
-License:       Artistic License
+Version:       1.0
+Release:       3
+License:       Artistic
 Group:         Applications/Shells
-Source0:       ftp://ftp.sourceforge.net/pub/sourceforge/psh/%{name}-%{version}.tar.gz
+Source0:       http://dl.sourceforge.net/psh/%{name}-%{version}.tar.gz
+# Source0-md5: 73ada6747732c9abdfec2d6ad5c477c6
+Patch0:                %{name}-dirty_Makefile.patch
 URL:           http://sourceforge.net/projects/psh/
-BuildRequires: perl >= 5.6.0
-BuildRequires: rpm-perlprov >= 4.0.2-24
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+Provides:      perl(Psh::StrategyBunch)
+BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _noautoreq      "perl(import)"
+%define                _noautoreq      'perl(import)'
 
 %description
 The Perl Shell (psh) combines aspects of bash and other shells with
 the power of Perl scripting. As author says: "It aspirate to be Your
 primary login shell"
 
-%description -l pl
-Perl shell (psh) jest pow³ok± która ³±czy w sobie mo¿liwo¶ci Bash'a i
-innych pow³ok z mo¿liwo¶ciami Perla. Autor twierdzi, ¿e pow³oka ta
-mo¿e aspirowaæ do bycia podstawow± pow³ok± pracy.
+%description -l pl.UTF-8
+Powłoka Perla (psh) łączy w sobie możliwości basha i innych powłok z
+możliwościami Perla. Autor twierdzi, że powłoka ta może aspirować do
+bycia podstawową powłoką pracy.
 
 %prep
 %setup -q
+%patch0 -p0
 
 %build
-perl Makefile.PL
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-gzip -9nf CHANGES.pod COPYRIGHT README* TODO HACKING RELEASE
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc *.gz
+%doc CHANGES.pod COPYRIGHT INSTALL README* TODO HACKING RELEASE postinstall.pl
 %attr(755,root,root) %{_bindir}/psh
-%{perl_sitelib}/Psh.pm
-%{perl_sitelib}/Psh
+%{perl_vendorlib}/Psh.pm
+%{perl_vendorlib}/Psh
 %{_mandir}/man1/*
 %{_mandir}/man3/*
This page took 0.071989 seconds and 4 git commands to generate.