Update to 0.6.0

Use hardened LDFLAGS
Enable tests
Use license macro
epel9
Guido Aulisi 8 years ago
parent bad4865119
commit 4adc689f49

1
.gitignore vendored

@ -2,3 +2,4 @@
/sratom-0.4.2.tar.bz2
/sratom-0.4.4.tar.bz2
/sratom-0.4.6.tar.bz2
/sratom-0.6.0.tar.bz2

@ -1 +1 @@
5cf28520418779bf41fb14a40fbb20ad sratom-0.4.6.tar.bz2
SHA512 (sratom-0.6.0.tar.bz2) = 899bb01896e2b65b69482041c7e06edc9e45e9a3466392c82a58f16dfc71462a6c3e3e16a5aa50a6347c8366ea72898468910a59a084762f75eb8c7031ceacf8

@ -2,8 +2,8 @@
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
Name: sratom
Version: 0.4.6
Release: 5%{?dist}
Version: 0.6.0
Release: 1%{?dist}
Summary: A C library for serializing LV2 plugins
Group: System Environment/Libraries
@ -14,9 +14,9 @@ BuildRequires: python
BuildRequires: doxygen
BuildRequires: graphviz
BuildRequires: sord-devel >= 0.12.0
BuildRequires: lv2-devel >= 1.0.0
%filter_setup
BuildRequires: serd-devel >= 0.23.0
BuildRequires: lv2-devel >= 1.10.0
BuildRequires: gcc
%description
%{name} is a new C library for serializing LV2 atoms to/from Turtle. It is
@ -48,6 +48,7 @@ sed -i -e "s| '-ftest-coverage'\]|\
%build
export CFLAGS="%{optflags}" CXXFLAGS="%{optflags}"
export LDFLAGS="%{__global_ldflags}"
./waf configure -v \
--prefix=%{_prefix} \
--libdir=%{_libdir} \
@ -63,9 +64,8 @@ DESTDIR=%{buildroot} ./waf install
chmod +x %{buildroot}%{_libdir}/lib%{name}-0.so.*
install -pm 644 COPYING NEWS README %{buildroot}%{_pkgdocdir}
# tests failing - see http://dev.drobilla.net/ticket/832
#%%check
#./build/sratom_test
%check
./build/sratom_test
%post -p /sbin/ldconfig
@ -74,6 +74,8 @@ install -pm 644 COPYING NEWS README %{buildroot}%{_pkgdocdir}
%files
%{_pkgdocdir}
%exclude %{_pkgdocdir}/%{name}-%{maj}/
%exclude %{_pkgdocdir}/COPYING
%license COPYING
%{_libdir}/lib%{name}-%{maj}.so.*
%files devel
@ -84,6 +86,12 @@ install -pm 644 COPYING NEWS README %{buildroot}%{_pkgdocdir}
%{_mandir}/man3/*
%changelog
* Tue Mar 14 2017 Guido Aulisi <guido.aulisi@gmail.com> - 0.6.0-1
- Update to 0.6.0
- Use hardened LDFLAGS
- Enable tests
- Use license macro
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.6-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

Loading…
Cancel
Save