--- linuxsampler/trunk/linuxsampler.spec.in 2005/06/23 22:50:49 678 +++ linuxsampler/trunk/linuxsampler.spec.in 2009/03/27 12:16:12 1876 @@ -1,7 +1,7 @@ %define name @PACKAGE@ %define version @VERSION@ -%define release 6 +%define release 12 %define prefix @prefix@ Summary: LinuxSampler - modular, streaming capable, realtime audio sampler @@ -9,12 +9,12 @@ Version: %{version} Release: %{release} Prefix: %{prefix} -Copyright: GPL +License: GPL Group: Sound Source0: %{name}-%{version}.tar.bz2 URL: http://www.linuxsampler.org/ BuildRoot: /var/tmp/%{name}-%{version}-buildroot -Requires: libgig >= 2.0.1 +Requires: libgig >= 3.2.1 %description LinuxSampler is a work in progress. It's goal is to produce a free @@ -32,6 +32,15 @@ For more informations please visit http://www.linuxsampler.org +%package devel +Summary: Linuxsampler development files +Group: Development/Libraries +Requires: %{name} = %{version} + +%description devel +Linuxsampler development files for allowing 3rd party applications +to link against liblinuxsampler + %prep %setup @@ -41,11 +50,18 @@ ./configure --prefix=%{prefix} --enable-optimize [ -f Makefile.cvs ] && make parser make +make docs %install if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi mkdir -p $RPM_BUILD_ROOT -make prefix=$RPM_BUILD_ROOT%{prefix} install +make DESTDIR=%{buildroot} install + +%post +/sbin/ldconfig + +%postun +/sbin/ldconfig %clean if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi @@ -54,10 +70,38 @@ %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog README %{prefix}/bin/linuxsampler -%{prefix}/lib/linuxsampler/liblinuxsampler.* -%{prefix}/man/man1/linuxsampler.* +%{prefix}/lib/linuxsampler/liblinuxsampler.so* +%{prefix}/share/man/man1/linuxsampler.* +%{prefix}/lib/dssi/* +%{prefix}/lib/lv2/linuxsampler* +/var/lib/linuxsampler/instruments.db + +%files devel +%defattr(-,root,root) +%doc doc/html/* +%{prefix}/lib/linuxsampler/liblinuxsampler.a +%{prefix}/lib/linuxsampler/liblinuxsampler.la +%{prefix}/lib/pkgconfig/linuxsampler.pc +%{prefix}/include/* %changelog +* Fri Mar 27 2009 Christian Schoenebeck +- included DSSI and LV2 binaries into linuxsampler package +* Wed Dec 03 2008 Christian Schoenebeck +- fixed rpmbuild: config.h is no longer exported + (fixes #87, patch by Devin Anderson) +* Thu Dec 06 2007 Christian Schoenebeck +- Going for linuxsampler 0.5.1 release. +* Mon Oct 15 2007 Christian Schoenebeck +- Going for linuxsampler 0.5.0 release. +* Fri Nov 24 2006 Christian Schoenebeck +- Going for linuxsampler 0.4.0 release. +* Thu Jun 01 2006 Rui Nuno Capela +- changed deprecated copyright attribute to license +- added ldconfig to post-(un)install steps +- added devel package for liblinuxsampler +* Fri Jul 15 2005 Christian Schoenebeck +- Going for linuxsampler 0.3.3 bugfix release. * Thu Jun 23 2005 Rui Nuno Capela - Ready for linuxsampler 0.3.2 bugfix release. * Sun Jun 12 2005 Rui Nuno Capela