- Update to 0.4.5
- Disable mozjs on fedora >= 15
This commit is contained in:
parent
1fb8fc6d63
commit
20f1af4a2c
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
libproxy-0.4.4.tar.gz
|
||||
/libproxy-0.4.5.tar.gz
|
||||
|
@ -1,13 +0,0 @@
|
||||
diff -up libproxy-0.4.4/libproxy/libproxy-1.0.pc.in.fix libproxy-0.4.4/libproxy/libproxy-1.0.pc.in
|
||||
--- libproxy-0.4.4/libproxy/libproxy-1.0.pc.in.fix 2010-07-13 09:58:27.000000000 +0200
|
||||
+++ libproxy-0.4.4/libproxy/libproxy-1.0.pc.in 2010-07-13 10:00:26.000000000 +0200
|
||||
@@ -1,6 +1,6 @@
|
||||
-prefix=@prefix@
|
||||
-libdir=@libdir@
|
||||
-includedir=@includedir@
|
||||
+prefix=@CMAKE_INSTALL_PREFIX@
|
||||
+libdir=@CMAKE_INSTALL_LIBDIR@
|
||||
+includedir=@CMAKE_INSTALL_PREFIX@/include
|
||||
|
||||
Name: libproxy-1.0
|
||||
Description: Proxy Configuration Library
|
@ -1,17 +1,19 @@
|
||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
|
||||
%global gecko_version 1.9.2
|
||||
%if 0%{?fedora} < 15
|
||||
%global _with_mozjs 1
|
||||
%endif
|
||||
|
||||
Name: libproxy
|
||||
Version: 0.4.4
|
||||
Release: 8%{?dist}
|
||||
Version: 0.4.5
|
||||
Release: 1%{?dist}
|
||||
Summary: A library handling all the details of proxy configuration
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: LGPLv2+
|
||||
URL: http://code.google.com/p/libproxy/
|
||||
Source0: http://libproxy.googlecode.com/files/libproxy-%{version}.tar.gz
|
||||
Patch0: libproxy-0.4.4-fix_pkgconfig.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: python-devel
|
||||
@ -22,7 +24,7 @@ BuildRequires: cmake >= 2.6.0
|
||||
BuildRequires: GConf2-devel
|
||||
BuildRequires: libXmu-devel
|
||||
# mozjs
|
||||
BuildRequires: gecko-devel
|
||||
%{?_with_mozjs:BuildRequires: gecko-devel}
|
||||
# NetworkManager
|
||||
BuildRequires: NetworkManager-devel
|
||||
BuildRequires: dbus-devel
|
||||
@ -77,6 +79,7 @@ Requires: %{name} = %{version}-%{release}
|
||||
%description kde
|
||||
The %{name}-kde package contains the %{name} plugin for kde.
|
||||
|
||||
%{?_with_mozjs:
|
||||
%package mozjs
|
||||
Summary: Plugin for %{name} and mozjs
|
||||
Group: System Environment/Libraries
|
||||
@ -87,6 +90,7 @@ Provides: %{name}-pac = %{version}-%{release}
|
||||
|
||||
%description mozjs
|
||||
The %{name}-mozjs package contains the %{name} plugin for mozjs.
|
||||
}
|
||||
|
||||
%package networkmanager
|
||||
Summary: Plugin for %{name} and networkmanager
|
||||
@ -119,7 +123,6 @@ developing applications that use %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .fix_pc
|
||||
|
||||
%build
|
||||
%{cmake} \
|
||||
@ -169,9 +172,11 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/%{name}/%{version}/modules/config_kde4.so
|
||||
|
||||
%{?_with_mozjs:
|
||||
%files mozjs
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/%{name}/%{version}/modules/pacrunner_mozjs.so
|
||||
}
|
||||
|
||||
%files networkmanager
|
||||
%defattr(-,root,root,-)
|
||||
@ -190,8 +195,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Aug 31 2010 Nicolas Chauvet <kwizart@gmail.com> - 0.4.4-8
|
||||
- Rebuild for xulrunner
|
||||
* Mon Sep 6 2010 Nicolas Chauvet <kwizart@gmail.com> - 0.4.5-1
|
||||
- Update to 0.4.5
|
||||
- Disable mozjs on fedora >= 15
|
||||
|
||||
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.4.4-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
||||
|
Loading…
Reference in New Issue
Block a user