From b87341a701ea48417b8d2bbab25df590811d7d80 Mon Sep 17 00:00:00 2001 From: Orcan Ogetbil Date: May 14 2010 01:02:23 +0000 Subject: - Add Provides to the devel package for a virtual static package Sat Feb 20 2010 Orcan Ogetbil - 1.0.3-2 - Leave liblv2-gui.a and liblv2-plugin.a as static libs per upstream request - Remove -fno-var-tracking-assignments flag. gcc bug seems fixed Sat Jan 30 2010 Orcan Ogetbil - 1.0.3-1 - Updated to 1.0.3 - Some cleanup from the review request RHBZ#537363 Fri Nov 13 2009 Orcan Ogetbil - 1.0.2-1 - initial build --- diff --git a/.cvsignore b/.cvsignore index e69de29..5886b92 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +lv2-c++-tools-1.0.3.tar.bz2 diff --git a/import.log b/import.log new file mode 100644 index 0000000..52ab30e --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +lv2-c++-tools-1_0_3-3_fc12:F-12:lv2-c++-tools-1.0.3-3.fc12.src.rpm:1273798922 diff --git a/lv2-c++-tools-boost.patch b/lv2-c++-tools-boost.patch new file mode 100644 index 0000000..ad7b95f --- /dev/null +++ b/lv2-c++-tools-boost.patch @@ -0,0 +1,42 @@ +diff -rupN lv2-c++-tools-1.0.3.old/libraries/paq/turtleparser.cpp lv2-c++-tools-1.0.3/libraries/paq/turtleparser.cpp +--- lv2-c++-tools-1.0.3.old/libraries/paq/turtleparser.cpp 2010-01-07 09:19:06.000000000 -0500 ++++ lv2-c++-tools-1.0.3/libraries/paq/turtleparser.cpp 2010-01-30 19:15:50.000000000 -0500 +@@ -28,7 +28,7 @@ + #include + #include + +-#include ++#include + + #include "turtleparser.hpp" + +diff -rupN lv2-c++-tools-1.0.3.old/libraries/paq/turtleparser.hpp lv2-c++-tools-1.0.3/libraries/paq/turtleparser.hpp +--- lv2-c++-tools-1.0.3.old/libraries/paq/turtleparser.hpp 2010-01-07 09:19:06.000000000 -0500 ++++ lv2-c++-tools-1.0.3/libraries/paq/turtleparser.hpp 2010-01-30 19:15:50.000000000 -0500 +@@ -23,10 +23,10 @@ + #ifndef TURTLEPARSER_HPP + #define TURTLEPARSER_HPP + +-#include +-#include +-#include +-#include ++#include ++#include ++#include ++#include + + #include + #include +diff -rupN lv2-c++-tools-1.0.3.old/libraries/paq/unicode.hpp lv2-c++-tools-1.0.3/libraries/paq/unicode.hpp +--- lv2-c++-tools-1.0.3.old/libraries/paq/unicode.hpp 2010-01-07 09:19:06.000000000 -0500 ++++ lv2-c++-tools-1.0.3/libraries/paq/unicode.hpp 2010-01-30 19:15:50.000000000 -0500 +@@ -29,7 +29,7 @@ + + + using namespace std; +-using namespace boost::spirit; ++using namespace boost::spirit::classic; + + + template diff --git a/lv2-c++-tools.spec b/lv2-c++-tools.spec new file mode 100644 index 0000000..ad4492c --- /dev/null +++ b/lv2-c++-tools.spec @@ -0,0 +1,100 @@ +Summary: Support library for writing LV2 plugins in C++ +Name: lv2-c++-tools +Version: 1.0.3 +Release: 3%{?dist} +License: GPLv3+ +Group: System Environment/Libraries +URL: http://ll-plugins.nongnu.org/hacking.html +Source0: http://download.savannah.nongnu.org/releases-noredirect/ll-plugins/%{name}-%{version}.tar.bz2 +# Don't use deprecated headers. Sent upstream via email +Patch0: %{name}-boost.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: boost-devel +BuildRequires: doxygen +BuildRequires: gtkmm24-devel +BuildRequires: lv2core-devel + + +%description +This software package contains libraries and programs that should make it +easier to write LV2 plugins in C++. + + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Provides: %{name}-static = %{version}-%{release} +Requires: %{name} = %{version}-%{release} +Requires: pkgconfig + +%description devel +This package contains libraries and header files for developing LV2 plugins +that use %{name}. + +%prep +%setup -q +%patch0 -p1 -b .boost +# We will use our lv2core +rm -f headers/lv2.h +sed -i -e '/lv2\.h/d' Makefile + +%build +# this doesn't use GNU configure +./configure --prefix=%{_prefix} --CFLAGS="%{optflags}" +make %{?_smp_mflags} + +# Build the devel doc +doxygen + +%install +rm -rf %{buildroot} +make libdir=%{_libdir} DESTDIR=%{buildroot} install + +# We don't want this static library. The other ones are needed though +rm -f %{buildroot}%{_libdir}/libpaq.a + +# We will put the AUTHORS COPYING ChangeLog README files +# into the proper location +rm -f %{buildroot}%{_docdir}/%{name}/* + +# Add missing symlink +ln -sf libpaq.so.0.0.0 %{buildroot}%{_libdir}/libpaq.so.0 + + +%clean +rm -rf %{buildroot} + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING ChangeLog README +%{_libdir}/lib*.so.* + +%files devel +%defattr(-,root,root,-) +%doc html/* +%{_bindir}/* +%{_includedir}/%{name}/ +%{_libdir}/lib*.so +%{_libdir}/lib*.a +%{_libdir}/pkgconfig/*.pc + + +%changelog +* Sun Feb 21 2010 Orcan Ogetbil - 1.0.3-3 +- Add Provides to the devel package for a virtual static package + +* Sat Feb 20 2010 Orcan Ogetbil - 1.0.3-2 +- Leave liblv2-gui.a and liblv2-plugin.a as static libs per upstream request +- Remove -fno-var-tracking-assignments flag. gcc bug seems fixed + +* Sat Jan 30 2010 Orcan Ogetbil - 1.0.3-1 +- Updated to 1.0.3 +- Some cleanup from the review request RHBZ#537363 + +* Fri Nov 13 2009 Orcan Ogetbil - 1.0.2-1 +- initial build diff --git a/sources b/sources index e69de29..b10ac0d 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +8db2c4124af6ef932002bba9d99ba09f lv2-c++-tools-1.0.3.tar.bz2