Update to 0.26.0

Use hardened LDFLAGS
Remove deprecated Groups tags
epel9
Guido Aulisi 8 years ago
parent fc55bb5a4f
commit 83df408b31

1
.gitignore vendored

@ -4,3 +4,4 @@
/serd-0.18.2.tar.bz2 /serd-0.18.2.tar.bz2
/serd-0.20.0.tar.bz2 /serd-0.20.0.tar.bz2
/serd-0.22.0.tar.bz2 /serd-0.22.0.tar.bz2
/serd-0.26.0.tar.bz2

@ -1,11 +1,10 @@
%global maj 0 %global maj 0
Name: serd Name: serd
Version: 0.22.0 Version: 0.26.0
Release: 2%{?dist} Release: 1%{?dist}
Summary: A lightweight C library for RDF syntax Summary: A lightweight C library for RDF syntax
Group: System Environment/Libraries
License: ISC License: ISC
URL: http://drobilla.net/software/serd/ URL: http://drobilla.net/software/serd/
Source0: http://download.drobilla.net/%{name}-%{version}.tar.bz2 Source0: http://download.drobilla.net/%{name}-%{version}.tar.bz2
@ -28,7 +27,6 @@ LV2 plugins as simple as possible for applications.
%package devel %package devel
Summary: Development libraries and headers for %{name} Summary: Development libraries and headers for %{name}
Group: Development/Libraries
Requires: %{name}%{_isa} = %{version}-%{release} Requires: %{name}%{_isa} = %{version}-%{release}
%description devel %description devel
@ -44,6 +42,7 @@ sed -i -e 's|bld.add_post_fun(autowaf.run_ldconfig)||' wscript
%build %build
export CFLAGS="%{optflags}" export CFLAGS="%{optflags}"
export LDFLAGS="%{__global_ldflags}"
./waf configure \ ./waf configure \
--prefix=%{_prefix} \ --prefix=%{_prefix} \
--libdir=%{_libdir} \ --libdir=%{_libdir} \
@ -57,6 +56,9 @@ export CFLAGS="%{optflags}"
%install %install
DESTDIR=%{buildroot} ./waf install DESTDIR=%{buildroot} ./waf install
chmod +x %{buildroot}%{_libdir}/lib%{name}-%{maj}.so.* 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 %post -p /sbin/ldconfig
@ -64,17 +66,23 @@ chmod +x %{buildroot}%{_libdir}/lib%{name}-%{maj}.so.*
%files %files
%doc AUTHORS COPYING NEWS README %doc AUTHORS COPYING NEWS README
%doc %{_mandir}/man1/serdi.1*
%{_libdir}/lib%{name}-%{maj}.so.* %{_libdir}/lib%{name}-%{maj}.so.*
%{_bindir}/serdi %{_bindir}/serdi
%{_mandir}/man1/serdi.1*
%files devel %files devel
%doc %{_mandir}/man3/serd.3*
%doc %{_docdir}/%{name}/%{name}-%{maj}/html/
%{_libdir}/lib%{name}-%{maj}*.so %{_libdir}/lib%{name}-%{maj}*.so
%{_libdir}/pkgconfig/%{name}*.pc %{_libdir}/pkgconfig/%{name}*.pc
%{_includedir}/%{name}-%{maj}/ %{_includedir}/%{name}-%{maj}/
%{_mandir}/man1/*.1*
%changelog %changelog
* 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 * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.22.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

@ -1 +1 @@
541bceb9f7cec50f4bf618060332b87c serd-0.22.0.tar.bz2 SHA512 (serd-0.26.0.tar.bz2) = 749bf161d38cb8489f196ece2bf2b7c22e9113d05b38452592d92f9ffdec25d340e680e697e9531dab80d2ef04600690f9333208a4ef22307b8ed8e238d5c7b8

Loading…
Cancel
Save