From 7621ba87b889eccdea4958715c25de4b403ad705 Mon Sep 17 00:00:00 2001 From: Robert Xu Date: Sat, 20 Aug 2011 22:16:34 -0400 Subject: introduce new devel-static subpackage which is not fun. :( --- opensuse/arts/arts.changes | 8 ++++++++ opensuse/arts/arts.spec | 34 ++++++++++++++++++++++++++++------ 2 files changed, 36 insertions(+), 6 deletions(-) diff --git a/opensuse/arts/arts.changes b/opensuse/arts/arts.changes index 66986d432..690c5f92d 100644 --- a/opensuse/arts/arts.changes +++ b/opensuse/arts/arts.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sun Aug 21 02:15:14 UTC 2011 - rxu@lincomlinux.org + +- introduce devel-static subpackage + - libgsl.a is built as a static library + - there is no way to turn it off in build configuration + - it has not been tested whether removing it will trigger bad stuff + ------------------------------------------------------------------- Fri Aug 12 00:02:16 UTC 2011 - rxu@lincomlinux.org diff --git a/opensuse/arts/arts.spec b/opensuse/arts/arts.spec index 1e0bf03b4..079ad8277 100644 --- a/opensuse/arts/arts.spec +++ b/opensuse/arts/arts.spec @@ -64,6 +64,22 @@ the GUI and synthesis. +Authors: +-------- + Stefan Westerfeld + +%package devel-static +License: GPLv2+ +Summary: Include Files and Libraries mandatory for Development. +Group: Development/Libraries/Other + +%description devel-static +A modular software synthesizer that generates realtime audio streams, +supports MIDI, is easily extendable, and uses CORBA for separation of +the GUI and synthesis. + + + Authors: -------- Stefan Westerfeld @@ -118,6 +134,9 @@ ln -sf ../lib64/mcop $RPM_BUILD_ROOT/%{_tde_libdir}/mcop mkdir -p -m 755 $RPM_BUILD_ROOT/%_mandir/man7 cp %SOURCE1 $RPM_BUILD_ROOT/%_mandir/man7/ +# unneeded +rm -rf %{buildroot}/%{_tde_libdir}/*.la + %clean rm -rf $RPM_BUILD_ROOT @@ -151,7 +170,6 @@ rm -rf $RPM_BUILD_ROOT %{_tde_libdir}/libmcop_mt.so.* %{_tde_libdir}/libqtmcop.so.* %{_tde_libdir}/libsoundserver_idl.so.* -%{_tde_libdir}/libx11globalcomm.so.* # these need to be in the base package for lt_dlopen() %{_tde_libdir}/*.so %{_tde_libdir}/mcop @@ -160,16 +178,20 @@ rm -rf $RPM_BUILD_ROOT %endif %{_mandir}/man7/artswrapper.7.gz -%files gmcop -%defattr(-,root,root) -%{_tde_libdir}/libgmcop.so.* - %files devel %defattr(-,root,root) %{_tde_bindir}/artsc-config %{_tde_bindir}/mcopidl %dir %{_tde_includedir} %{_tde_includedir}/* -%{_tde_libdir}/*.la +%{_libdir}/pkgconfig/arts.pc + +%files devel-static +%defattr(-,root,root) +%{_tde_libdir}/libgsl.a + +%files gmcop +%defattr(-,root,root) +%{_tde_libdir}/libgmcop.so.* %changelog -- cgit v1.2.1 From 28bd82e3a1881f42b1b8f9de924757ff0ae2ba21 Mon Sep 17 00:00:00 2001 From: Robert Xu Date: Sat, 20 Aug 2011 23:17:06 -0400 Subject: arts typo that makes x86_64 builds fail miserably. --- opensuse/arts/arts.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/opensuse/arts/arts.spec b/opensuse/arts/arts.spec index 079ad8277..b7fd43e5f 100644 --- a/opensuse/arts/arts.spec +++ b/opensuse/arts/arts.spec @@ -128,8 +128,8 @@ CXXFLAGS="$CXXFLAGS $RPM_OPT_FLAGS -DNDEBUG" CFLAGS="$CXXFLAGS" %cmake_tde -d bu %install %makeinstall_tde -d build %ifarch x86_64 -mkdir -p $RPM_BUILD_ROOT/%{_tde_libdir} -ln -sf ../lib64/mcop $RPM_BUILD_ROOT/%{_tde_libdir}/mcop +mkdir -p $RPM_BUILD_ROOT/%{_tde_prefix}/lib +ln -sf ../lib64/mcop $RPM_BUILD_ROOT/%{_tde_prefix}/lib/mcop %endif mkdir -p -m 755 $RPM_BUILD_ROOT/%_mandir/man7 cp %SOURCE1 $RPM_BUILD_ROOT/%_mandir/man7/ @@ -174,7 +174,7 @@ rm -rf $RPM_BUILD_ROOT %{_tde_libdir}/*.so %{_tde_libdir}/mcop %ifarch x86_64 -/opt/tde/lib +%{_tde_prefix}/lib %endif %{_mandir}/man7/artswrapper.7.gz -- cgit v1.2.1