diff --git a/.cvsignore b/.cvsignore index e69de29..deeccb8 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +BSD-Resource-1.14.tar.gz diff --git a/perl-BSD-Resource.spec b/perl-BSD-Resource.spec new file mode 100644 index 0000000..c2fa8a6 --- /dev/null +++ b/perl-BSD-Resource.spec @@ -0,0 +1,49 @@ +Name: perl-BSD-Resource +Version: 1.14 +Release: 10 +Packager: cturner@redhat.com +Summary: BSD-Resource Perl module +License: distributable +Group: Development/Libraries +URL: http://search.cpan.org/search?mode=module&query=BSD%3a%3aResource +BuildRoot: %{_tmppath}/%{name}-root +BuildRequires: perl >= 0:5.00503 +Source0: BSD-Resource-1.14.tar.gz + +%description +BSD-Resource Perl module +%prep +%setup -q -n BSD-Resource-%{version} + +%build +CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL +make + + +%clean +rm -rf $RPM_BUILD_ROOT +%install + +rm -rf $RPM_BUILD_ROOT +eval `perl '-V:installarchlib'` +mkdir -p $RPM_BUILD_ROOT/$installarchlib +make PREFIX=$RPM_BUILD_ROOT/usr install + +[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress + +find $RPM_BUILD_ROOT/usr -type f -print | \ + sed "s@^$RPM_BUILD_ROOT@@g" | \ + grep -v perllocal.pod | \ + grep -v "\.packlist" > BSD-Resource-1.14-filelist +if [ "$(cat BSD-Resource-1.14-filelist)X" = "X" ] ; then + echo "ERROR: EMPTY FILE LIST" + exit -1 +fi + +%files -f BSD-Resource-1.14-filelist +%defattr(-,root,root) + +%changelog +* Wed Jan 30 2002 cturner@redhat.com +- Specfile autogenerated + diff --git a/sources b/sources index e69de29..d46bef5 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +b71c452b44e4d998904519b349fd8baa BSD-Resource-1.14.tar.gz