⌖ Fedora 10 alpha general package cleanup
This commit is contained in:
parent
f3cdc76a5d
commit
4711f8f7b4
1
import.log
Normal file
1
import.log
Normal file
@ -0,0 +1 @@
|
||||
perl-Net-Server-0_97-4_fc10:HEAD:perl-Net-Server-0.97-4.fc10.src.rpm:1215812459
|
||||
@ -1,49 +1,50 @@
|
||||
%define rname Net-Server
|
||||
%define cpanname Net-Server
|
||||
|
||||
Name: perl-%{rname}
|
||||
Name: perl-%{cpanname}
|
||||
Version: 0.97
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: Extensible, general Perl server engine
|
||||
|
||||
Group: Development/Libraries
|
||||
License: GPL+ or Artistic
|
||||
URL: http://search.cpan.org/dist/%{rname}/
|
||||
Source: http://search.cpan.org/CPAN/authors/id/R/RH/RHANDOM/%{rname}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
URL: http://search.cpan.org/dist/%{cpanname}/
|
||||
Source0: http://cpan.org/authors/id/R/RH/RHANDOM/%{cpanname}-%{version}.tar.gz
|
||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
# IO::Multiplex support is optional, but since it's in Fedora and not
|
||||
# including it causes build problems in some packages…
|
||||
Requires: perl(IO::Multiplex)
|
||||
|
||||
# Check requirements
|
||||
BuildRequires: perl(IO::Multiplex)
|
||||
BuildRequires: perl(Test::Builder)
|
||||
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
# IO::Multiplex support is optional, but since it's in Fedora and not
|
||||
# including it causes build problems in some packages…
|
||||
Requires: perl(IO::Multiplex)
|
||||
|
||||
%description
|
||||
An extensible, class oriented module written in perl and intended to
|
||||
be the back end layer of internet protocol servers.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{rname}-%{version}
|
||||
|
||||
%setup -q -n %{cpanname}-%{version}
|
||||
chmod u+rw-x,go+r-wx examples/*
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS="vendor"
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -fr %{buildroot}
|
||||
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
||||
find %{buildroot} -type f -name 'perllocal.pod' -exec rm -f {} ';'
|
||||
find %{buildroot} -type f -name '.*' -exec rm -f {} ';'
|
||||
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
||||
chmod -R u+rwX,go-rwx %{buildroot}/*
|
||||
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
||||
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
|
||||
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
||||
|
||||
chmod -R u+rwX,go+rX-w %{buildroot}/*
|
||||
|
||||
%check
|
||||
make test
|
||||
@ -54,22 +55,30 @@ rm -fr %{buildroot}
|
||||
|
||||
|
||||
%files
|
||||
%defattr(0644, root, root, 0755)
|
||||
%defattr(0644,root,root,0755)
|
||||
%doc README Changes examples
|
||||
|
||||
%dir %{perl_vendorlib}/Net/
|
||||
%dir %{perl_vendorlib}/Net/Server
|
||||
|
||||
%{perl_vendorlib}/Net/Server.pm
|
||||
%{perl_vendorlib}/Net/Server.pod
|
||||
%{perl_vendorlib}/Net/Server/*
|
||||
|
||||
%{_mandir}/man?/Net::Server*
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Jun 02 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
||||
* Fri Jul 11 2008 <nicolas.mailhot at laposte.net>
|
||||
- 0.97-4
|
||||
⌖ Fedora 10 alpha general package cleanup
|
||||
|
||||
* Mon Jun 02 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
||||
- 0.97-3
|
||||
⋰ remove old %%check Dag leftover rpmbuild does not like anymore
|
||||
|
||||
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.97-2
|
||||
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com>
|
||||
- 0.97-2
|
||||
Rebuild for new perl
|
||||
|
||||
* Sun Aug 12 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user