Search
j0ke.net Open Build Service
>
Projects
>
devel
:
perl
>
perl-version
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Added
perl-version.spec
@@ -0,0 +1,54 @@ +Name: perl-version +Version: 0.76 +Release: 1 +License: GPL +Group: Development/Libraries/Perl +Summary: Perl module version +URL: http://search.cpan.org/~jpeacock +Source0: version-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: glibc-devel libgcc gcc gcc-c++ perl perl-Module-Build + +%if 0%{?fedora_version} >= 7 +BuildRequires: perl-ExtUtils-MakeMaker +%endif + +%description +Perl extension for Version Objects + +%prep +%setup -q -n version-%{version} + +%build +CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{_prefix}" +%{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}" + +%install +%__make DESTDIR=%{buildroot} install + +### Clean up buildroot +%{__rm} -rf %{buildroot}%{perl_archlib} \ + %{buildroot}%{perl_vendorarch}/auto/*{,/*{,/*}}/.packlist + + +%clean +rm -rf $RPM_BUILD_ROOT/* +rm -rf $RPM_BUILD_DIR/%{name}* + + +%files +%defattr(-,root,root) +%doc README +%dir %{perl_vendorarch}/auto/version +%dir %{perl_vendorarch}/auto/version/vxs +%dir %{perl_vendorarch}/version +%{perl_vendorarch}/auto/version/vxs/vxs.bs +%{perl_vendorarch}/auto/version/vxs/vxs.so +%{perl_vendorarch}/version.pm +%{perl_vendorarch}/version.pod +%{perl_vendorarch}/version/vxs.pm +%{_mandir}/man3/version.3pm* + +%changelog +* Fri Oct 17 2008 Carsten Schoene <cs@linux-administrator.com> +- initial build, needed by perl-Mail-SPF
Added
version-0.76.tar.gz
^