Update spec file along
This commit is contained in:
parent
d3cd894e93
commit
7b5df6c0a9
@ -4,13 +4,14 @@
|
|||||||
|
|
||||||
Name: libproxy
|
Name: libproxy
|
||||||
Version: 0.3.1
|
Version: 0.3.1
|
||||||
Release: 3%{?dist}
|
Release: 3%{?dist}.1
|
||||||
Summary: A library handling all the details of proxy configuration
|
Summary: A library handling all the details of proxy configuration
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://code.google.com/p/libproxy/
|
URL: http://code.google.com/p/libproxy/
|
||||||
Source0: http://libproxy.googlecode.com/files/libproxy-%{version}.tar.bz2
|
Source0: http://libproxy.googlecode.com/files/libproxy-%{version}.tar.bz2
|
||||||
|
Patch0: libproxy-0.3.1-kde4.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
@ -26,7 +27,7 @@ BuildRequires: dbus-devel
|
|||||||
# webkit (gtk)
|
# webkit (gtk)
|
||||||
BuildRequires: WebKit-gtk-devel
|
BuildRequires: WebKit-gtk-devel
|
||||||
# kde
|
# kde
|
||||||
BuildRequires: kdebase-devel
|
BuildRequires: kdelibs-devel
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -115,11 +116,17 @@ developing applications that use %{name}.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1 -b .kde4
|
||||||
#To avoid rpath on _libdir
|
#To avoid rpath on _libdir
|
||||||
autoreconf -vif
|
autoreconf -vif
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
#needed to find kde4 libs
|
||||||
|
KDE4_LIBS=" -L%{_libdir}/kde4/devel"
|
||||||
|
KDE4_CFLAGS=" -I%{_includedir}/kde4"
|
||||||
|
export KDE4_LIBS
|
||||||
|
export KDE4_CFLAGS
|
||||||
%configure --includedir=%{_includedir}/libproxy --disable-static --with-python
|
%configure --includedir=%{_includedir}/libproxy --disable-static --with-python
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
@ -169,7 +176,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files kde
|
%files kde
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_libdir}/%{name}/%{version}/modules/config_kde.so
|
%{_libdir}/%{name}/%{version}/modules/config_kde4.so
|
||||||
|
|
||||||
%files mozjs
|
%files mozjs
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -191,10 +198,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Sun Feb 21 2010 Nicolas Chauvet <kwizart@fedoraproject.org> - 0.3.1-3
|
* Sun Feb 21 2010 Nicolas Chauvet <kwizart@fedoraproject.org> - 0.3.1-4
|
||||||
- Globalism and update gecko to 1.9.2
|
- Globalism and update gecko to 1.9.2
|
||||||
- Avoid rpath on _libdir
|
- Avoid rpath on _libdir
|
||||||
- Fix BR for kde4 to kdebase-devel
|
- Fix BR for kde4 to kdelibs-devel
|
||||||
|
|
||||||
* Sun Dec 27 2009 Nicolas Chauvet <kwizart@fedoraproject.org> - 0.3.1-1
|
* Sun Dec 27 2009 Nicolas Chauvet <kwizart@fedoraproject.org> - 0.3.1-1
|
||||||
- Update to 0.3.1
|
- Update to 0.3.1
|
||||||
|
Loading…
Reference in New Issue
Block a user