This commit is contained in:
commit
f4960a8589
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
13
libproxy-0.2.3-dbus.diff
Normal file
13
libproxy-0.2.3-dbus.diff
Normal file
@ -0,0 +1,13 @@
|
||||
diff -up libproxy-0.2.3/configure.ac.dbus libproxy-0.2.3/configure.ac
|
||||
--- libproxy-0.2.3/configure.ac.dbus 2008-07-11 12:12:43.000000000 +0200
|
||||
+++ libproxy-0.2.3/configure.ac 2008-07-11 12:12:58.000000000 +0200
|
||||
@@ -19,7 +19,7 @@ PKG_CHECK_MODULES(webkit, webkit-1.0, ha
|
||||
PKG_CHECK_MODULES(mozjs, xulrunner-js, have_mozjs=yes,
|
||||
[PKG_CHECK_MODULES(mozjs, firefox-js, have_mozjs=yes,
|
||||
[PKG_CHECK_MODULES(mozjs, mozilla-js, have_mozjs=yes, have_mozjs=no)])])
|
||||
-PKG_CHECK_MODULES(NetworkManager, NetworkManager,
|
||||
+PKG_CHECK_MODULES(NetworkManager, NetworkManager dbus-1,
|
||||
have_networkmanager=yes, have_networkmanager=no)
|
||||
|
||||
# Environmental Variable
|
||||
|
3
libproxy-0.2.3.tar.bz2
Normal file
3
libproxy-0.2.3.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:83633e21eea02bfdad962268decbe403c6e475569d31e9578065c3cd475f8580
|
||||
size 272084
|
12
libproxy-svn-277.patch
Normal file
12
libproxy-svn-277.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -ur libproxy-0.2.3/src/plugins/networkmanager.c libproxy-0.2.3.patched/src/plugins/networkmanager.c
|
||||
--- libproxy-0.2.3/src/plugins/networkmanager.c 2008-12-19 13:24:08.000000000 +0100
|
||||
+++ libproxy-0.2.3.patched/src/plugins/networkmanager.c 2008-12-19 13:22:56.000000000 +0100
|
||||
@@ -84,7 +84,7 @@
|
||||
bool
|
||||
on_proxy_factory_instantiate(pxProxyFactory *self)
|
||||
{
|
||||
- px_proxy_factory_on_get_proxy_add(self, nm_on_get_proxy);
|
||||
+ return px_proxy_factory_on_get_proxy_add(self, nm_on_get_proxy);
|
||||
}
|
||||
|
||||
void
|
9
libproxy.changes
Normal file
9
libproxy.changes
Normal file
@ -0,0 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 6 01:40:56 CET 2009 - vuntz@novell.com
|
||||
|
||||
- Add missing Requires on libproxy0 for the subpackages.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 3 11:58:45 EST 2009 - hfiguiere@suse.de
|
||||
|
||||
- Initial packaging.
|
368
libproxy.spec
Normal file
368
libproxy.spec
Normal file
@ -0,0 +1,368 @@
|
||||
#
|
||||
# spec file for package libproxy (Version 0.2.3)
|
||||
#
|
||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Url: http://code.google.com/p/libproxy/
|
||||
|
||||
Name: libproxy
|
||||
Group: System/Libraries
|
||||
Summary: libproxy is a library that provides automatic proxy configuration management
|
||||
Version: 0.2.3
|
||||
Release: 2
|
||||
Source: http://libproxy.googlecode.com/files/%{name}-%{version}.tar.bz2
|
||||
Patch0: %{name}-%{version}-dbus.diff
|
||||
Patch1: %{name}-svn-277.patch
|
||||
License: LGPL v2.1 or later
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: xorg-x11-libXmu-devel
|
||||
BuildRequires: gconf2-devel
|
||||
BuildRequires: NetworkManager-devel
|
||||
BuildRequires: python-devel
|
||||
%if 0%{suse_version} < 1110
|
||||
BuildRequires: mozilla-xulrunner181-devel
|
||||
%else
|
||||
BuildRequires: mozilla-xulrunner190-devel
|
||||
%endif
|
||||
BuildRequires: dbus-1-devel
|
||||
BuildRequires: libwebkit-devel
|
||||
|
||||
%description
|
||||
libproxy offers the following features: * extremely small core
|
||||
footprint (< 35K)
|
||||
|
||||
* no external dependencies within libproxy core (libproxy plugins
|
||||
may have dependencies)
|
||||
|
||||
* only 3 functions in the stable external API
|
||||
|
||||
* dynamic adjustment to changing network topology
|
||||
|
||||
* a standard way of dealing with proxy settings across all scenarios
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Nathaniel McCallum <nathaniel@natemccallum.com>
|
||||
Alex Panait <kippled@gmail.com>
|
||||
|
||||
%package tools
|
||||
License: GPL v2 or later; LGPL v2.1 or later
|
||||
Summary: libproxy is a library that provides automatic proxy configuration management
|
||||
Group: System/Libraries
|
||||
Requires: %{name}0 = %{version}
|
||||
|
||||
%description tools
|
||||
libproxy offers the following features: * extremely small core
|
||||
footprint (< 35K)
|
||||
|
||||
* no external dependencies within libproxy core (libproxy plugins
|
||||
may have dependencies)
|
||||
|
||||
* only 3 functions in the stable external API
|
||||
|
||||
* dynamic adjustment to changing network topology
|
||||
|
||||
* a standard way of dealing with proxy settings across all scenarios
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Nathaniel McCallum <nathaniel@natemccallum.com>
|
||||
Alex Panait <kippled@gmail.com>
|
||||
|
||||
%package devel
|
||||
License: GPL v2 or later; LGPL v2.1 or later
|
||||
Summary: libproxy is a library that provides automatic proxy configuration management
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{name}0 = %{version}
|
||||
|
||||
%description devel
|
||||
libproxy offers the following features: * extremely small core
|
||||
footprint (< 35K)
|
||||
|
||||
* no external dependencies within libproxy core (libproxy plugins
|
||||
may have dependencies)
|
||||
|
||||
* only 3 functions in the stable external API
|
||||
|
||||
* dynamic adjustment to changing network topology
|
||||
|
||||
* a standard way of dealing with proxy settings across all scenarios
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Nathaniel McCallum <nathaniel@natemccallum.com>
|
||||
Alex Panait <kippled@gmail.com>
|
||||
|
||||
%package -n libproxy0
|
||||
License: GPL v2 or later; LGPL v2.1 or later
|
||||
Summary: libproxy is a library that provides automatic proxy configuration management
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libproxy0
|
||||
libproxy offers the following features: * extremely small core
|
||||
footprint (< 35K)
|
||||
|
||||
* no external dependencies within libproxy core (libproxy plugins
|
||||
may have dependencies)
|
||||
|
||||
* only 3 functions in the stable external API
|
||||
|
||||
* dynamic adjustment to changing network topology
|
||||
|
||||
* a standard way of dealing with proxy settings across all scenarios
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Nathaniel McCallum <nathaniel@natemccallum.com>
|
||||
Alex Panait <kippled@gmail.com>
|
||||
|
||||
%package -n libproxy-gnome
|
||||
License: GPL v2 or later; LGPL v2.1 or later
|
||||
Summary: libproxy is a library that provides automatic proxy configuration management
|
||||
Group: System/Libraries
|
||||
Requires: %{name}0 = %{version}
|
||||
Supplements: packageand(%{name}0:gconf2)
|
||||
|
||||
%description -n libproxy-gnome
|
||||
libproxy offers the following features: * extremely small core
|
||||
footprint (< 35K)
|
||||
|
||||
* no external dependencies within libproxy core (libproxy plugins
|
||||
may have dependencies)
|
||||
|
||||
* only 3 functions in the stable external API
|
||||
|
||||
* dynamic adjustment to changing network topology
|
||||
|
||||
* a standard way of dealing with proxy settings across all scenarios
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Nathaniel McCallum <nathaniel@natemccallum.com>
|
||||
Alex Panait <kippled@gmail.com>
|
||||
|
||||
%package -n libproxy-kde
|
||||
License: GPL v2 or later; LGPL v2.1 or later
|
||||
Summary: libproxy is a library that provides automatic proxy configuration management
|
||||
Group: System/Libraries
|
||||
Requires: %{name}0 = %{version}
|
||||
Supplements: packageand(%{name}0:libkde4)
|
||||
|
||||
%description -n libproxy-kde
|
||||
libproxy offers the following features: * extremely small core
|
||||
footprint (< 35K)
|
||||
|
||||
* no external dependencies within libproxy core (libproxy plugins
|
||||
may have dependencies)
|
||||
|
||||
* only 3 functions in the stable external API
|
||||
|
||||
* dynamic adjustment to changing network topology
|
||||
|
||||
* a standard way of dealing with proxy settings across all scenarios
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Nathaniel McCallum <nathaniel@natemccallum.com>
|
||||
Alex Panait <kippled@gmail.com>
|
||||
|
||||
%package -n libproxy-mozjs
|
||||
License: GPL v2 or later; LGPL v2.1 or later
|
||||
Summary: libproxy is a library that provides automatic proxy configuration management
|
||||
Group: System/Libraries
|
||||
Requires: %{name}0 = %{version}
|
||||
Supplements: packageand(%{name}0:firefox)
|
||||
|
||||
%description -n libproxy-mozjs
|
||||
libproxy offers the following features: * extremely small core
|
||||
footprint (< 35K)
|
||||
|
||||
* no external dependencies within libproxy core (libproxy plugins
|
||||
may have dependencies)
|
||||
|
||||
* only 3 functions in the stable external API
|
||||
|
||||
* dynamic adjustment to changing network topology
|
||||
|
||||
* a standard way of dealing with proxy settings across all scenarios
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Nathaniel McCallum <nathaniel@natemccallum.com>
|
||||
Alex Panait <kippled@gmail.com>
|
||||
|
||||
%package -n libproxy-webkit
|
||||
License: GPL v2 or later; LGPL v2.1 or later
|
||||
Summary: libproxy is a library that provides automatic proxy configuration management
|
||||
Group: System/Libraries
|
||||
Requires: %{name}0 = %{version}
|
||||
Supplements: packageand(%{name}0:libwebkit-1)
|
||||
|
||||
%description -n libproxy-webkit
|
||||
libproxy offers the following features: * extremely small core
|
||||
footprint (< 35K)
|
||||
|
||||
* no external dependencies within libproxy core (libproxy plugins
|
||||
may have dependencies)
|
||||
|
||||
* only 3 functions in the stable external API
|
||||
|
||||
* dynamic adjustment to changing network topology
|
||||
|
||||
* a standard way of dealing with proxy settings across all scenarios
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Nathaniel McCallum <nathaniel@natemccallum.com>
|
||||
Alex Panait <kippled@gmail.com>
|
||||
|
||||
%package -n libproxy-networkmanager
|
||||
License: GPL v2 or later; LGPL v2.1 or later
|
||||
Summary: libproxy is a library that provides automatic proxy configuration management
|
||||
Group: System/Libraries
|
||||
Requires: %{name}0 = %{version}
|
||||
Supplements: packageand(%{name}0:NetworkManager)
|
||||
|
||||
%description -n libproxy-networkmanager
|
||||
libproxy offers the following features: * extremely small core
|
||||
footprint (< 35K)
|
||||
|
||||
* no external dependencies within libproxy core (libproxy plugins
|
||||
may have dependencies)
|
||||
|
||||
* only 3 functions in the stable external API
|
||||
|
||||
* dynamic adjustment to changing network topology
|
||||
|
||||
* a standard way of dealing with proxy settings across all scenarios
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Nathaniel McCallum <nathaniel@natemccallum.com>
|
||||
Alex Panait <kippled@gmail.com>
|
||||
|
||||
%package -n python-libproxy
|
||||
License: GPL v2 or later; LGPL v2.1 or later
|
||||
Summary: libproxy is a library that provides automatic proxy configuration management
|
||||
Group: System/Libraries
|
||||
Requires: %{name}0 = %{version}
|
||||
Requires: python
|
||||
|
||||
%description -n python-libproxy
|
||||
libproxy offers the following features: * extremely small core
|
||||
footprint (< 35K)
|
||||
|
||||
* no external dependencies within libproxy core (libproxy plugins
|
||||
may have dependencies)
|
||||
|
||||
* only 3 functions in the stable external API
|
||||
|
||||
* dynamic adjustment to changing network topology
|
||||
|
||||
* a standard way of dealing with proxy settings across all scenarios
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Nathaniel McCallum <nathaniel@natemccallum.com>
|
||||
Alex Panait <kippled@gmail.com>
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
autoreconf -f -i
|
||||
%configure --with-python --disable-static
|
||||
%{__make} %{?jobs:-j%jobs}
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/%{name}.la
|
||||
|
||||
%post -n %{name}0 -p /sbin/ldconfig
|
||||
|
||||
%postun -n %{name}0 -p /sbin/ldconfig
|
||||
|
||||
%files tools
|
||||
%defattr(-, root, root)
|
||||
%{_bindir}/proxy
|
||||
|
||||
%files -n %{name}0
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/%{name}.so.*
|
||||
%dir %{_libdir}/%{name}/
|
||||
%dir %{_libdir}/%{name}/%{version}
|
||||
%dir %{_libdir}/%{name}/%{version}/plugins
|
||||
%{_libdir}/%{name}/%{version}/plugins/envvar.so
|
||||
%{_libdir}/%{name}/%{version}/plugins/file.so
|
||||
|
||||
%files devel
|
||||
%defattr(-, root, root)
|
||||
%{_includedir}/proxy.h
|
||||
%{_libdir}/%{name}.so
|
||||
%{_libdir}/pkgconfig/%{name}-1.0.pc
|
||||
|
||||
%files -n %{name}-kde
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/%{name}/%{version}/plugins/kde.so
|
||||
|
||||
%files -n %{name}-gnome
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/%{name}/%{version}/plugins/gnome.so
|
||||
|
||||
%files -n %{name}-networkmanager
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/%{name}/%{version}/plugins/networkmanager.so
|
||||
|
||||
%files -n %{name}-webkit
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/%{name}/%{version}/plugins/webkit.so
|
||||
|
||||
%files -n %{name}-mozjs
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/%{name}/%{version}/plugins/mozjs.so
|
||||
|
||||
%files -n python-%{name}
|
||||
%defattr(-, root, root)
|
||||
%{py_sitedir}/%{name}.py
|
||||
|
||||
%changelog
|
||||
* Fri Feb 06 2009 vuntz@novell.com
|
||||
- Add missing Requires on libproxy0 for the subpackages.
|
||||
* Tue Feb 03 2009 hfiguiere@suse.de
|
||||
- Initial packaging.
|
Loading…
x
Reference in New Issue
Block a user