b7f8540
Name:           cpanspec
a7f8717
Version:        1.69.1
2dafe96
Release:        1%{?dist}
b7f8540
Summary:        RPM spec file generation utility
b7f8540
License:        GPL or Artistic
b7f8540
Group:          Development/Tools
b7f8540
URL:            http://cpanspec.sourceforge.net/
b7f8540
Source0:        http://dl.sourceforge.net/cpanspec/cpanspec-%{version}.tar.gz
b7f8540
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
b7f8540
BuildArch:      noarch
b7f8540
BuildRequires:  perl(Module::Build)
b7f8540
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
18f48fb
Requires:       /usr/bin/wget
4c819ce
Requires:       /usr/bin/repoquery
b7f8540
b7f8540
%description
b7f8540
cpanspec generates spec files for Perl modules from CPAN for Fedora
b7f8540
Extras.  The quality of the spec file is our primary concern.  It is
b7f8540
assumed that maintainers will need to do some (hopefully small) amount
b7f8540
of work to clean up the generated spec file to make the package build
b7f8540
and to verify that all of the information contained in the spec file
b7f8540
is correct.
b7f8540
b7f8540
%prep
b7f8540
%setup -q
b7f8540
b7f8540
%build
b7f8540
perl Build.PL installdirs=vendor
b7f8540
./Build
b7f8540
b7f8540
%install
b7f8540
rm -rf $RPM_BUILD_ROOT
b7f8540
b7f8540
./Build install destdir=$RPM_BUILD_ROOT
b7f8540
b7f8540
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
b0402d4
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
b7f8540
2dafe96
%{_fixperms} $RPM_BUILD_ROOT/*
b7f8540
b7f8540
# No tests.
b7f8540
#%check
b7f8540
#./Build test
b7f8540
b7f8540
%clean
b7f8540
rm -rf $RPM_BUILD_ROOT
b7f8540
b7f8540
%files
b7f8540
%defattr(-,root,root,-)
d7bb496
%doc Artistic Changes COPYING BUGS TODO
b7f8540
%{_bindir}/*
b7f8540
%{_mandir}/man1/*
b7f8540
b7f8540
%changelog
a7f8717
* Mon Oct 16 2006 Steven Pritchard <steve@kspei.com> 1.69.1-1
a7f8717
- Update to 1.69.1.
a7f8717
2dafe96
* Tue Oct 03 2006 Steven Pritchard <steve@kspei.com> 1.69-1
2dafe96
- Update to 1.69.
2dafe96
- Use _fixperms macro instead of our own chmod incantation.
2dafe96
b0402d4
* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 1.68-2
b0402d4
- Fix find option order.
b0402d4
d7bb496
* Thu Jul 20 2006 Steven Pritchard <steve@kspei.com> 1.68-1
d7bb496
- Update to 1.68.
d7bb496
- Include Changes.
d7bb496
287f8fc
* Thu Jul 13 2006 Steven Pritchard <steve@kspei.com> 1.67-1
287f8fc
- Update to 1.67.
287f8fc
4c819ce
* Thu May 18 2006 Steven Pritchard <steve@kspei.com> 1.66-1
4c819ce
- Update to 1.66.
4c819ce
- Drop regex patch.
4c819ce
- cpanspec now uses repoquery.
4c819ce
4332c79
* Thu May 04 2006 Steven Pritchard <steve@kspei.com> 1.65-2
4332c79
- Add cpanspec-1.65-regex.patch (fix broken regex, from 1.66 CVS).
4332c79
18f48fb
* Wed Apr 26 2006 Steven Pritchard <steve@kspei.com> 1.65-1
18f48fb
- Update to 1.65.
18f48fb
- cpanget requires wget.
18f48fb
5795230
* Wed Mar 24 2006 Steven Pritchard <steve@kspei.com> 1.64-1
5795230
- Update to 1.64.
5795230
de7485f
* Wed Mar 24 2006 Steven Pritchard <steve@kspei.com> 1.63-1
de7485f
- Update to 1.63.
de7485f
5bac757
* Wed Mar 22 2006 Steven Pritchard <steve@kspei.com> 1.62-1
5bac757
- Update to 1.62.
5bac757
86101f7
* Sat Mar 11 2006 Steven Pritchard <steve@kspei.com> 1.61-1
86101f7
- Update to 1.61.
86101f7
af24b42
* Tue Mar 07 2006 Steven Pritchard <steve@kspei.com> 1.60-1
af24b42
- Update to 1.60.
af24b42
b7f8540
* Wed Feb 01 2006 Steven Pritchard <steve@kspei.com> 1.59-2
b7f8540
- URL/Source0 on SourceForge.
b7f8540
- Use a more appropriate Group.
b7f8540
b7f8540
* Tue Sep 20 2005 Steven Pritchard <steve@kspei.com> 1.59-1
b7f8540
- Update to 1.59.
b7f8540
b7f8540
* Mon Sep 19 2005 Steven Pritchard <steve@kspei.com> 1.58-1
b7f8540
- Update to 1.58.
b7f8540
- Comment out bogus URL and Source0 URL.
b7f8540
b7f8540
* Fri Sep 16 2005 Steven Pritchard <steve@kspei.com> 1.55-1
b7f8540
- Update to 1.55.
b7f8540
- Include man page.
b7f8540
- Drop explicit module dependencies.  (rpmbuild will figure it out.)
b7f8540
b7f8540
* Fri Sep 16 2005 Steven Pritchard <steve@kspei.com> 1.54-1
b7f8540
- Update to 1.54.
b7f8540
b7f8540
* Mon Sep 05 2005 Steven Pritchard <steve@kspei.com> 1.49-1
b7f8540
- Update to 1.49.
b7f8540
- Remove unneeded BuildRequires (no tests).
b7f8540
- Remove explicit core module requirements.
b7f8540
b7f8540
* Sat Sep 03 2005 Steven Pritchard <steve@kspei.com> 1.46-1
b7f8540
- Initial rpm release.