packages: libvisual/libvisual.spec - full ac/am/lt/gt rebuild to kill .la p...

qboosh qboosh at pld-linux.org
Sun Jul 24 21:03:39 CEST 2011


Author: qboosh                       Date: Sun Jul 24 19:03:39 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- full ac/am/lt/gt rebuild to kill .la poisoning with builder home
- proper License tag (LGPL v2.1+; only examples and tests are GPLed)
- release 6

---- Files affected:
packages/libvisual:
   libvisual.spec (1.26 -> 1.27) 

---- Diffs:

================================================================
Index: packages/libvisual/libvisual.spec
diff -u packages/libvisual/libvisual.spec:1.26 packages/libvisual/libvisual.spec:1.27
--- packages/libvisual/libvisual.spec:1.26	Wed Oct 10 00:12:02 2007
+++ packages/libvisual/libvisual.spec	Sun Jul 24 21:03:34 2011
@@ -3,15 +3,19 @@
 Summary(pl.UTF-8):	Abstrakcyjna biblioteka pomiędzy aplikacjami a wtyczkami wizualizacji audio
 Name:		libvisual
 Version:	0.4.0
-Release:	5
-License:	GPL
+Release:	6
+License:	LGPL v2.1+
 Group:		Libraries
-Source0:	http://dl.sourceforge.net/libvisual/%{name}-%{version}.tar.bz2
+Source0:	http://downloads.sourceforge.net/libvisual/%{name}-%{version}.tar.bz2
 # Source0-md5:	d0f987abd0845e725743605fd39ef73f
 URL:		http://localhost.nl/~synap/libvisual/
 Patch0:		%{name}-link.patch
+BuildRequires:	autoconf >= 2.57
+BuildRequires:	automake >= 1:1.7
+BuildRequires:	gettext-devel >= 0.14.1
 BuildRequires:	libtool
 BuildRequires:	pkgconfig >= 1:0.14
+BuildRequires:	sed >= 4.0
 Obsoletes:	libvisual-tools
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -53,10 +57,18 @@
 
 mv -f po/{es_ES,es}.po
 # es_AR is a copy of es
-rm -f po/{es_AR.po,stamp-po}
+%{__rm} po/{es_AR.po,stamp-po}
 sed -i -e 's|es_ES es_AR|es|' po/LINGUAS
+# hack for newer gettext
+sed -i -e 's/DOMAIN = .*/DOMAIN = libvisual-0.4/' po/Makevars
 
 %build
+%{__gettextize}
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
 	--enable-static
 %{__make}
@@ -79,19 +91,20 @@
 %files -f %{name}-0.4.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README TODO
+%attr(755,root,root) %{_libdir}/libvisual-0.4.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libvisual-0.4.so.0
 %dir %{_libdir}/libvisual-0.4
-%attr(755,root,root) %{_libdir}/libvisual-*.so.*.*.*
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libvisual-*.so
-%{_libdir}/libvisual-*.la
-%{_includedir}/libvisual-*
-%{_pkgconfigdir}/*.pc
+%attr(755,root,root) %{_libdir}/libvisual-0.4.so
+%{_libdir}/libvisual-0.4.la
+%{_includedir}/libvisual-0.4
+%{_pkgconfigdir}/libvisual-0.4.pc
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/libvisual-*.a
+%{_libdir}/libvisual-0.4.a
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -99,6 +112,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.27  2011/07/24 19:03:34  qboosh
+- full ac/am/lt/gt rebuild to kill .la poisoning with builder home
+- proper License tag (LGPL v2.1+; only examples and tests are GPLed)
+- release 6
+
 Revision 1.26  2007/10/09 22:12:02  blues
 - rel.5 add directory libvisual-0.4 in this place
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libvisual/libvisual.spec?r1=1.26&r2=1.27&f=u



More information about the pld-cvs-commit mailing list