]> git.pld-linux.org Git - packages/psh.git/blob - psh.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/psh.git] / psh.spec
1 Summary:        Perl Shell
2 Summary(pl.UTF-8):      Powłoka Perla
3 Name:           psh
4 Version:        1.0
5 Release:        3
6 License:        Artistic
7 Group:          Applications/Shells
8 Source0:        http://dl.sourceforge.net/psh/%{name}-%{version}.tar.gz
9 # Source0-md5:  73ada6747732c9abdfec2d6ad5c477c6
10 Patch0:         %{name}-dirty_Makefile.patch
11 URL:            http://sourceforge.net/projects/psh/
12 BuildRequires:  perl-devel >= 1:5.8.0
13 BuildRequires:  rpm-perlprov >= 4.1-13
14 Provides:       perl(Psh::StrategyBunch)
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         _noautoreq      'perl(import)'
19
20 %description
21 The Perl Shell (psh) combines aspects of bash and other shells with
22 the power of Perl scripting. As author says: "It aspirate to be Your
23 primary login shell"
24
25 %description -l pl.UTF-8
26 Powłoka Perla (psh) łączy w sobie możliwości basha i innych powłok z
27 możliwościami Perla. Autor twierdzi, że powłoka ta może aspirować do
28 bycia podstawową powłoką pracy.
29
30 %prep
31 %setup -q
32 %patch0 -p0
33
34 %build
35 %{__perl} Makefile.PL \
36         INSTALLDIRS=vendor
37 %{__make}
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41
42 %{__make} install \
43         DESTDIR=$RPM_BUILD_ROOT
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc CHANGES.pod COPYRIGHT INSTALL README* TODO HACKING RELEASE postinstall.pl
51 %attr(755,root,root) %{_bindir}/psh
52 %{perl_vendorlib}/Psh.pm
53 %{perl_vendorlib}/Psh
54 %{_mandir}/man1/*
55 %{_mandir}/man3/*
This page took 0.074252 seconds and 3 git commands to generate.