Corrected configure step

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

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

Loading…
Cancel
Save