You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
serd/serd.spec

157 lines
5.3 KiB

13 years ago
%global maj 0
Name: serd
Version: 0.28.0
Release: 3%{?dist}
13 years ago
Summary: A lightweight C library for RDF syntax
License: ISC
URL: http://drobilla.net/software/serd/
Source0: http://download.drobilla.net/%{name}-%{version}.tar.bz2
BuildRequires: doxygen
BuildRequires: graphviz
BuildRequires: glib2-devel
BuildRequires: python2
BuildRequires: gcc
13 years ago
%description
%{name} is a lightweight C library for RDF syntax which supports reading and
writing Turtle and NTriples.
Serd is not intended to be a swiss-army knife of RDF syntax, but rather is
suited to resource limited or performance critical applications (e.g.
converting many gigabytes of NTriples to Turtle), or situations where a
simple reader/writer with minimal dependencies is ideal (e.g. in LV2
implementations or embedded applications).is a library to make the use of
LV2 plugins as simple as possible for applications.
%package devel
Summary: Development libraries and headers for %{name}
Requires: %{name}%{_isa} = %{version}-%{release}
%description devel
%{name} is a lightweight C library for RDF syntax which supports reading and
writing Turtle and NTriples.
This package contains the headers and development libraries for %{name}.
%prep
%setup -q
# we'll run ldconfig
sed -i -e 's|bld.add_post_fun(autowaf.run_ldconfig)||' wscript
%build
export CFLAGS="%{optflags}"
export LDFLAGS="%{__global_ldflags}"
13 years ago
./waf configure \
--prefix=%{_prefix} \
--libdir=%{_libdir} \
--mandir=%{_mandir} \
--datadir=%{_datadir} \
8 years ago
--docdir=%{_docdir} \
13 years ago
--test \
--docs
./waf build -v %{?_smp_mflags}
%install
DESTDIR=%{buildroot} ./waf install
chmod +x %{buildroot}%{_libdir}/lib%{name}-%{maj}.so.*
# Move devel docs to the right directory
install -d %{buildroot}%{_docdir}/%{name}/%{name}-%{maj}
mv %{buildroot}%{_docdir}/%{name}-%{maj}/html %{buildroot}%{_docdir}/%{name}/%{name}-%{maj}/html
13 years ago
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%license COPYING
%doc AUTHORS NEWS README.md
%doc %{_mandir}/man1/serdi.1*
13 years ago
%{_libdir}/lib%{name}-%{maj}.so.*
%{_bindir}/serdi
%files devel
%doc %{_mandir}/man3/serd.3*
%doc %{_docdir}/%{name}/%{name}-%{maj}/
13 years ago
%{_libdir}/lib%{name}-%{maj}*.so
%{_libdir}/pkgconfig/%{name}*.pc
%{_includedir}/%{name}-%{maj}/
%changelog
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.28.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Fri Aug 11 2017 Kalev Lember <klember@redhat.com> - 0.28.0-2
- Bump and rebuild for an rpm signing issue
* Thu Aug 10 2017 Guido Aulisi <guido.aulisi@gmail.com> - 0.28.0-1
- Update to 0.28.0
- Use license macro
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.26.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.26.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Tue Mar 21 2017 Guido Aulisi <guido.aulisi@gmail.com> - 0.26.0-2
- Fix unowned mid-level directory
* Mon Mar 13 2017 Guido Aulisi <guido.aulisi@gmail.com> - 0.26.0-1
- Update to 0.26.0
- Use hardened LDFLAGS
- Remove deprecated Groups tags
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.22.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
8 years ago
* Fri Sep 16 2016 Brendan Jones <brendan.jones.it@gmail.com> - 0.22.0-1
- Update to 0.22.0
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.20.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
11 years ago
* Wed Aug 20 2014 Brendan Jones <brendan.jones.it@gmail.com> 0.20.0-1
- Update to 0.20.0
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Dec 14 2013 Ville Skyttä <ville.skytta@iki.fi> - 0.18.2-3
- Install docs to %%{_pkgdocdir} where available (#994091).
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Tue May 21 2013 Brendan Jones <brendan.jones.it@gmail.com> 0.18.2-1
- New upstream release
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Sat Dec 15 2012 Brendan Jones <brendan.jones.it@gmail.com> 0.18.0-1
- New upstream release
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Fri Apr 20 2012 Brendan Jones <brendan.jones.it@gmail.com> - 0.14.0-1
- New upstream release.
13 years ago
* Sat Jan 14 2012 Brendan Jones <brendan.jones.it@gmail.com> - 0.5.0-3
- Move man1 file, furtherqualify wildcards.
* Sat Jan 14 2012 Brendan Jones <brendan.jones.it@gmail.com> - 0.5.0-2
- License to ISC, remove tabs
* Fri Dec 23 2011 Brendan Jones <brendan.jones.it@gmail.com> - 0.5.0-1
- Initial build