packages: lv2-c++-tools/lv2-c++-tools.spec - this package is about the tool...

sparky sparky at pld-linux.org
Tue Jan 19 00:40:20 CET 2010


Author: sparky                       Date: Mon Jan 18 23:40:20 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- this package is about the tools, so removed -utils subpackage
- pass __cxx; use rpmcxxflags instead of rpmcflags
- BR: pkgconfig

---- Files affected:
packages/lv2-c++-tools:
   lv2-c++-tools.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/lv2-c++-tools/lv2-c++-tools.spec
diff -u packages/lv2-c++-tools/lv2-c++-tools.spec:1.2 packages/lv2-c++-tools/lv2-c++-tools.spec:1.3
--- packages/lv2-c++-tools/lv2-c++-tools.spec:1.2	Tue Jan 19 00:11:29 2010
+++ packages/lv2-c++-tools/lv2-c++-tools.spec	Tue Jan 19 00:40:15 2010
@@ -11,6 +11,7 @@
 URL:		http://freshmeat.net/projects/lv2-c-tools
 BuildRequires:	boost-devel
 BuildRequires:	gtkmm-devel >= 2.8.8
+BuildRequires:	pkgconfig
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -45,27 +46,17 @@
 %description static -l pl.UTF-8
 Statyczna biblioteka lv2-c++-tools.
 
-%package utils
-Summary:	Utils for lv2-c++-tools
-Summary(pl.UTF-8):	Narzędzia dla lv2-c++-tools
-Group:		Development/Tools
-
-%description utils
-Utils for lv2-c++-tools.
-
-%description utils -l pl.UTF-8
-Narzędzia dla lv2-c++-tools.
-
 %prep
 %setup -q
-%__sed -i -e 's|/sbin/ldconfig -n |/bin/true |g' Makefile.template
+%{__sed} -i -e '/sbin\/ldconfig -n /d' Makefile.template
 
 %build
 ./configure \
 	--prefix=%{_prefix} \
 	--libdir=%{_libdir} \
-	--CFLAGS="%rpmcflags" \
-	--LDFLAGS="%rpmldflags"
+	--CXX="%{__cxx}" \
+	--CFLAGS="%{rpmcppflags} %{rpmcxxflags}" \
+	--LDFLAGS="%{rpmcxxflags} %{rpmldflags}"
 
 %{__make}
 
@@ -84,6 +75,8 @@
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README
+%attr(755,root,root) %{_bindir}/lv2peg
+%attr(755,root,root) %{_bindir}/lv2soname
 %attr(755,root,root) %{_libdir}/libpaq.so.*.*.*
 
 %files devel
@@ -94,12 +87,9 @@
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/*.a
-
-%files utils
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/lv2peg
-%attr(755,root,root) %{_bindir}/lv2soname
+%{_libdir}/libpaq.a
+%{_libdir}/liblv2-gui.a
+%{_libdir}/liblv2-plugin.a
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -107,9 +97,13 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2010/01/18 23:40:15  sparky
+- this package is about the tools, so removed -utils subpackage
+- pass __cxx; use rpmcxxflags instead of rpmcflags
+- BR: pkgconfig
+
 Revision 1.2  2010/01/18 23:11:29  stivi
 - fix Source0-md5 sum
 
 Revision 1.1  2010/01/18 23:01:22  stivi
 - initial
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/lv2-c++-tools/lv2-c++-tools.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list