Name: sord Version: 0.10.4 Release: %mkrel 3 Summary: Lightweight C library for storing RDF data in memory %define lib_major 0 %define lib_name %mklibname %{name} %{lib_major} %define lib_name_devel %mklibname %{name} -d Source: http://download.drobilla.net/%{name}-%{version}.tar.bz2 URL: http://drobilla.net/software/%{name}/ License: MIT-like Group: System/Libraries BuildRequires: waf BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(serd-0) %description Lightweight C library for storing RDF data in memory. %files %doc COPYING README %doc %{_mandir}/man1/* %{_bindir}/sordi %{_bindir}/sord_validate #----------------------------------- %package -n %{lib_name} Summary: Lightweight RDF syntax library Group: System/Libraries %description -n %{lib_name} Lightweight C library for storing RDF data in memory. %files -n %{lib_name} %{_libdir}/lib%{name}-%{lib_major}.so.* #----------------------------------- %package -n %{lib_name_devel} Summary: Headers for the sord RDF storage 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 sord. %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 %setup_compile_flags export LINKFLAGS="%ldflags" ./waf configure --prefix=%{_prefix} --mandir=%{_mandir} --libdir=%{_libdir} ./waf %install %setup_compile_flags export LINKFLAGS="%ldflags" ./waf install --destdir=%{buildroot} %changelog * Mon Jan 14 2013 umeabot <umeabot> 0.10.4-3.mga3 + Revision: 382349 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sat Dec 01 2012 fwang <fwang> 0.10.4-2.mga3 + Revision: 323842 - rebuild for new pcre - use flags * Fri Nov 23 2012 barjac <barjac> 0.10.4-1.mga3 + Revision: 321357 - added two new files - new version - minor spec clean * Wed Sep 07 2011 tv <tv> 0.4.2-1.mga2 + Revision: 140006 - imported package sord