summaryrefslogtreecommitdiffstats
path: root/opensuse/core/arts
diff options
context:
space:
mode:
authorRobert Xu <robxu9@gmail.com>2012-02-26 12:50:04 -0500
committerRobert Xu <robxu9@gmail.com>2012-02-26 12:50:04 -0500
commit481b46fdd0e36396cbbf2308dfce83df10b979df (patch)
tree16071d4a4e45db15c7080e2c0f8bedee90bc28a9 /opensuse/core/arts
parent5d7b5e6defb05f81691d286d40f67260c4733d00 (diff)
downloadtde-packaging-481b46fdd0e36396cbbf2308dfce83df10b979df.tar.gz
tde-packaging-481b46fdd0e36396cbbf2308dfce83df10b979df.zip
Push working tdelibs (rpmlint errors don't count)
Diffstat (limited to 'opensuse/core/arts')
-rw-r--r--opensuse/core/arts/.project12
-rw-r--r--opensuse/core/arts/arts.changes5
-rw-r--r--opensuse/core/arts/arts.spec68
3 files changed, 38 insertions, 47 deletions
diff --git a/opensuse/core/arts/.project b/opensuse/core/arts/.project
deleted file mode 100644
index 18fc2a88d..000000000
--- a/opensuse/core/arts/.project
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>arts</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- </buildSpec>
- <natures>
- <nature>org.eclipse.linuxtools.rpm.core.rpmnature</nature>
- </natures>
-</projectDescription>
diff --git a/opensuse/core/arts/arts.changes b/opensuse/core/arts/arts.changes
index 690c5f92d..7c8a8963a 100644
--- a/opensuse/core/arts/arts.changes
+++ b/opensuse/core/arts/arts.changes
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Wed Feb 22 02:14:29 UTC 2012 - robxu9@gmail.com
+
+- Fix paths
+
+-------------------------------------------------------------------
Sun Aug 21 02:15:14 UTC 2011 - rxu@lincomlinux.org
- introduce devel-static subpackage
diff --git a/opensuse/core/arts/arts.spec b/opensuse/core/arts/arts.spec
index b7fd43e5f..979f89671 100644
--- a/opensuse/core/arts/arts.spec
+++ b/opensuse/core/arts/arts.spec
@@ -25,7 +25,7 @@ License: GPLv2+
Group: Productivity/Multimedia/Sound/Players
Summary: Modular Software Synthesizer
PreReq: permissions
-Version: 1.5.10
+Version: R13.99
Release: 1
Source0: %{name}-%{version}.tar.bz2
Source1: artswrapper.7.gz
@@ -34,7 +34,7 @@ Patch2: no-informational-messages.diff
Patch5: arts-vorbis-fix.dif
Patch7: fortify_source.patch
Patch8: arts-start-on-demand.diff
-Patch9: avoid_la_files.diff
+#Patch9: avoid_la_files.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -107,10 +107,10 @@ Authors:
%patch5
%patch7
%patch8
-%patch9
+#%patch9
%build
-CXXFLAGS="$CXXFLAGS $RPM_OPT_FLAGS -DNDEBUG" CFLAGS="$CXXFLAGS" %cmake_tde -d build -- -DWITH_MAD=OFF -DCMAKE_SKIP_RPATH=OFF
+CXXFLAGS="$CXXFLAGS $RPM_OPT_FLAGS -DNDEBUG" CFLAGS="$CXXFLAGS" %cmake_tdeusr -d build -- -DWITH_MAD=OFF -DCMAKE_SKIP_RPATH=OFF
# shut off MAD support because that is only available in packman
@@ -128,70 +128,68 @@ 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_prefix}/lib
-ln -sf ../lib64/mcop $RPM_BUILD_ROOT/%{_tde_prefix}/lib/mcop
+mkdir -p $RPM_BUILD_ROOT/%{_prefix}/lib
+ln -sf ../lib64/mcop $RPM_BUILD_ROOT/%{_prefix}/lib/mcop
%endif
mkdir -p -m 755 $RPM_BUILD_ROOT/%_mandir/man7
cp %SOURCE1 $RPM_BUILD_ROOT/%_mandir/man7/
# unneeded
-rm -rf %{buildroot}/%{_tde_libdir}/*.la
+rm -rf %{buildroot}/%{_libdir}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%post
-%run_ldconfig
+/sbin/ldconfig
%run_permissions
-%postun
-%run_ldconfig
+%postun -p /sbin/ldconfig
-%post gmcop
-%run_ldconfig
+%post gmcop -p /sbin/ldconfig
%postun gmcop
-%run_ldconfig
+/sbin/ldconfig
%verifyscript
-%verify_permissions -e %{_tde_bindir}/artswrapper
+%verify_permissions -e %{_bindir}/artswrapper
%files
%defattr(-,root,root,755)
%doc COPYING.LIB COPYING
-%dir %{_tde_prefix}
-%dir %{_tde_bindir}
-%{_tde_bindir}/artscat
-%{_tde_bindir}/arts[dpsr]*
-%verify(not mode) %{_tde_bindir}/artswrapper
-%dir %{_tde_libdir}
-%{_tde_libdir}/libarts*.so.*
-%{_tde_libdir}/libkmedia2*.so.*
-%{_tde_libdir}/libmcop.so.*
-%{_tde_libdir}/libmcop_mt.so.*
-%{_tde_libdir}/libqtmcop.so.*
-%{_tde_libdir}/libsoundserver_idl.so.*
+%dir %{_prefix}
+%dir %{_bindir}
+%{_bindir}/artscat
+%{_bindir}/arts[dpsr]*
+%verify(not mode) %{_bindir}/artswrapper
+%dir %{_libdir}
+%{_libdir}/libarts*.so.*
+%{_libdir}/libkmedia2*.so.*
+%{_libdir}/libmcop.so.*
+%{_libdir}/libmcop_mt.so.*
+%{_libdir}/libqtmcop.so.*
+%{_libdir}/libsoundserver_idl.so.*
# these need to be in the base package for lt_dlopen()
-%{_tde_libdir}/*.so
-%{_tde_libdir}/mcop
+%{_libdir}/*.so
+%{_libdir}/mcop
%ifarch x86_64
-%{_tde_prefix}/lib
+%{_prefix}/lib
%endif
%{_mandir}/man7/artswrapper.7.gz
%files devel
%defattr(-,root,root)
-%{_tde_bindir}/artsc-config
-%{_tde_bindir}/mcopidl
-%dir %{_tde_includedir}
-%{_tde_includedir}/*
+%{_bindir}/artsc-config
+%{_bindir}/mcopidl
+%dir %{_includedir}
+%{_includedir}/*
%{_libdir}/pkgconfig/arts.pc
%files devel-static
%defattr(-,root,root)
-%{_tde_libdir}/libgsl.a
+%{_libdir}/libartsgsl.a
%files gmcop
%defattr(-,root,root)
-%{_tde_libdir}/libgmcop.so.*
+%{_libdir}/libgmcop.so.*
%changelog