rpms/slv2/devel import.log, NONE, 1.1 slv2.spec, NONE, 1.1 slv2_plugininstance.h_r1948.diff, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Orcan Ogetbil oget at fedoraproject.org
Mon Mar 30 22:09:40 UTC 2009


Author: oget

Update of /cvs/pkgs/rpms/slv2/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv32502/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log slv2.spec slv2_plugininstance.h_r1948.diff 
Log Message:
* Sat Mar 28 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 0.6.2-2
- Remove redland flags from the .pc file
- Change CPPFLAGS to CXXFLAGS
- Move API documentation to the -devel package

* Thu Mar 26 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 0.6.2-1
- Initial build



--- NEW FILE import.log ---
slv2-0_6_2-2_fc10:HEAD:slv2-0.6.2-2.fc10.src.rpm:1238450928


--- NEW FILE slv2.spec ---
Name:			slv2
Summary: 		LV2 host library
Version:		0.6.2
Release:		2%{?dist}
License:		GPLv2+
Group:			System Environment/Libraries
Source0:		http://download.drobilla.net/%{name}-%{version}.tar.bz2
# Some plugins fail (NULL is undefined) to compile without this patch.
# Imported from the upstream trunk:
# http://dev.drobilla.net/changeset/1948/trunk/slv2/slv2/plugininstance.h
Patch0:			slv2_plugininstance.h_r1948.diff
URL:			http://drobilla.net/software/slv2/
BuildRoot:		%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:		doxygen
BuildRequires:		lv2core-devel
BuildRequires:		python
BuildRequires:		redland-devel
BuildRequires:		jack-audio-connection-kit-devel


%description
SLV2 is a library to make the use of LV2 plugins as simple as possible for 
applications. It is written in standard C using the Redland RDF toolkit. The 
Data (RDF) and code (shared library) functionality in SLV2 is strictly
separated so it is simple to control where each is used (e.g. it is possible
to discover/investigate plugins and related data without loading any shared 
libraries, avoiding the associated risks).

%package devel
Summary:	Development libraries and headers for %{name}
Group:		Development/Libraries
Requires:	lv2core-devel 
Requires:	redland-devel
Requires:	pkgconfig
Requires:	%{name} = %{version}-%{release}

%description devel
SLV2 is a library to make the use of LV2 plugins as simple as possible for
applications. It is written in standard C using the Redland RDF toolkit. The
Data (RDF) and code (shared library) functionality in SLV2 is strictly
separated so it is simple to control where each is used (e.g. it is possible
to discover/investigate plugins and related data without loading any shared
libraries, avoiding the associated risks).

This package contains the headers and development libraries for SLV2.

%prep
%setup -q 
%patch0 -p2 -b .add_stdlib.h

# Fix possible multilib issues
sed -i 's|/lib/|/%{_lib}/|g' src/world.c
sed -i "s|/lib'|/%{_lib}'|" autowaf.py

# Remove unnecessary flags
sed -i 's|@REDLAND.*@||' slv2.pc.in

%build
export CCFLAGS="%{optflags}"
export CXXFLAGS="%{optflags}"
./waf configure --prefix=%{_prefix} \
	--libdir=%{_libdir} \
	--htmldir=%{_docdir}/%{name}-devel-%{version} \
	--build-docs
./waf build -v %{?_smp_mflags}

%install
rm -rf %{buildroot}
DESTDIR=%{buildroot} ./waf install
chmod +x %{buildroot}%{_libdir}/lib%{name}.so*

%clean
rm -rf %{buildroot}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README
%{_bindir}/lv2*
%{_libdir}/lib%{name}.so.*

%files devel
%defattr(-,root,root,-)
%{_docdir}/%{name}-devel-%{version}
%{_includedir}/%{name}/
%{_libdir}/pkgconfig/%{name}.pc
%{_libdir}/lib%{name}.so
%{_mandir}/man3/%{name}*

%changelog
* Sat Mar 28 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 0.6.2-2
- Remove redland flags from the .pc file
- Change CPPFLAGS to CXXFLAGS
- Move API documentation to the -devel package

* Thu Mar 26 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 0.6.2-1
- Initial build

slv2_plugininstance.h_r1948.diff:

--- NEW FILE slv2_plugininstance.h_r1948.diff ---
Index: trunk/slv2/slv2/plugininstance.h
===================================================================
--- trunk/slv2/slv2/plugininstance.h (revision 1935)
+++ trunk/slv2/slv2/plugininstance.h (revision 1948)
@@ -25,4 +25,5 @@
 
 #include <assert.h>
+#include <stdlib.h>
 #include "lv2.h"
 #include "slv2/plugin.h"


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/slv2/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	30 Mar 2009 21:32:06 -0000	1.1
+++ .cvsignore	30 Mar 2009 22:09:09 -0000	1.2
@@ -0,0 +1 @@
+slv2-0.6.2.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/slv2/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	30 Mar 2009 21:32:06 -0000	1.1
+++ sources	30 Mar 2009 22:09:09 -0000	1.2
@@ -0,0 +1 @@
+4e8bb5f5e96d0edea988018b6297cf99  slv2-0.6.2.tar.bz2




More information about the fedora-extras-commits mailing list