b7f8540
Name:           cpanspec
64efba2
Version:        1.78
1d769ae
Release:        4%{?dist}
b7f8540
Summary:        RPM spec file generation utility
6a7637a
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))
9d6c672
Requires:       /usr/bin/curl
4c819ce
Requires:       /usr/bin/repoquery
39947e6
Requires:       rpm-build
b7f8540
b7f8540
%description
9d6c672
cpanspec generates spec files (and, optionally, source or even binary
9d6c672
packages) for Perl modules from CPAN for Fedora.  The quality of the spec
9d6c672
file is our primary concern.  It is assumed that maintainers will need to
9d6c672
do some (hopefully small) amount of work to clean up the generated spec
9d6c672
file to make the package build and to verify that all of the information
9d6c672
contained in the spec file is correct.
b7f8540
b7f8540
%prep
b7f8540
%setup -q
b7f8540
b7f8540
%build
daa0a82
%{__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,-)
daa0a82
%doc Artistic BUGS Changes COPYING TODO
b7f8540
%{_bindir}/*
b7f8540
%{_mandir}/man1/*
b7f8540
b7f8540
%changelog
1d769ae
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 1.78-4
1d769ae
- rebuild against perl 5.10.1
1d769ae
3c5166d
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.78-3
3c5166d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
3c5166d
df57bb0
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.78-2
df57bb0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
df57bb0
64efba2
* Fri Jan 16 2009 Steven Pritchard <steve@kspei.com> 1.78-1
64efba2
- Update to 1.78.
64efba2
6c408b1
* Mon Jun 16 2008 Steven Pritchard <steve@kspei.com> 1.77-1
6c408b1
- Update to 1.77.
6c408b1
a5fe89d
* Mon Jun 16 2008 Steven Pritchard <steve@kspei.com> 1.76-1
a5fe89d
- Update to 1.76.
a5fe89d
39947e6
* Thu Jun 12 2008 Steven Pritchard <steve@kspei.com> 1.75-2
39947e6
- Require rpm-build.
39947e6
9d6c672
* Mon May 05 2008 Steven Pritchard <steve@kspei.com> 1.75-1
9d6c672
- Update to 1.75 (which really fixes BZ#437804).
9d6c672
- Require curl instead of wget (BZ#438245).
9d6c672
- Update description.
9d6c672
4380ce6
* Mon Mar 17 2008 Steven Pritchard <steve@kspei.com> 1.74-3
4380ce6
- Fix to work properly with 5.10.0 (BZ#437804).
4380ce6
65e1706
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.74-2
4380ce6
- Rebuild for new perl
65e1706
6a7637a
* Tue Dec 11 2007 Steven Pritchard <steve@kspei.com> 1.74-1
6a7637a
- Update to 1.74.
6a7637a
- Update License tag.
6a7637a
7c56e6a
* Sun Jul 22 2007 Steven Pritchard <steve@kspei.com> 1.73-1
7c56e6a
- Update to 1.73.
7c56e6a
de29f7e
* Fri Jul 13 2007 Steven Pritchard <steve@kspei.com> 1.72-1
de29f7e
- Update to 1.72.
de29f7e
daa0a82
* Fri Jun 29 2007 Steven Pritchard <steve@kspei.com> 1.71-1
daa0a82
- Update to 1.71.
daa0a82
- Remove "Extras" from the description.
daa0a82
- Use the __perl macro instead of calling perl directly.
daa0a82
6993379
* Mon Mar 12 2007 Steven Pritchard <steve@kspei.com> 1.70-1
6993379
- Update to 1.70.
6993379
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.