Corrected configure step

epel9
Brendan Jones 13 years ago
parent 2776be5b1b
commit 8a0308b750

@ -1,7 +1,7 @@
%global maj 0
Name: lilv
Version: 0.14.0
Version: 0.14.2
Release: 2%{?dist}
Summary: An LV2 Resource Description Framework Library
@ -14,7 +14,7 @@ BuildRequires: graphviz
BuildRequires: sord-devel >= 0.5.0
BuildRequires: sratom-devel >= 0.2.0
BuildRequires: lv2-devel >= 1.0.0
BuildRequires: python-devel
BuildRequires: python2-devel
BuildRequires: swig
%filter_setup
@ -52,25 +52,19 @@ This package contains the python libraries for %{name}.
# we'll run ld config
sed -i -e 's|bld.add_post_fun(autowaf.run_ldconfig)||' wscript
# for packagers sake, build the tests with debug symbols
sed -i -e "s| '-ftest-coverage' \]|\
sed -i -e "s|'-ftest-coverage'\]|\
'-ftest-coverage' \] + '%{optflags}'.split(' ')|" wscript
%build
export CFLAGS="%{optflags}" CXXFLAGS="%{optflags}"
./waf configure -v \
--prefix=%{_prefix} \
--libdir=%{_libdir} \
--mandir=%{_mandir} \
--datadir=%{_datadir} \
--docdir=%{_docdir}/%{name}-devel-%{version} \
--configdir=%{_sysconfdir} \
--test \
--bindings \
--docs
./waf build -v %{?_smp_mflags}
./waf configure -v --prefix=%{_prefix}\
--libdir=%{_libdir} --configdir=%{_sysconfdir} --mandir=%{_mandir}\
--docdir=%{_docdir}/%{name}-devel-%{version}\
--docs --test --dyn-manifest --bindings
./waf -v build %{?_smp_mflags}
%install
DESTDIR=%{buildroot} ./waf install
./waf -v install --destdir=%{buildroot}
chmod +x %{buildroot}%{_libdir}/lib%{name}-0.so.*
%post -p /sbin/ldconfig
@ -102,6 +96,12 @@ chmod +x %{buildroot}%{_libdir}/lib%{name}-0.so.*
%{python_sitearch}/_%{name}.so
%changelog
* Sat May 12 2012 Brendan Jones <brendan.jones.it@gmail.com> - 0.14.2-2
- Corrected waf configure
* Sat May 12 2012 Brendan Jones <brendan.jones.it@gmail.com> - 0.14.2-1
- New upstream 0.14.2
* Sat May 12 2012 Brendan Jones <brendan.jones.it@gmail.com> - 0.14.0-2
- Add python binding BR

Loading…
Cancel
Save