Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > a9f924497ca3b3369fc7e8e11f0484c7 > files > 2

lilv-0.14.4-2.mga3.src.rpm

%define _enable_debug_packages %{nil}
%define debug_package	%{nil}
%define lib_major	0
%define lib_name	%mklibname %{name} %{lib_major}
%define lib_name_devel	%mklibname %{name} -d

Name:		lilv
Version:	0.14.4
Release:	%mkrel 2
Summary:	LV2 plugin library for applications and hosts
Source0:	http://download.drobilla.net/%{name}-%{version}.tar.bz2
URL:		http://drobilla.net/software/%{name}/
License:	ISC
Group:		System/Libraries

BuildRequires:	waf
BuildRequires:	pkgconfig
BuildRequires:	python
BuildRequires:	sord-devel
BuildRequires:	pkgconfig(lv2)
BuildRequires:	sratom-devel

%description
LV2 plugin library for applications and hosts

%files -n %{name}
%doc COPYING README
%doc %{_mandir}/man1/lv2info.1.xz
%doc %{_mandir}/man1/lv2ls.1.xz
%{_bindir}/lilv-bench
%{_bindir}/lv2info
%{_bindir}/lv2ls
%{_bindir}/lv2bench
%config(noreplace) %attr(644,root,root) %{_sysconfdir}/bash_completion.d/lilv

#-----------------------------------
%package -n %{lib_name}

Summary:	LV2 plugin library for applications and hosts
Group:		System/Libraries

%description -n %{lib_name}
Lilv is a 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.

%files -n %{lib_name}
%{_libdir}/lib%{name}-%{lib_major}.so.*

#-----------------------------------
%package -n %{lib_name_devel}
Summary:	Headers for the lilv LV2 library
Group:		System/Libraries
Requires:	%{lib_name} = %{version}-%{release}
Requires:	pkgconfig
Provides:	%{name}-devel = %{version}-%{release}

%description -n %{lib_name_devel}
Development files needed to build applications against lilv.

%files -n %{lib_name_devel}
%{_libdir}/lib%{name}-%{lib_major}.so
%dir %{_includedir}/%{name}-%{lib_major}/%{name}
%{_includedir}/%{name}-%{lib_major}/%{name}/*.h
%{_includedir}/%{name}-%{lib_major}/%{name}/*.hpp
%{_libdir}/pkgconfig/%{name}-%{lib_major}.pc

#-----------------------------------
%prep
%setup -q

%build
./waf configure \
--prefix=%{_prefix} \
--mandir=%{_mandir} \
--libdir=%{_libdir} \
--configdir=%{_sysconfdir}
./waf

%install
./waf install --destdir=%{buildroot}


%changelog

* Sat Jan 12 2013 umeabot <umeabot> 0.14.4-2.mga3
+ Revision: 358790
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Sat Nov 24 2012 barjac <barjac> 0.14.4-1.mga3
+ Revision: 321488
- new version
- minor spec clean
- thanks to Philippe Didier

* Wed Sep 07 2011 tv <tv> 0.4.4-1.mga2
+ Revision: 139990
- imported package lilv