From 4aa79fd7097fef28578e574b79a4c6589b62647c5345b7c9a0a0062250c747e0 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Mon, 9 Jan 2012 01:01:55 +0000 Subject: [PATCH] create devel subpackage OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/csound?expand=0&rev=8 --- csound.spec | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/csound.spec b/csound.spec index 7072a8b..f53f3fa 100644 --- a/csound.spec +++ b/csound.spec @@ -58,6 +58,14 @@ supports an unlimited amount of oscillators and filters. For detailed information, refer to http://www.csounds.com. +%package devel +Summary: Development files for Csound +Group: System/Libraries +Requires: %{name} = %{version} + +%description devel +Development files for Csound. + %prep %setup -q -n Csound%{version} %patch0 @@ -94,9 +102,6 @@ rm -rf %{buildroot}%{_datadir}/doc/csound # rename conflicting binary names mv %{buildroot}%{_bindir}/sndinfo %{buildroot}%{_bindir}/csndinfo mv %{buildroot}%{_bindir}/extract %{buildroot}%{_bindir}/csound-extract -# remove devel files -rm -f %{buildroot}%{_libdir}/*.a -rm -rf %{buildroot}%{_includedir} %fdupes -s %{buildroot} %find_lang %{name}5 @@ -110,4 +115,9 @@ rm -rf %{buildroot}%{_includedir} %{_bindir}/* %{_libdir}/csound/ +%files devel +%defattr(-,root,root) +%{_includedir}/csound/ +%{_libdir}/libcsound.a + %changelog