]> git.pld-linux.org Git - packages/cpan2rpm.git/commitdiff
- spec adapterized
authorlukasz <lukasz@pld-linux.org>
Wed, 17 Apr 2002 11:46:07 +0000 (11:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- fixed setup
- first release for PLD

Changed files:
    cpan2rpm.spec -> 1.1

cpan2rpm.spec [new file with mode: 0644]

diff --git a/cpan2rpm.spec b/cpan2rpm.spec
new file mode 100644 (file)
index 0000000..eb26a97
--- /dev/null
@@ -0,0 +1,30 @@
+Summary:       Create RPMS from CPAN modules
+Name:          cpan2rpm
+Version:       1.2
+Release:       1
+License:       GPL/Artistic
+Group:          Development/Languages/Perl
+Source0:       %{name}-%{version}.tar.gz
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+cpan2rpm creates RPMs from CPAN packages, automating the locating,
+fetching, spec file creation and building of the package.
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+%{__make}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} DESTDIR=$RPM_BUILD_ROOT install
+%{_libdir}/rpm/brp-compress
+find $RPM_BUILD_ROOT/ -type f -print | sed "s@^$RPM_BUILD_ROOT@@g" > %{name}-filelist
+
+%files -f %{name}-filelist
+%defattr(644,root,root,755)
This page took 0.074892 seconds and 4 git commands to generate.