perl-URI/perl-URI.spec

134 lines
3.6 KiB
RPMSpec
Raw Normal View History

Name: perl-URI
Version: 1.37
Release: 2%{?dist}
Summary: A Perl module implementing URI parsing and manipulation
Group: Development/Libraries
2007-10-17 04:31:09 +00:00
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/URI/
Source0: http://www.cpan.org/authors/id/G/GA/GAAS/URI-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(MIME::Base64)
2007-10-17 04:31:09 +00:00
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
BuildRequires: perl(Business::ISBN)
2007-10-25 05:02:23 +00:00
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
This module implements the URI class. Objects of this class represent
"Uniform Resource Identifier references" as specified in RFC 2396 (and
updated by RFC 2732).
%prep
%setup -q -n URI-%{version}
chmod 644 uri-test
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
2007-10-25 05:02:23 +00:00
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
2007-10-25 05:02:23 +00:00
for file in Changes; do
iconv -f iso-8859-1 -t utf-8 < "$file" > "${file}_"
mv -f "${file}_" "$file"
done
%check
make test
2007-10-25 05:02:23 +00:00
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README rfc2396.txt uri-test
%{perl_vendorlib}/URI*
%{_mandir}/man3/*.3*
%changelog
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.37-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Fri Feb 20 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.37-1
- Upstream update.
- Add BR: perl(Test::More), perl(Business::ISBN).
- Remove requires-filter.
2008-02-28 13:14:12 +00:00
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.35-8
- Rebuild for perl 5.10 (again)
2008-02-13 17:41:54 +00:00
* Wed Feb 13 2008 Robin Norwood <rnorwood@redhat.com> - 1.35-7
- rebuild again for new perl
2008-02-13 17:16:54 +00:00
* Wed Feb 13 2008 Robin Norwood <rnorwood@redhat.com> - 1.35-6
- Last update for package review
2008-01-25 02:42:00 +00:00
* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.35-5
- rebuild for new perl
2007-10-25 05:02:23 +00:00
* Thu Oct 25 2007 Robin Norwood <rnorwood@redhat.com> - 1.35-4
- Fix various package review issues:
- Remove redundant BR: perl
- remove "|| :" from %%check
- move requires filter into spec file
- remove tabs and fix spacing
2007-10-17 04:31:09 +00:00
* Wed Oct 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.35-3.1
- correct license tag
- add BR: perl(ExtUtils::MakeMaker)
2006-06-06 00:50:48 +00:00
* Mon Jun 05 2006 Jason Vas Dias <jvdias@redhat.com> - 1.35-3
- fix License: tag
2006-02-03 21:21:13 +00:00
* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 1.35-2.2
- rebuild for new perl-5.8.8
2005-12-17 02:15:40 +00:00
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt for new gcc
2005-12-16 23:24:09 +00:00
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt for new gcj
2005-04-03 05:35:07 +00:00
* Sat Apr 02 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.35-2
- Update to 1.35.
- Spec cleanup (#153205)
2005-03-31 09:28:50 +00:00
2004-09-23 21:45:19 +00:00
* Thu Sep 23 2004 Chip Turner <cturner@redhat.com> 1.30-3
- rebuild
2004-09-22 14:21:35 +00:00
* Wed Sep 22 2004 Chip Turner <cturner@redhat.com> 1.30-2
- rebuild
* Fri Feb 13 2004 Chip Turner <cturner@redhat.com> 1.30-1
- update to 1.30
* Tue Aug 6 2002 Chip Turner <cturner@redhat.com>
- automated release bump and build
* Tue Aug 6 2002 Chip Turner <cturner@localhost.localdomain>
- update to 1.21
* Tue Jun 4 2002 Chip Turner <cturner@redhat.com>
- properly claim directories owned by package so they are removed when package is removed
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Fri Dec 7 2001 root <root@redhat.com>
- Spec file was autogenerated.