libslv2/libslv2.spec

131 lines
3.9 KiB
RPMSpec
Raw Permalink Normal View History

Name: libslv2
Version: 0.6.6
Release: 4mamba
Summary: A library to make the use of LV2 plugins as simple as possible for applications
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.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
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libjack-devel
BuildRequires: librdf-devel
## AUTOBUILDREQ-END
BuildRequires: liblv2core-devel
BuildRequires: libraptor-devel
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.
%package -n slv2
Group: Applications/Multimedia
Summary: Utility applications for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n slv2
SLV2 is a library to make the use of LV2 plugins as simple as possible for applications.
This package contains utility applications for %{name}.
%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}
# FIXME: remove dirty file
rm -f %{buildroot}%{_mandir}/man3/_*
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/*.so.*
%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/*
%{_mandir}/man3/slv2.3*
%{_mandir}/man3/slv2_collections.3*
%{_mandir}/man3/slv2_data.3*
%{_mandir}/man3/slv2_library.3*
%{_mandir}/man3/slv2_util.3*
%{_mandir}/man3/slv2_world.3*
%doc ChangeLog README
%files -n slv2
%defattr(-,root,root)
%{_bindir}/lv2_inspect
%{_bindir}/lv2_jack_host
%{_bindir}/lv2_list
%{_bindir}/lv2_simple_jack_host
%{_mandir}/man1/lv2_inspect.1*
%{_mandir}/man1/lv2_jack_host.1*
%{_mandir}/man1/lv2_list.1*
%{_mandir}/man1/lv2_simple_jack_host.1*
%changelog
* Sun Aug 31 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.6-4mamba
- move eecutables and manual to slv2 new subpackage
* 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