libslv2/libslv2.spec

122 lines
3.4 KiB
RPMSpec

Name: libslv2
Version: 0.6.6
Release: 3mamba
Summary: A library to make the use of LV2 plugins as simple as possible for applications.
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: gil <puntogil@libero.it>
URL: http://wiki.drobilla.net/SLV2
Source: http://download.drobilla.net/slv2-%{version}.tar.bz2
Source1: lv2_shaded_green.png
Source2: lv2_shaded_orange.png
License: GPL
BuildRequires: liblv2core-devel
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libjack-devel
BuildRequires: libraptor-devel
BuildRequires: librdf-devel
## AUTOBUILDREQ-END
BuildRequires: doxygen
BuildRoot: %{_tmppath}/%{name}-%{version}-root
# SLV2 build configuration:
# Building JACK clients: yes
%description
SLV2 is a library to make the use of LV2 plugins as simple as possible for applications.
SLV2 is written in standard C using the Redland RDF toolkit, and is known to work on GNU/Linux and Mac OS X.
Licensed under the GPL v2 or later for now, but if this is a problem contact me and I may change it.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
SLV2 is a library to make the use of LV2 plugins as simple as possible for applications.
SLV2 is written in standard C using the Redland RDF toolkit, and is known to work on GNU/Linux and Mac OS X.
Licensed under the GPL v2 or later for now, but if this is a problem contact me and I may change it.
This package contains static libraries and header files need for development.
%prep
%setup -q -n slv2-%{version}
%build
./waf configure \
--prefix=%{_prefix} \
--libdir=%{_libdir} \
--debug \
--strict \
--build-docs
## --enable-bindings \
./waf build %{_smp_mflags}
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
./waf install --destdir=%{buildroot}
%ifarch x86_64
# FIXME: remove dirty file
rm -f %{buildroot}%{_mandir}/man3/_usr_src_*
%endif
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/lv2_inspect
%{_bindir}/lv2_jack_host
%{_bindir}/lv2_list
%{_bindir}/lv2_simple_jack_host
%{_libdir}/*.so.*
%{_mandir}/man1/lv2_inspect.1.gz
%{_mandir}/man1/lv2_jack_host.1.gz
%{_mandir}/man1/lv2_list.1.gz
%{_mandir}/man1/lv2_simple_jack_host.1.gz
%{_mandir}/man3/slv2.3.gz
%{_mandir}/man3/slv2_collections.3.gz
%{_mandir}/man3/slv2_data.3.gz
%{_mandir}/man3/slv2_library.3.gz
%{_mandir}/man3/slv2_util.3.gz
%{_mandir}/man3/slv2_world.3.gz
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/slv2
%{_includedir}/slv2/*.h
#%{_libdir}/*.a
#%{_libdir}/*.la
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_docdir}/slv2/*
%doc ChangeLog README
%changelog
* Sat Oct 29 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.6-3mamba
- rebuilt with librasqal 3
* Thu Jun 03 2010 Automatic Build System <autodist@mambasoft.it> 0.6.6-2mamba
- automatic rebuild by autodist
* Wed Jun 10 2009 Automatic Build System <autodist@mambasoft.it> 0.6.6-1mamba
- automatic update by autodist
* Wed Dec 03 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.2-1mamba
- update to 0.6.2
- replace buildrequirement libredland-devel with librdf-devel
* Fri Aug 22 2008 gil <puntogil@libero.it> 0.6.0-1mamba
- package created by autospec