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
@ -57,20 +57,14 @@ sed -i -e "s| '-ftest-coverage' \]|\
%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} \
--mandir=%{_mandir} \
--datadir=%{_datadir} \
--docdir=%{_docdir}/%{name}-devel-%{version}\ --docdir=%{_docdir}/%{name}-devel-%{version}\
--configdir=%{_sysconfdir} \ --docs --test --dyn-manifest --bindings
--test \ ./waf -v build %{?_smp_mflags}
--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