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