diff --git a/.cvsignore b/.cvsignore index e69de29..d4ed531 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +calf-0.0.18.3.tar.gz diff --git a/calf-gcc44.patch b/calf-gcc44.patch new file mode 100644 index 0000000..af35fd5 --- /dev/null +++ b/calf-gcc44.patch @@ -0,0 +1,60 @@ +diff -rupN calf-0.0.18.3.old/src/giface.cpp calf-0.0.18.3/src/giface.cpp +--- calf-0.0.18.3.old/src/giface.cpp 2009-01-24 05:15:10.000000000 -0500 ++++ calf-0.0.18.3/src/giface.cpp 2009-03-30 20:00:27.000000000 -0400 +@@ -23,7 +23,7 @@ + #include + #include + #include +- ++#include + using namespace std; + using namespace calf_utils; + using namespace calf_plugins; +diff -rupN calf-0.0.18.3.old/src/jackhost.cpp calf-0.0.18.3/src/jackhost.cpp +--- calf-0.0.18.3.old/src/jackhost.cpp 2009-02-14 04:52:43.000000000 -0500 ++++ calf-0.0.18.3/src/jackhost.cpp 2009-03-30 19:59:43.000000000 -0400 +@@ -37,7 +37,7 @@ + #include + #include + #include +- ++#include + using namespace std; + using namespace calf_utils; + using namespace calf_plugins; +diff -rupN calf-0.0.18.3.old/src/modules_small.cpp calf-0.0.18.3/src/modules_small.cpp +--- calf-0.0.18.3.old/src/modules_small.cpp 2009-01-20 18:12:21.000000000 -0500 ++++ calf-0.0.18.3/src/modules_small.cpp 2009-03-30 19:58:36.000000000 -0400 +@@ -31,7 +31,7 @@ + #include + #include + #include +- ++#include + #ifdef ENABLE_EXPERIMENTAL + + #if USE_LV2 +diff -rupN calf-0.0.18.3.old/src/osctlnet.cpp calf-0.0.18.3/src/osctlnet.cpp +--- calf-0.0.18.3.old/src/osctlnet.cpp 2009-01-21 14:37:37.000000000 -0500 ++++ calf-0.0.18.3/src/osctlnet.cpp 2009-03-30 20:00:10.000000000 -0400 +@@ -25,7 +25,7 @@ + #include + #include + #include +- ++#include + using namespace osctl; + using namespace std; + +diff -rupN calf-0.0.18.3.old/src/utils.cpp calf-0.0.18.3/src/utils.cpp +--- calf-0.0.18.3.old/src/utils.cpp 2009-02-14 04:52:43.000000000 -0500 ++++ calf-0.0.18.3/src/utils.cpp 2009-03-30 19:59:01.000000000 -0400 +@@ -17,7 +17,7 @@ + * Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307, USA. + */ +- ++#include + #include + #include + #include diff --git a/calf.spec b/calf.spec new file mode 100644 index 0000000..aa2bd0b --- /dev/null +++ b/calf.spec @@ -0,0 +1,153 @@ +Name: calf +Version: 0.0.18.3 +Release: 1%{?dist} +Summary: Audio plugins pack +Group: Applications/Multimedia +# The jackhost code is GPLv2+ +# The GUI code is LGPLv2+ +# ladspa plugin is LGPLv2+ +# lv2 plugin is GPLv2+ and LGPLv2+ and Public Domain +# dssi plugin is LGPLv2+ +License: GPLv2+ and LGPLv2+ +URL: http://calf.sourceforge.net/ +Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz +# Patch sent upstream: +# https://sourceforge.net/tracker/?func=detail&aid=2722674&group_id=211458&atid=1017841 +Patch0: %{name}-gcc44.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: desktop-file-utils +BuildRequires: dssi-devel +BuildRequires: expat-devel +BuildRequires: glib2-devel +BuildRequires: gtk2-devel +BuildRequires: jack-audio-connection-kit-devel +BuildRequires: ladspa-devel +BuildRequires: lash-devel +BuildRequires: libglade2-devel +BuildRequires: lv2core-devel + +%global common_desc \ +The Calf project aims at providing a set of high quality open source audio\ +plugins for musicians. All the included plugins are designed to be used with\ +multitrack software, as software replacement for instruments and guitar stomp\ +boxes. + +%description +%common_desc + +The plugins are available in LV2, DSSI, Standalone JACK and LADSPA formats. +This package contains the common files and the Standalone JACK plugin. + +%package -n ladspa-%{name}-plugins +Summary: Calf plugins in LADSPA format +Group: Applications/Multimedia +License: LGPLv2+ +Requires: %{name} = %{version}-%{release} +Requires: ladspa + +%description -n ladspa-%{name}-plugins +%common_desc + +This package contains only LADSPA effect plugins (no GUI), with LRDF. + +%package -n lv2-%{name}-plugins +Summary: Calf plugins in LV2 format +Group: Applications/Multimedia +License: GPLv2+ and LGPLv2+ and Public Domain +Requires: %{name} = %{version}-%{release} +Requires: lv2core + +%description -n lv2-%{name}-plugins +%common_desc + +This package contains LV2 synthesizers and effects, MIDI I/O and GUI +extensions. + +%package -n dssi-%{name}-plugins +Summary: Calf plugins in DSSI format +Group: Applications/Multimedia +License: LGPLv2+ +Requires: %{name} = %{version}-%{release} +Requires: dssi + +%description -n dssi-%{name}-plugins +%common_desc + +This package contains DSSI synthesizers and effects, also GUI extensions. + +%prep +%setup -q +%patch0 -p1 -b .gcc44 + +# Make sure that optflags are not overriden. +sed -i 's|-O3||' configure + +%build +# Add GenericName to the .desktop file +echo "GenericName= Audio Effects" >> %{name}.desktop.in +%configure \ + --with-ladspa-dir=%{_libdir}/ladspa/ \ + --with-dssi-dir=%{_libdir}/dssi/ \ + --with-lv2-dir=%{_libdir}/lv2 + +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + +desktop-file-install \ + --remove-category="Application" \ + --dir=$RPM_BUILD_ROOT%{_datadir}/applications \ + $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop + +# We don't need this file: +rm -f $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/icon-theme.cache + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +touch --no-create %{_datadir}/icons/hicolor &>/dev/null +update-mime-database %{_datadir}/mime &> /dev/null || : + +%postun +if [ $1 -eq 0 ] ; then + touch --no-create %{_datadir}/icons/hicolor &>/dev/null + gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null +fi +update-mime-database %{_datadir}/mime &> /dev/null || : + +%posttrans +gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING* README TODO +%{_bindir}/%{name}jackhost +%{_datadir}/applications/%{name}.desktop +%{_datadir}/%{name}/ +%{_datadir}/icons/hicolor/*/apps/%{name}.png +%{_mandir}/man1/%{name}* +%{_mandir}/man7/%{name}* + +%files -n ladspa-%{name}-plugins +%defattr(-,root,root,-) +%{_libdir}/ladspa/%{name}.so +%{_datadir}/ladspa/rdf/%{name}.rdf + +%files -n lv2-%{name}-plugins +%defattr(-,root,root,-) +%{_libdir}/lv2/%{name}.lv2/ + +%files -n dssi-%{name}-plugins +%defattr(-,root,root,-) +%{_libdir}/dssi/%{name}/ +%{_libdir}/dssi/%{name}.so + +%changelog +* Mon Mar 30 2009 Orcan Ogetbil - 0.0.18.3-1 +- Initial build diff --git a/import.log b/import.log new file mode 100644 index 0000000..e0cdc1b --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +calf-0_0_18_3-1_fc10:F-9:calf-0.0.18.3-1.fc10.src.rpm:1239333721 diff --git a/sources b/sources index e69de29..2532597 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +ef4a48629df9104da6f6081c33d3cfa0 calf-0.0.18.3.tar.gz