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 2
[-]
[+]
Added
perl-Boulder.spec
@@ -0,0 +1,77 @@ +Name: perl-Boulder +Version: 1.30 +Release: 1 +License: GPL +Group: Development/Libraries/Perl +Summary: Perl module Boulder +Summary(de): Perlmodul Boulder +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 +%endif +%if 0%{?fedora_version} +Provides: perl(LabBase) +%endif + +%description +Boulder provides a simple stream-oriented format for transmitting data +objects between one or more processes. It does not provide for the +serialization of Perl objects the way FreezeThaw or Data::Dumper do, +but it does provide the advantage of being language independent. + +In addition to a stream-oriented interface, Boulder comes with a +simple record-oriented database-oriented interface, Boulder::Store, +which provides query and search capabilities comparable to many flat +file DBMS systems. + +%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} + + +%clean +rm -rf $RPM_BUILD_ROOT/* +rm -rf $RPM_BUILD_DIR/%{name}* + +%if 0%{?suse_version} +%files +%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 + +%files -f ../file.list.%{name} + +%endif +%changelog +* Fri Feb 23 2007 Carsten Schoene <cs@linux-administrator.com> +- initial build of Boulder perl package which is required for flowscan