2012-02-02 06:16:18 +00:00
|
|
|
%global maj 0
|
|
|
|
|
|
|
|
Name: sord
|
2013-05-20 22:28:09 +00:00
|
|
|
Version: 0.12.0
|
2013-07-30 12:45:53 +00:00
|
|
|
Release: 2%{?dist}
|
2012-02-02 06:16:18 +00:00
|
|
|
Summary: A lightweight Resource Description Framework (RDF) C library
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: ISC
|
|
|
|
URL: http://drobilla.net/software/sord/
|
|
|
|
Source0: http://download.drobilla.net/%{name}-%{version}.tar.bz2
|
|
|
|
|
|
|
|
BuildRequires: boost-devel
|
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: graphviz
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
BuildRequires: python
|
2012-04-20 18:00:39 +00:00
|
|
|
BuildRequires: serd-devel >= 0.14.0
|
2012-02-02 06:16:18 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{name} is a lightweight C library for storing Resource Description
|
|
|
|
Framework (RDF) data in memory. %{name} and parent library serd form
|
|
|
|
a lightweight RDF tool-set for resource limited or performance critical
|
|
|
|
applications.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development libraries and headers for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name}%{_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%{name} is a lightweight C library for storing Resource Description
|
|
|
|
Framework (RDF) data in memory.
|
|
|
|
|
|
|
|
This package contains the headers and development libraries for %{name}.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
# we'll run ldconfig, and add our optflags
|
|
|
|
sed -i -e "s|bld.add_post_fun(autowaf.run_ldconfig)||" \
|
|
|
|
-e "s|cflags = [ '-DSORD_INTERNAL' ]\
|
|
|
|
|cflags = [ '-DSORD_INTERNAL' ] + '%optflags'.split(' ') |" wscript
|
|
|
|
|
|
|
|
%build
|
|
|
|
export CXXFLAGS="%{optflags}"
|
|
|
|
export CFLAGS="%{optflags}"
|
|
|
|
./waf configure \
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
--libdir=%{_libdir} \
|
|
|
|
--mandir=%{_mandir} \
|
|
|
|
--datadir=%{_datadir} \
|
|
|
|
--docdir=%{_docdir}/%{name}-devel-%{version} \
|
|
|
|
--test \
|
|
|
|
--docs
|
|
|
|
./waf build -v %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
DESTDIR=%{buildroot} ./waf install
|
|
|
|
chmod +x %{buildroot}%{_libdir}/lib%{name}-%{maj}.so.*
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
2012-04-20 18:00:39 +00:00
|
|
|
%doc AUTHORS NEWS README COPYING
|
2012-02-02 06:16:18 +00:00
|
|
|
%{_libdir}/lib%{name}-%{maj}.so.*
|
|
|
|
%{_bindir}/sordi
|
2012-04-20 18:00:39 +00:00
|
|
|
%{_bindir}/sord_validate
|
2012-02-02 06:16:18 +00:00
|
|
|
%{_mandir}/man1/sordi.1.gz
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_libdir}/lib%{name}-%{maj}.so
|
|
|
|
%{_libdir}/pkgconfig/%{name}-%{maj}.pc
|
|
|
|
%{_includedir}/%{name}-%{maj}/
|
|
|
|
%{_docdir}/%{name}-devel-%{version}
|
2012-12-15 12:00:14 +00:00
|
|
|
%{_mandir}/man1/%{name}*.1.*
|
|
|
|
%{_mandir}/man3/%{name}*.3.*
|
2012-02-02 06:16:18 +00:00
|
|
|
|
|
|
|
%changelog
|
2013-07-30 12:45:53 +00:00
|
|
|
* Tue Jul 30 2013 Petr Machata <pmachata@redhat.com> - 0.12.0-2
|
|
|
|
- Rebuild for boost 1.54.0
|
|
|
|
|
2013-05-20 22:28:09 +00:00
|
|
|
* Tue May 21 2013 Brendan Jones <brendan.jones.it@gmail.com> 0.12.0-1
|
|
|
|
- New upstream release
|
|
|
|
|
2013-02-15 00:15:40 +00:00
|
|
|
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-12-15 12:45:21 +00:00
|
|
|
* Sat Dec 15 2012 Brendan Jones <brendan.jones.it@gmail.com> 0.10.4-2
|
|
|
|
- Rebuilt for serd
|
|
|
|
|
2012-12-15 12:00:14 +00:00
|
|
|
* Sat Dec 15 2012 Brendan Jones <brendan.jones.it@gmail.com> 0.10.4-1
|
|
|
|
- New upstream release
|
|
|
|
|
2012-07-24 15:22:55 +00:00
|
|
|
* Tue Jul 24 2012 Brendan Jones <brendan.jones.it@gmail.com> 0.8.0-2
|
|
|
|
- Remove unwanted man file
|
|
|
|
|
2012-07-21 20:14:00 +00:00
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-04-20 18:00:39 +00:00
|
|
|
* Fri Apr 20 2012 Brendan Jones <brendan.jones.it@gmail.com> - 0.8.0-1
|
|
|
|
- New upstream release
|
|
|
|
|
2012-02-02 06:16:18 +00:00
|
|
|
* Thu Jan 19 2012 Brendan Jones <brendan.jones.it@gmail.com> - 0.5.0-3
|
|
|
|
- Correct macros in description, expand summary.
|
|
|
|
|
|
|
|
* Mon Jan 16 2012 Brendan Jones <brendan.jones.it@gmail.com> - 0.5.0-2
|
|
|
|
- Correct macros in description, expand summary.
|
|
|
|
|
|
|
|
* Fri Dec 23 2011 Brendan Jones <brendan.jones.it@gmail.com> - 0.5.0-1
|
|
|
|
- Initial build
|