packages: dssi/dssi.spec - Version: 1.0.0 - 'devel' package separated (note...

jajcus jajcus at pld-linux.org
Sun Dec 6 20:51:45 CET 2009


Author: jajcus                       Date: Sun Dec  6 19:51:45 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- Version: 1.0.0
- 'devel' package separated (note: dependent packages must be updated)
- plugin lib dir added to the main package (it is needed by any new plugin)
- examples subpackage (DSSI without any plugins is quite useless)
- name-ver-rel dependencies for subpackages. Not quite needed at the moment,
  but may help a lot in future.

---- Files affected:
packages/dssi:
   dssi.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: packages/dssi/dssi.spec
diff -u packages/dssi/dssi.spec:1.7 packages/dssi/dssi.spec:1.8
--- packages/dssi/dssi.spec:1.7	Mon Nov 30 01:14:26 2009
+++ packages/dssi/dssi.spec	Sun Dec  6 20:51:40 2009
@@ -2,23 +2,22 @@
 Summary:	Disposable Soft Synth Interface specification
 Summary(pl.UTF-8):	Specyfikacja Disposable Soft Synth Interface
 Name:		dssi
-Version:	0.9.1
-Release:	2
+Version:	1.0.0
+Release:	1
 License:	LGPL v2.1
 Group:		Development/Libraries
 Source0:	http://dl.sourceforge.net/dssi/%{name}-%{version}.tar.gz
-# Source0-md5:	1a353c3ae80328cded838853ddf52164
+# Source0-md5:	bc4c50f9f9b3cd13019718266f8f15af
 URL:		http://dssi.sourceforge.net/
+BuildRequires:	QtGui-devel
 BuildRequires:	alsa-lib-devel >= 0.9
 BuildRequires:	jack-audio-connection-kit-devel
 BuildRequires:	ladspa-devel >= 1.0
 BuildRequires:	liblo-devel >= 0.12
-# lib{sndfile,samplerate} are req. to build examples
-#BuildRequires:	libsamplerate-devel
-#BuildRequires:	libsndfile-devel
+BuildRequires:	libsamplerate-devel
+BuildRequires:	libsndfile-devel
+BuildRequires:	libsndfile-devel
 BuildRequires:	pkgconfig
-Requires:	alsa-lib-devel >= 0.9
-Requires:	ladspa-devel >= 1.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %undefine	__cxx
@@ -52,10 +51,26 @@
 specyfikacji oraz udokumentowanego pliku nagłówkowego definiującego
 API C.
 
+%package devel
+Summary:	DSSI development files
+Summary(pl.UTF-8):	Pliki nagłówkowe DSSI
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	alsa-lib-devel >= 0.9
+Requires:	ladspa-devel >= 1.0
+Obsoletes:	dssi < 1.0.0
+
+%description devel
+DSSI development files.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe DSSI.
+
 %package host-jack
 Summary:	A simple JACK/ALSA-sequencer plugin host
 Summary(pl.UTF-8):	Prosty host wtyczek sekwencera JACK/ALSA
 Group:		Applications/Sound
+Requires:	%{name} = %{version}-%{release}
 Requires:	liblo >= 0.12
 
 %description host-jack
@@ -64,10 +79,25 @@
 %description host-jack -l pl.UTF-8
 Prosty host wtyczek sekwencera JACK/ALSA.
 
+%package examples
+Summary:	Example DSSI plugins
+Summary(pl.UTF-8):	Przykładowe wtyczki DSSI
+Group:		Applications/Sound
+Requires:	%{name} = %{version}-%{release}
+
+%description examples
+Example DSSI plugins.
+
+%description examples -l pl.UTF-8
+Przykładowe wtyczki DSSI
+
 %prep
 %setup -q
 
 %build
+CFLAGS="$CFLAGS -I%{_includedir}/qt"
+CPPFLAGS="$CPPFLAGS -I%{_includedir}/qt"
+export QTDIR=%{_prefix}
 %configure
 %{__make}
 
@@ -77,18 +107,40 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+rm -f $RPM_BUILD_ROOT%{_libdir}/dssi/*.la
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 %doc ChangeLog README doc/TODO doc/*.txt
+%attr(755,root,root) %{_bindir}/dssi_osc_send
+%attr(755,root,root) %{_bindir}/dssi_osc_update
+%dir %{_libdir}/dssi
+%{_mandir}/man1/dssi*
+
+%files devel
+%defattr(644,root,root,755)
 %{_includedir}/dssi.h
 %{_pkgconfigdir}/dssi.pc
 
 %files host-jack
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/jack-dssi-host
+%{_mandir}/man1/jack-dssi-host.*
+
+%files examples
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/karplong
+%attr(755,root,root) %{_bindir}/less_trivial_synth
+%attr(755,root,root) %{_bindir}/trivial_sampler
+%attr(755,root,root) %{_bindir}/trivial_synth
+%attr(755,root,root) %{_libdir}/dssi/*.so
+%dir %{_libdir}/dssi/less_trivial_synth
+%attr(755,root,root) %{_libdir}/dssi/less_trivial_synth/*_qt
+%dir %{_libdir}/dssi/trivial_sampler
+%attr(755,root,root) %{_libdir}/dssi/trivial_sampler/*_qt
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -96,6 +148,14 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2009/12/06 19:51:40  jajcus
+- Version: 1.0.0
+- 'devel' package separated (note: dependent packages must be updated)
+- plugin lib dir added to the main package (it is needed by any new plugin)
+- examples subpackage (DSSI without any plugins is quite useless)
+- name-ver-rel dependencies for subpackages. Not quite needed at the moment,
+  but may help a lot in future.
+
 Revision 1.7  2009/11/30 00:14:26  sparky
 - BR: pkgconfig
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/dssi/dssi.spec?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list