Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Guido Aulisi
d206d24ba3 Update to 0.30.0
Minor spec cleanup
2018-08-28 08:46:55 +02:00
3 changed files with 21 additions and 18 deletions

1
.gitignore vendored
View file

@ -6,3 +6,4 @@
/serd-0.22.0.tar.bz2
/serd-0.26.0.tar.bz2
/serd-0.28.0.tar.bz2
/serd-0.30.0.tar.bz2

View file

@ -1,8 +1,8 @@
%global maj 0
Name: serd
Version: 0.28.0
Release: 2%{?dist}
Version: 0.30.0
Release: 1%{?dist}
Summary: A lightweight C library for RDF syntax
License: ISC
@ -12,19 +12,20 @@ Source0: http://download.drobilla.net/%{name}-%{version}.tar.bz2
BuildRequires: doxygen
BuildRequires: graphviz
BuildRequires: glib2-devel
BuildRequires: python
BuildRequires: python2
BuildRequires: python2-devel
BuildRequires: gcc
%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.
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}
@ -42,9 +43,8 @@ This package contains the headers and development libraries for %{name}.
sed -i -e 's|bld.add_post_fun(autowaf.run_ldconfig)||' wscript
%build
export CFLAGS="%{optflags}"
export LDFLAGS="%{__global_ldflags}"
./waf configure \
%set_build_flags
%{__python2} waf configure \
--prefix=%{_prefix} \
--libdir=%{_libdir} \
--mandir=%{_mandir} \
@ -52,18 +52,16 @@ export LDFLAGS="%{__global_ldflags}"
--docdir=%{_docdir} \
--test \
--docs
./waf build -v %{?_smp_mflags}
%{__python2} waf build -v %{?_smp_mflags}
%install
DESTDIR=%{buildroot} ./waf install
DESTDIR=%{buildroot} %{__python2} 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
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files
%license COPYING
@ -80,6 +78,10 @@ mv %{buildroot}%{_docdir}/%{name}-%{maj}/html %{buildroot}%{_docdir}/%{name}/%{n
%{_includedir}/%{name}-%{maj}/
%changelog
* Tue Aug 28 2018 Guido Aulisi <guido.aulisi@gmail.com> - 0.30.0-1
- Update to 0.30.0
- Minor spec cleanup
* Fri Aug 11 2017 Kalev Lember <klember@redhat.com> - 0.28.0-2
- Bump and rebuild for an rpm signing issue

View file

@ -1 +1 @@
SHA512 (serd-0.28.0.tar.bz2) = b25cc70af17ff821812ab2a70c2812c1713ff811a0f18fb5d5c54f3b67e0c68293aabedfacd687afe6b7acdfd81602ef81764d7e11bc0d933de738bc6d4fce3e
SHA512 (serd-0.30.0.tar.bz2) = 23ff30f2d3dd622bdd65deee36cb92ae5f4a0c539cf32a1bd9802f2d7cf4aa3e96f25d2fe579277d1ab943f6d25c0be68d7b4863f83d4733f489462620a4c1bb