]> git.pld-linux.org Git - packages/pldcpan.git/blob - pldcpan.spec
- package it, so one doesn't have to manually think of it dependencies
[packages/pldcpan.git] / pldcpan.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        PLD Linux script to create RPMS from CPAN modules
3 Name:           pldcpan
4 Version:        1.23
5 Release:        0.1
6 Epoch:          0
7 License:        GPL
8 Group:          Development/Languages/Perl
9 Source0:        %{name}.pl
10 BuildArch:      noarch
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 pldcpan creates RPMs from CPAN archives, automating the locating, spec
15 file creation.
16
17 %prep
18 %setup -q -c -T
19 install %{SOURCE0} .
20
21 %install
22 rm -rf $RPM_BUILD_ROOT
23 install -d $RPM_BUILD_ROOT%{_bindir}
24
25 install pldcpan.pl $RPM_BUILD_ROOT%{_bindir}/pldcpan
26
27 %clean
28 rm -rf $RPM_BUILD_ROOT
29
30 %files
31 %defattr(644,root,root,755)
32 %attr(755,root,root) %{_bindir}/pldcpan
This page took 0.103989 seconds and 3 git commands to generate.