forked from pool/perl-XML-NamespaceSupport
Accepting request 28395 from devel:languages:perl
Copy from devel:languages:perl/perl-XML-NamespaceSupport based on submit request 28395 from user coolo OBS-URL: https://build.opensuse.org/request/show/28395 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-NamespaceSupport?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
4588e3de29
commit
749fcbf6ea
BIN
XML-NamespaceSupport-1.09.tar.bz2
(Stored with Git LFS)
BIN
XML-NamespaceSupport-1.09.tar.bz2
(Stored with Git LFS)
Binary file not shown.
BIN
XML-NamespaceSupport-1.10.tar.bz2
(Stored with Git LFS)
Normal file
BIN
XML-NamespaceSupport-1.10.tar.bz2
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,29 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jul 25 19:46:18 CEST 2009 - chris@computersalat.de
|
||||||
|
|
||||||
|
- spec mods
|
||||||
|
* removed ^----------
|
||||||
|
* removed ^#---------
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 15 08:19:43 CEST 2009 - chris@computersalat.de
|
||||||
|
|
||||||
|
- fix for failing builds
|
||||||
|
o stop auto_install (Makefile.PL)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 14 20:24:13 CEST 2009 - chris@computersalat.de
|
||||||
|
|
||||||
|
- update to 1.10
|
||||||
|
- Release real version since CPAN testers gave us a pass (perigrin)
|
||||||
|
- added perl-macros
|
||||||
|
o autogen filelist with perl_gen_filelist
|
||||||
|
- spec mods
|
||||||
|
o updated desc
|
||||||
|
- fixed deps
|
||||||
|
o BuildReq perl(version)
|
||||||
|
o BuildReq perl(YAML::Syck)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 25 21:40:03 CET 2006 - mls@suse.de
|
Wed Jan 25 21:40:03 CET 2006 - mls@suse.de
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-XML-NamespaceSupport (Version 1.09)
|
# spec file for package perl-XML-NamespaceSupport (Version 1.10)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -19,16 +19,21 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: perl-XML-NamespaceSupport
|
Name: perl-XML-NamespaceSupport
|
||||||
Version: 1.09
|
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
||||||
Release: 135
|
Summary: A simple generic namespace support class
|
||||||
Requires: perl = %{perl_version}
|
Version: 1.10
|
||||||
AutoReqProv: on
|
Release: 1
|
||||||
|
License: Artistic License ..
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
License: Artistic License
|
|
||||||
Url: http://www.cpan.org/modules/by-module/XML/
|
Url: http://www.cpan.org/modules/by-module/XML/
|
||||||
Summary: XML::NamespaceSupport Perl Module
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
Source: XML-NamespaceSupport-%{version}.tar.bz2
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
BuildRequires: perl(Test::More) >= 0.47
|
||||||
|
BuildRequires: perl(version)
|
||||||
|
BuildRequires: perl(YAML::Syck)
|
||||||
|
Requires: perl = %{perl_version}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This module offers a simple way to process namespaced XML names
|
This module offers a simple way to process namespaced XML names
|
||||||
@@ -36,40 +41,29 @@ This module offers a simple way to process namespaced XML names
|
|||||||
maintain a prefix to namespace URI map, and provides a number of basic
|
maintain a prefix to namespace URI map, and provides a number of basic
|
||||||
checks.
|
checks.
|
||||||
|
|
||||||
|
Author: Robin Berjon <robin@knowscape.com>
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n XML-NamespaceSupport-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
%{__sed} -i -e "s,^\(auto_install.*\),#\1,g" Makefile.PL
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL
|
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||||
make
|
%{__make}
|
||||||
make test
|
|
||||||
|
%check
|
||||||
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
chmod 644 $RPM_BUILD_ROOT/%_mandir/man3/*
|
%perl_gen_filelist
|
||||||
chmod 644 $RPM_BUILD_ROOT/%{perl_vendorlib}/XML/NamespaceSupport.pm
|
|
||||||
chmod 644 Changes README
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root)
|
# normally you only need to check for doc files
|
||||||
|
%defattr(0644,root,root,0755)
|
||||||
%doc Changes README
|
%doc Changes README
|
||||||
%doc %{_mandir}/man3/*
|
|
||||||
%{perl_vendorlib}/XML
|
|
||||||
%{perl_vendorarch}/auto/XML
|
|
||||||
/var/adm/perl-modules/%{name}
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Jan 25 2006 mls@suse.de
|
|
||||||
- converted neededforbuild to BuildRequires
|
|
||||||
* Sun Jul 31 2005 cthiel@suse.de
|
|
||||||
- update to version 1.09
|
|
||||||
* Tue Jun 28 2005 ro@suse.de
|
|
||||||
- fix permissions
|
|
||||||
* Mon Nov 15 2004 ro@suse.de
|
|
||||||
- initial package
|
|
||||||
|
Reference in New Issue
Block a user