Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
:
netflow
>
perl-Boulder
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 6
[-]
[+]
Changed
perl-Boulder.spec
@@ -8,8 +8,6 @@ URL: http://search.cpan.org/~lds/ Source0: Boulder-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build -Packager: Carsten Schoene <cs@linux-administrator.com> -Vendor: linux-administrator.com BuildRequires: glibc-devel libgcc gcc gcc-c++ perl-XML-Parser %if 0%{?fedora_version} >= 7 BuildRequires: perl-ExtUtils-MakeMaker @@ -32,47 +30,66 @@ %prep %setup -q -n Boulder-%{version} mv Boulder/Labbase.pm Boulder/LabBase.pm -perl Makefile.PL -%__make -%makeinstall DESTDIR=$RPM_BUILD_ROOT -%if 0%{?suse_version} -%perl_process_packlist -%else -find $RPM_BUILD_ROOT -name perllocal.pod -exec rm {} \; >/dev/null -%endif -# we create own package list just for fallback, not used on suse -cd $RPM_BUILD_ROOT -find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.%{name} -find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name} -find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name} + +%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}* -%if 0%{?suse_version} %files %defattr(-,root,root) %doc docs ChangeLog README -/usr/share/man/man3/* -/var/adm/perl-modules/perl-Boulder -%ifarch %ix86 -%{perl_sitelib}/i586-linux-thread-multi -%endif -%ifarch x86_64 -%{perl_sitelib}/x86_64-linux-thread-multi -%endif -%{perl_sitelib}/Boulder.pod -%{perl_sitelib}/Boulder/* -%{perl_sitelib}/Stone.pm -%{perl_sitelib}/Stone/* - -%else +%dir %{perl_vendorlib}/Boulder +%{perl_vendorlib}/Boulder.pod +%{perl_vendorlib}/Boulder/Blast.pm +%dir %{perl_vendorlib}/Boulder/Blast +%{perl_vendorlib}/Boulder/Blast/NCBI.pm +%{perl_vendorlib}/Boulder/Blast/WU.pm +%{perl_vendorlib}/Boulder/Genbank.pm +%{perl_vendorlib}/Boulder/LabBase.pm +%{perl_vendorlib}/Boulder/LocusLink.pm +%{perl_vendorlib}/Boulder/Medline.pm +%{perl_vendorlib}/Boulder/Omim.pm +%{perl_vendorlib}/Boulder/Store.pm +%{perl_vendorlib}/Boulder/Stream.pm +%{perl_vendorlib}/Boulder/String.pm +%{perl_vendorlib}/Boulder/Swissprot.pm +%{perl_vendorlib}/Boulder/Unigene.pm +%{perl_vendorlib}/Boulder/XML.pm +%{perl_vendorlib}/Stone.pm +%dir %{perl_vendorlib}/Stone +%{perl_vendorlib}/Stone/Cursor.pm +%{perl_vendorlib}/Stone/GB_Sequence.pm +%{_mandir}/man3/Boulder.3pm.gz +%{_mandir}/man3/Boulder::Blast.3pm.gz +%{_mandir}/man3/Boulder::Blast::NCBI.3pm.gz +%{_mandir}/man3/Boulder::Blast::WU.3pm.gz +%{_mandir}/man3/Boulder::Genbank.3pm.gz +%{_mandir}/man3/Boulder::LocusLink.3pm.gz +%{_mandir}/man3/Boulder::Medline.3pm.gz +%{_mandir}/man3/Boulder::Omim.3pm.gz +%{_mandir}/man3/Boulder::Store.3pm.gz +%{_mandir}/man3/Boulder::Stream.3pm.gz +%{_mandir}/man3/Boulder::String.3pm.gz +%{_mandir}/man3/Boulder::Swissprot.3pm.gz +%{_mandir}/man3/Boulder::Unigene.3pm.gz +%{_mandir}/man3/Boulder::XML.3pm.gz +%{_mandir}/man3/Stone.3pm.gz +%{_mandir}/man3/Stone::Cursor.3pm.gz +%{_mandir}/man3/Stone::GB_Sequence.3pm.gz -%files -f ../file.list.%{name} - -%endif %changelog -* Fri Feb 23 2007 Carsten Schoene <cs@linux-administrator.com> +* Fri Feb 23 2007 Carsten Schoene <cs@linux-administrator.com> - 1.30-1 - initial build of Boulder perl package which is required for flowscan