lilv/lilv.spec

102 lines
3.2 KiB
RPMSpec
Raw Normal View History

Name: lilv
Version: 0.18.0
Release: 1mamba
Summary: A C 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://drobilla.net/software/lilv/
Source: http://download.drobilla.net/lilv-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: liblv2-devel
BuildRequires: libserd-devel
BuildRequires: libsord-devel
BuildRequires: libsratom-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Lilv is a C library to make the use of LV2 plugins as simple as possible for applications. Lilv is the successor to SLV2, rewritten to be significantly faster and have minimal dependencies. It is stable, well-tested software (the included test suite covers over 90% of the code) in use by several applications.
%package -n lib%{name}
Group: System/Libraries
Summary: A C library to make the use of LV2 plugins as simple as possible for applications
%description -n lib%{name}
Lilv is a C library to make the use of LV2 plugins as simple as possible for applications. Lilv is the successor to SLV2, rewritten to be significantly faster and have minimal dependencies. It is stable, well-tested software (the included test suite covers over 90% of the code) in use by several applications.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
BuildRequires: liblv2-devel
BuildRequires: libserd-devel
Requires: liblv2
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
./waf configure \
--configdir=%{_sysconfdir} \
--prefix=%{_prefix} \
--libdir=%{_libdir}
./waf %{?_smp_mflags} build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
./waf install --destdir=%{buildroot}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_sysconfdir}/bash_completion.d/lilv
%{_bindir}/lilv-bench
%{_bindir}/lv2bench
%{_bindir}/lv2info
%{_bindir}/lv2ls
%{_mandir}/man1/lv2info.1.gz
%{_mandir}/man1/lv2ls.1.gz
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/liblilv-0.so.*
%doc AUTHORS COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/lilv-0
%dir %{_includedir}/lilv-0/lilv
%{_includedir}/lilv-0/lilv/lilv.h
%{_includedir}/lilv-0/lilv/lilvmm.hpp
%{_libdir}/liblilv-0.so
%{_libdir}/pkgconfig/lilv-0.pc
%doc NEWS README
%changelog
* Sun Feb 02 2014 Automatic Build System <autodist@mambasoft.it> 0.18.0-1mamba
- automatic version update by autodist
* Sat Mar 02 2013 Automatic Build System <autodist@mambasoft.it> 0.16.0-1mamba
- automatic version update by autodist
* Thu Jan 31 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.14.4-1mamba
- package created by silvan using the webbuild interface