Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:thomas-schraitle
perl-XML-Sablotron
perl-XML-Sablotron.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-XML-Sablotron.spec of Package perl-XML-Sablotron
# # spec file for package perl-XML-Sablotron # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: perl-XML-Sablotron Version: 1.01 Release: 1 # define the name from CPAN %define cpan_name XML-Sablotron # do this package was known as "perl_cur" in old times. So we do need to Provide and Obsolete # this package. YaST will install this package during update instead of the old one in this way. Provides: %cpan_name # we better require the exact perl version, which was used to create this package Requires: perl = %{perl_version} Group: Development/Libraries/Perl License: Artistic License, Other License(s), see package URL: http://search.cpan.org/dist/XML-Sablotron/ Summary: Perl module for the XSLT processor Sablotron Source: %cpan_name-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: sablot-devel bzip2 perl %if %suse_version > 1020 BuildRequires: libexpat-devel %else: BuildRequires: expat %endif %description XML::Sablotron is a simple Perl package, which encapsulates the C API of Sablotron XSLT processor. The only important fact is, that this package uses the dynamic linking of Sablotron. %prep %setup -q -n %cpan_name-%{version} %build %{__perl} Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" %{__make} # %{__make} test %install %{__make} DESTDIR=$RPM_BUILD_ROOT install_vendor %perl_process_packlist %clean # clean up the hard disc after build [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc INSTALL Changes README* MANIFEST %doc %{_mandir}/man3/* %dir %{perl_vendorarch}/XML/ %dir %{perl_vendorarch}/auto/XML %dir %{perl_vendorarch}/auto/XML/Sablotron/ %{perl_vendorarch}/XML/* %{perl_vendorarch}/auto/XML/Sablotron/* %{perl_vendorarch}/auto/XML/Sablotron/.packlist %{_var}/adm/perl-modules/%{name} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor