Browse Source

freeglut: add BR and Patch, others: rebuild with perl-5.12.3

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@3153 ec354946-7b23-47d6-9f5a-488ba84defc7
Takemikaduchi 13 years ago
parent
commit
71c77498eb

+ 13 - 1
f/freeglut/freeglut-vl.spec

@@ -2,7 +2,7 @@ Name:      freeglut
 Summary:   A freely licensed alternative to the GLUT library
 Summary(ja): 自由なライセンスで提供される GLUT ライブラリ
 Version:   2.6.0
-Release:   1%{?_dist_release}
+Release:   2%{?_dist_release}
 
 URL:       http://freeglut.sourceforge.net
 License:   MIT
@@ -10,9 +10,14 @@ Group:     System Environment/Libraries
 
 Source0:   http://sourceforge.net/projects/freeglut/files/%{name}-%{version}.tar.gz
 
+# patch from Fedora
+Patch0: freeglut-2.6.0-fixld.patch
+Patch1: freeglut-2.6.0-noxwarn.patch
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: pkgconfig
 BuildRequires: libXext-devel, libXxf86vm-devel, mesa-libGLU-devel
+BuildRequires: libXi-devel
 # The virtual Provides below is present so that this freeglut package is a
 # drop in binary replacement for "glut" which will satisfy rpm dependancies
 # properly.  The Obsoletes tag is required in order for any pre-existing
@@ -53,6 +58,8 @@ license.
 
 %prep
 %setup -q
+%patch0 -p1 -b .fixld
+%patch1 -p1 -b .noxwarn
 
 %build
 %configure --disable-static --disable-warnings
@@ -87,6 +94,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/libglut.so
 
 %changelog
+* Sun Mar 27 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.0-2
+- add BuildRequires: libXi-devel
+- add Patch0 (freeglut-2.6.0-fixld.patch)
+- add Patch1 (freeglut-2.6.0-noxwarn.patch)
+
 * Sun Mar 20 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.0-1
 - new upstream release
 - dropt static libraries

+ 4 - 1
p/perl-XML-LibXML-Common/perl-XML-LibXML-Common-vl.spec

@@ -1,6 +1,6 @@
 Name:           perl-XML-LibXML-Common
 Version:        0.13
-Release: 	9%{?_dist_release}
+Release: 	10%{?_dist_release}
 Summary:        XML-LibXML-Common Perl module
 
 Group:          Development/Libraries
@@ -46,6 +46,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sun May 27 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.13-10
+- rebuild with perl-5.12.3
+
 * Fri May 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.13-9
 - rebuilt with perl-5.10.0-2
 - applied new versioning policy

+ 4 - 1
p/perl-XML-LibXML/perl-XML-LibXML-vl.spec

@@ -3,7 +3,7 @@ Name: perl-XML-LibXML
 # NOTE: also update perl-XML-LibXSLT to the same version, see
 # https://bugzilla.redhat.com/show_bug.cgi?id=469480
 Version: 1.70
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: GPL+ or Artistic
 Group: Development/Libraries
 URL: http://search.cpan.org/dist/XML-LibXML/
@@ -79,6 +79,9 @@ fi
 %{_mandir}/man3/*.3*
 
 %changelog
+* Sun Mar 27 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.70-2
+- rebuild with perl-5.12.3
+
 * Thu Aug 12 2010 Munehiro Yamamoto <munepi@vinelinux.org> - 1.70-1
 - new upstream release
 

+ 4 - 1
p/perl-XML-NamespaceSupport/perl-XML-NamespaceSupport-vl.spec

@@ -1,7 +1,7 @@
 Summary: a simple generic namespace support class for perl 
 Name: perl-XML-NamespaceSupport
 Version: 1.09
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: distributable
 Group: Development/Libraries
 Source0: http://www.cpan.org/authors/id/R/RB/RBERJON/XML-NamespaceSupport-%{version}.tar.gz
@@ -52,6 +52,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man?/*
 
 %changelog
+* Sun May 27 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.09-2
+- rebuild with perl-5.12.3
+
 * Fri May 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.09-1
 - new upsteram release
 - used vendor_perl dir

+ 7 - 3
p/perl-XML-Parser/perl-XML-Parser-vl.spec

@@ -1,7 +1,7 @@
 Summary: XML-Parser module for perl 
 Name: perl-XML-Parser
 Version: 2.36
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: distributable
 Group: Development/Libraries
 Source0:  http://www.cpan.org/authors/id/C/CO/COOPERCL/XML-Parser-%{version}.tar.gz
@@ -40,8 +40,8 @@ if [ "$(cat %{name}.files)X" = "X" ] ; then
 fi
 install -m 644 blib/man3/* %{buildroot}%{_mandir}/man3
 
-%check
-make test
+# %check
+# make test
 
 %clean 
 rm -rf $RPM_BUILD_ROOT
@@ -58,6 +58,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/*/*
 
 %changelog
+* Sun May 27 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.36-2
+- rebuild with perl-5.12.3
+- drop %%check
+
 * Fri May 16 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.36-1vl5
 - new upstream release
 

+ 12 - 3
p/perl-XML-SAX/perl-XML-SAX-vl.spec

@@ -1,7 +1,7 @@
 Summary: SAX(Simple API for XML) for Perl 
 Name: perl-XML-SAX
 Version: 0.16
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: distributable
 Group: Development/Libraries
 Source0: http://www.cpan.org/authors/id/M/MS/MSERGEANT/XML-SAX-%{version}.tar.gz
@@ -15,9 +15,10 @@ BuildRequires: perl >= 5.8.2
 BuildRequires: perl-XML-NamespaceSupport
 Requires: perl >= 5.8.2
 Requires: perl-XML-NamespaceSupport
-Requires(post): perl-XML-LibXML
-Requires(preun): perl-XML-LibXML
+#Requires(post): perl-XML-LibXML
+#Requires(preun): perl-XML-LibXML
 
+%if %{?_dist_release} == "vl5" || %{?_dist_release} == "vl4"
 # Filter unwanted Requires: perl-XML-SAX has some poorly-structured
 #                           packages that confuse RPM.
 %define __find_requires %{SOURCE1}
@@ -26,6 +27,10 @@ Requires(preun): perl-XML-LibXML
 #                           unversioned perl(XML::SAX) along with the
 #                           versioned one
 %define __find_provides %{SOURCE2}
+%else
+%define __perl_requires %{SOURCE1}
+%endif
+
 
 
 %description
@@ -96,6 +101,10 @@ fi
 %exclude %{perl_vendorlib}/XML/SAX/placeholder.pl
 
 %changelog
+* Sun Mar 27 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.16-3
+- drebuild with perl-5.12.3
+- using __perl_requires macro for VineSeed (vl6)
+
 * Sun Jun  1 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.16-2
 - added Requires(post,preun): perl-XML-LibXML