--- linuxsampler/trunk/linuxsampler.spec.in 2005/06/12 23:49:00 643 +++ linuxsampler/trunk/linuxsampler.spec.in 2007/12/06 17:19:16 1560 @@ -1,7 +1,7 @@ %define name @PACKAGE@ %define version @VERSION@ -%define release 2 +%define release 11 %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,12 +50,19 @@ ./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 +%post +/sbin/ldconfig + +%postun +/sbin/ldconfig + %clean if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi @@ -54,9 +70,32 @@ %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.* + +%files devel +%defattr(-,root,root) +%doc doc/html/* +%{prefix}/lib/linuxsampler/include/config.h +%{prefix}/lib/linuxsampler/liblinuxsampler.a +%{prefix}/lib/linuxsampler/liblinuxsampler.la +%{prefix}/lib/pkgconfig/linuxsampler.pc +%{prefix}/include/* %changelog +* 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 - Created first official linuxsampler.spec