2009-04-24 00:55:32 +00:00
#
2011-11-03 19:20:41 +00:00
# spec file for package libproxy-plugins
2009-04-24 00:55:32 +00:00
#
2012-02-02 07:56:49 +00:00
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
2009-04-24 00:55:32 +00:00
#
# 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/
#
2010-09-03 13:25:33 +00:00
2009-08-17 12:32:29 +00:00
%define build_core_not_modules 0
2010-08-24 15:43:14 +00:00
%if 0%{?suse_version}
2011-11-12 19:12:35 +00:00
%ifnarch %arm ppc64
2010-08-24 15:43:14 +00:00
%define have_mono 1
%else
%define have_mono 0
%endif
2011-11-03 19:20:41 +00:00
%else
%define have_mono 0
%endif
2010-08-24 15:43:14 +00:00
2009-04-24 00:55:32 +00:00
Url : http://code.google.com/p/libproxy/
%define _name libproxy
Name : libproxy-plugins
2009-08-17 12:32:29 +00:00
Summary : Libproxy provides consistent proxy configuration to applications
2012-02-02 07:56:49 +00:00
License : GPL-2.0+ ; LGPL-2.1+
Group : System/Libraries
2011-06-07 10:47:11 +00:00
Version : 0.4.7
2012-02-02 07:56:49 +00:00
Release : 0
2010-08-24 15:43:14 +00:00
%if 0%{?build_snapshot}
2010-08-27 22:58:31 +00:00
%define _sourcename %{_name}
%else
%define _sourcename %{_name}-%{version}
2010-08-24 15:43:14 +00:00
%endif
2010-08-27 22:58:31 +00:00
Source : http://libproxy.googlecode.com/files/%{_sourcename}.tar.bz2
2010-08-24 15:43:14 +00:00
# Script used for automatic snapshot updates
Source98 : update-from-svn.sh
2010-02-19 15:32:14 +00:00
Source99 : baselibs.conf
2011-06-20 18:33:26 +00:00
# PATCH-FIX-UPSTREAM libproxy-javascriptcoregtk.patch dimstar@opensuse.org -- Fix build with javascriptcoregtk3, which got split out of webkitgtk3. Patch from upstream svn.
Patch0 : libproxy-javascriptcoregtk.patch
2011-07-27 22:05:24 +00:00
# PATCH-FIX-UPSTREAM libproxy-mozjs185.patch vuntz@opensuse.org -- Build with libmozjs185 instead of xulrunner. Patch from upstream svn.
Patch1 : libproxy-mozjs185.patch
2012-02-02 07:56:49 +00:00
# PATCH-FIX-UPSTREAM libproxy-trim-ignores.patch bnc#739069 dimstar@opensuse.org -- Trim strings in ignore list; taken from upstream svn, r821.
Patch2 : libproxy-trim-ignores.patch
2012-03-14 11:56:26 +00:00
# PATCH-FIX-UPSTREAM libproxy-gcc47.patch dimstar@opensuse.org -- Fix build with gcc 4.7. Taken from upstream svn, r833.
Patch3 : libproxy-gcc47.patch
2009-04-24 00:55:32 +00:00
BuildRoot : %{_tmppath} /%{name} -%{version} -build
2010-03-05 01:14:28 +00:00
BuildRequires : cmake
BuildRequires : gcc-c++
2010-08-24 15:43:14 +00:00
BuildRequires : libmodman-devel
BuildRequires : pkgconfig
2010-03-05 01:14:28 +00:00
BuildRequires : zlib-devel
2010-08-24 15:43:14 +00:00
%if !%{build_core_not_modules}
%if ! 0%{?windows}
2009-04-24 00:55:32 +00:00
BuildRequires : dbus-1-devel
BuildRequires : gconf2-devel
2009-08-17 12:32:29 +00:00
# For directory ownership, but also because we want to rebuild the modules if
2009-04-24 00:55:32 +00:00
# the library changed
2010-03-05 01:14:28 +00:00
BuildRequires : libproxy1
2011-06-07 10:47:11 +00:00
%if 0%{?favor_gtk2}
BuildRequires : pkgconfig(gconf-2.0)
BuildRequires : pkgconfig(gobject-2.0)
BuildRequires : pkgconfig(webkit-1.0)
%else
BuildRequires : pkgconfig(gio-2.0) >= 2.26
BuildRequires : pkgconfig(gobject-2.0)
BuildRequires : pkgconfig(webkitgtk-3.0)
%endif
2009-04-24 00:55:32 +00:00
BuildRequires : NetworkManager-devel
2009-10-09 18:27:03 +00:00
BuildRequires : libkde4-devel
BuildRequires : libqt4-devel
2012-03-14 11:56:26 +00:00
BuildRequires : pkgconfig(mozjs185)
2010-08-24 15:43:14 +00:00
%endif
2010-03-05 01:14:28 +00:00
%else
2010-08-24 15:43:14 +00:00
%if 0%{?have_mono}
BuildRequires : mono-devel
2009-04-24 00:55:32 +00:00
%endif
2010-08-24 15:43:14 +00:00
BuildRequires : perl
2010-08-27 22:58:31 +00:00
BuildRequires : python-devel
2009-08-17 12:32:29 +00:00
%endif
2009-04-24 00:55:32 +00:00
2010-08-24 15:43:14 +00:00
%{!?python_sitelib: %global python_sitelib %(%__python -c " f r o m d i s t u t i l s . s y s c o n f i g i m p o r t g e t _ p y t h o n _ l i b ; p r i n t ( g e t _ p y t h o n _ l i b ( ) ) " )}
%{!?python_sitearch: %global python_sitearch %(%__python -c " f r o m d i s t u t i l s . s y s c o n f i g i m p o r t g e t _ p y t h o n _ l i b ; p r i n t ( g e t _ p y t h o n _ l i b ( 1 ) ) " )}
%{!?_assemblies_dir: %global _assemblies_dir %(pkg-config cecil --variable=assemblies_dir)}
2009-04-24 00:55:32 +00:00
%description
libproxy offers the following features: * extremely small core
footprint (< 35K)
2009-08-17 12:32:29 +00:00
* no external dependencies within libproxy core (libproxy modules
2009-04-24 00:55:32 +00:00
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
2009-08-17 12:32:29 +00:00
%if %build_core_not_modules
2009-04-24 00:55:32 +00:00
%package tools
Summary : A simple application using libproxy
Group : System/Libraries
2010-03-05 01:14:28 +00:00
Requires : libproxy1 = %{version}
2009-04-24 00:55:32 +00:00
%description tools
A simple application that will use libproxy to give the results you can
expect from other applications. It can be used to debug what would
happen in various cases.
2009-08-17 12:32:29 +00:00
%package devel
Summary : Libproxy provides consistent proxy configuration to applications - Development Files
2009-04-24 00:55:32 +00:00
Group : Development/Libraries/C and C++
2010-03-05 01:14:28 +00:00
Requires : libproxy1 = %{version}
2009-04-24 00:55:32 +00:00
%description devel
libproxy offers the following features: * extremely small core
footprint (< 35K)
2009-08-17 12:32:29 +00:00
* no external dependencies within libproxy core (libproxy modules
2009-04-24 00:55:32 +00:00
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
2010-03-05 01:14:28 +00:00
%package -n libproxy1
2009-08-17 12:32:29 +00:00
Summary : Libproxy provides consistent proxy configuration to applications
2009-04-24 00:55:32 +00:00
Group : System/Libraries
2010-03-05 01:14:28 +00:00
%description -n libproxy1
2009-04-24 00:55:32 +00:00
libproxy offers the following features: * extremely small core
footprint (< 35K)
2009-08-17 12:32:29 +00:00
* no external dependencies within libproxy core (libproxy modules
2009-04-24 00:55:32 +00:00
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
%package -n python-libproxy
Summary : Python bindings for libproxy
Group : System/Libraries
2010-08-24 15:43:14 +00:00
%if 0%{?suse_version} > 1110
2010-03-05 01:14:28 +00:00
BuildArch : noarch
2009-04-24 00:55:32 +00:00
%py_requires
2010-08-24 15:43:14 +00:00
%endif
Requires : libproxy1 = %{version}
2009-04-24 00:55:32 +00:00
%description -n python-libproxy
libproxy offers the following features: * extremely small core
footprint (< 35K)
2009-08-17 12:32:29 +00:00
* no external dependencies within libproxy core (libproxy modules
2009-04-24 00:55:32 +00:00
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
2010-05-28 15:22:42 +00:00
%package -n perl-Net-Libproxy
Summary : Perl bindings for libproxy
Group : Development/Libraries/Perl
Requires : libproxy1 = %{version}
2010-08-24 15:43:14 +00:00
# For Fedora at least perl = perl_version does not work.
Requires : perl >= %{perl_version}
2010-05-28 15:22:42 +00:00
%description -n perl-Net-Libproxy
libproxy offers the following features: * extremely small core
footprint (< 35K)
* no external dependencies within libproxy core (libproxy modules
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
2010-08-24 15:43:14 +00:00
%if 0%{?have_mono}
2010-09-03 13:25:33 +00:00
2009-08-17 12:32:29 +00:00
%package -n libproxy-sharp
Summary : .Net bindings for libproxy
Group : Development/Languages/Mono
2010-03-05 01:14:28 +00:00
Requires : libproxy1 = %{version}
2009-08-17 12:32:29 +00:00
%description -n libproxy-sharp
libproxy offers the following features: * extremely small core
footprint (< 35K)
* no external dependencies within libproxy core (libproxy modules
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
2010-08-24 15:43:14 +00:00
%endif
2009-04-24 00:55:32 +00:00
%else
2011-06-07 10:47:11 +00:00
%if 0%{?favor_gtk2}
2011-06-08 14:22:58 +00:00
2010-03-05 01:14:28 +00:00
%package -n libproxy1-config-gnome
2011-06-08 14:22:58 +00:00
2009-08-17 12:32:29 +00:00
Summary : Libproxy module for GNOME configuration
2012-02-02 07:56:49 +00:00
Group : System/Libraries
2011-06-07 10:47:11 +00:00
%else
2011-06-08 14:22:58 +00:00
2011-06-07 10:47:11 +00:00
%package -n libproxy1-config-gnome3
Summary : Libproxy module for GNOME3 configuration
2009-04-24 00:55:32 +00:00
Group : System/Libraries
2012-02-02 07:56:49 +00:00
%endif
2010-03-05 01:14:28 +00:00
Requires : libproxy1 = %{version}
2010-08-24 15:43:14 +00:00
%if 0%{?suse_version}
2010-03-05 01:14:28 +00:00
Recommends: libproxy1-pacrunner = %{version}
2011-06-07 10:47:11 +00:00
%if 0%{?favor_gtk2}
2010-03-05 01:14:28 +00:00
Supplements: packageand(libproxy1:gconf2)
2010-08-24 15:43:14 +00:00
%else
2011-06-07 10:47:11 +00:00
Supplements: packageand(libproxy1:libgio-2_0-0)
%endif
%else
2010-08-24 15:43:14 +00:00
Requires : libproxy1-pacrunner = %{version}
%endif
2009-04-24 00:55:32 +00:00
Provides : libproxy-gnome = %{version}
Obsoletes : libproxy-gnome < %{version}
2011-06-07 10:47:11 +00:00
%if 0%{?favor_gtk2}
2011-06-08 14:22:58 +00:00
2010-03-05 01:14:28 +00:00
%description -n libproxy1-config-gnome
2011-06-08 14:22:58 +00:00
2011-06-07 10:47:11 +00:00
%else
2011-06-08 14:22:58 +00:00
2011-06-07 10:47:11 +00:00
%description -n libproxy1-config-gnome3
2011-06-08 14:22:58 +00:00
2011-06-07 10:47:11 +00:00
%endif
2009-08-17 12:32:29 +00:00
A module to extend libproxy with capabilities to query GNOME about
2009-04-24 00:55:32 +00:00
proxy settings.
2010-03-05 01:14:28 +00:00
%package -n libproxy1-config-kde4
2009-08-17 12:32:29 +00:00
Summary : Libproxy module for KDE configuration
2009-04-24 00:55:32 +00:00
Group : System/Libraries
2010-03-05 01:14:28 +00:00
Requires : libproxy1 = %{version}
2010-08-24 15:43:14 +00:00
%if 0%{?suse_version}
2010-03-05 01:14:28 +00:00
Recommends: libproxy1-pacrunner = %{version}
Supplements: packageand(libproxy1:libkde4)
2010-08-24 15:43:14 +00:00
%else
Requires : libproxy1-pacrunner = %{version}
%endif
2009-04-24 00:55:32 +00:00
Provides : libproxy-kde = %{version}
Obsoletes : libproxy-kde < %{version}
2010-03-05 01:14:28 +00:00
%description -n libproxy1-config-kde4
2009-10-09 18:27:03 +00:00
A module to extend libproxy with capabilities to query KDE4 about proxy
2009-04-24 00:55:32 +00:00
settings.
2010-03-05 01:14:28 +00:00
%package -n libproxy1-pacrunner-mozjs
2009-08-17 12:32:29 +00:00
Summary : Libproxy module to support wpad/pac parsing via Mozilla JavaScript Engine
2009-04-24 00:55:32 +00:00
Group : System/Libraries
2010-03-05 01:14:28 +00:00
Requires : libproxy1 = %{version}
2010-08-24 15:43:14 +00:00
%if 0%{?suse_version}
2011-07-27 22:05:24 +00:00
Supplements: packageand(libproxy1:libmozjs185-1_0)
2010-08-24 15:43:14 +00:00
%endif
2009-08-17 12:32:29 +00:00
# A virtual symbol to identify that this is a pacrunner.
2010-03-05 01:14:28 +00:00
Provides : libproxy1-pacrunner = %{version}
2009-04-24 00:55:32 +00:00
2010-03-05 01:14:28 +00:00
%description -n libproxy1-pacrunner-mozjs
2009-08-17 12:32:29 +00:00
A module to extend libproxy with capabilities to pass addresses to a
2009-04-24 00:55:32 +00:00
WPAD/PAC script and have it find the correct proxy.
2010-03-05 01:14:28 +00:00
%package -n libproxy1-pacrunner-webkit
2009-08-17 12:32:29 +00:00
Summary : Libproxy module to support WPAD/PAC parsing via WebKit JavaScript Engine
2009-04-24 00:55:32 +00:00
Group : System/Libraries
2010-03-05 01:14:28 +00:00
Requires : libproxy1 = %{version}
2010-08-24 15:43:14 +00:00
%if 0%{?suse_version}
2011-07-27 22:05:24 +00:00
%if 0%{?favor_gtk2}
Supplements: packageand(libproxy1:libjavascriptcoregtk-1_0-0)
%else
Supplements: packageand(libproxy1:libjavascriptcoregtk-3_0-0)
%endif
2010-08-24 15:43:14 +00:00
%endif
2009-08-17 12:32:29 +00:00
# A virtual symbol to identify that this is a pacrunner.
2010-03-05 01:14:28 +00:00
Provides : libproxy1-pacrunner = %{version}
2009-04-24 00:55:32 +00:00
2010-03-05 01:14:28 +00:00
%description -n libproxy1-pacrunner-webkit
2009-08-17 12:32:29 +00:00
A module to extend libproxy with capabilities to pass addresses to a
2009-04-24 00:55:32 +00:00
WPAD/PAC script and have it find the correct proxy.
2010-03-05 01:14:28 +00:00
%package -n libproxy1-networkmanager
2009-08-17 12:32:29 +00:00
Summary : Libproxy module for NetworkManager configuration
2009-04-24 00:55:32 +00:00
Group : System/Libraries
2010-03-05 01:14:28 +00:00
Requires : libproxy1 = %{version}
2010-08-24 15:43:14 +00:00
%if 0%{?suse_version}
2010-03-05 01:14:28 +00:00
Supplements: packageand(libproxy1:NetworkManager)
2010-08-24 15:43:14 +00:00
%endif
2009-04-24 00:55:32 +00:00
2010-03-05 01:14:28 +00:00
%description -n libproxy1-networkmanager
2009-08-17 12:32:29 +00:00
A module to extend libproxy with capabilities to query NetworkManager
about network configuration changes.
2009-04-24 00:55:32 +00:00
%endif
%prep
2010-08-27 22:58:31 +00:00
%setup -q -n %{_sourcename}
2011-06-20 18:33:26 +00:00
%patch0 -p0
2011-07-27 22:05:24 +00:00
%patch1 -p1
2012-02-02 07:56:49 +00:00
%patch2 -p0
2012-03-14 11:56:26 +00:00
%patch3 -p1
2010-03-18 22:49:11 +00:00
mkdir build
2009-04-24 00:55:32 +00:00
%build
2010-03-18 22:49:11 +00:00
cd build
2010-08-24 15:43:14 +00:00
export CXXFLAGS=" %{optflags} "
export CFLAGS=" %{optflags} "
%if 0%{?suse_version} < 1120 && 0%{?suse_version}
export CXXFLAGS=" %{optflags} - D X P _ U N I X "
%endif
%if 0%{?windows}
export CXXFLAGS=" %{optflags} - f n o - s t a c k - p r o t e c t o r - s t a t i c - l i b g c c "
%endif
2010-03-18 22:49:11 +00:00
cmake \
2010-08-24 15:43:14 +00:00
%if 0%{?windows}
-DCMAKE_TOOLCHAIN_FILE=../cmake/mingw32.cmake \
-DBUILD_TESTING=False \
-DWITH_DOTNET=OFF \
%else
2010-05-28 15:22:42 +00:00
-DWITH_VALA=yes \
2010-08-24 15:43:14 +00:00
-DWITH_DOTNET=%{have_mono} \
-DFORCE_SYSTEM_LIBMODMAN=ON \
%endif
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DBIN_INSTALL_DIR=%{_bindir} \
-DLIB_INSTALL_DIR=%{_libdir} \
-DMODULE_INSTALL_DIR=%{_libdir} /libproxy-%{version} /modules \
-DLIBEXEC_INSTALL_DIR=%{_libexecdir} /libproxy-%{version} \
2010-09-13 09:41:17 +00:00
-DPYTHON_SITEPKG_DIR=%{python_sitelib} \
2010-08-24 15:43:14 +00:00
-DSHARE_INSTALL_PREFIX=%{_datadir} \
-DINCLUDE_INSTALL_DIR=%{_includedir} \
2010-05-28 15:22:42 +00:00
-DPERL_VENDORINSTALL=yes \
2010-08-24 15:43:14 +00:00
%if ! %build_core_not_modules
-DWITH_DOTNET=OFF \
%endif
%if 0%{?suse_version} && 0%{?suse_version} < 1120
-DCMAKE_BUILD_TYPE=DebugFull \
-DCMAKE_INSTALL_CONFIG_NAME=DebugFull \
%else
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_CONFIG_NAME=RelWithDebInfo \
%endif
2011-06-07 10:47:11 +00:00
%if 0%{?favor_gtk2}
-DWITH_WEBKIT3=OFF \
-DWITH_GNOME3=OFF \
%else
-DWITH_WEBKIT3=ON \
-DWITH_GNOME3=ON \
%endif
2010-03-18 22:49:11 +00:00
..
2010-08-24 15:43:14 +00:00
%{__make} VERBOSE=1
2009-04-24 00:55:32 +00:00
%install
2010-03-18 22:49:11 +00:00
cd build
2010-08-24 15:43:14 +00:00
make DESTDIR=%{buildroot} install
# On Windows we also do not want to provide the static libraries.
%if 0%{?windows}
find %{buildroot} %{_libdir} -name '*.dll.a' -delete -print
rm %{buildroot} %{_libdir} /libmodman.dll
%endif
2010-03-05 01:14:28 +00:00
%if %build_core_not_modules
# Build the basic directory structure for the modules so we can
# own the directories in the main library package
2010-08-24 15:43:14 +00:00
install -d %{buildroot} %{_libexecdir} /libproxy-%{version}
install -d %{buildroot} %{_libdir} /%{name} -%{version} /modules
2009-04-24 00:55:32 +00:00
%else
# remove files that are part of the core
2010-08-24 15:43:14 +00:00
rm -f %{buildroot} %{_includedir} /*.h
2010-03-05 01:14:28 +00:00
# Delete all files that exist in the base libproxy package
2010-08-24 15:43:14 +00:00
rm -f %{buildroot} %{_bindir} /proxy%{?windows:.exe}
rm -f %{buildroot} %{_libdir} /libproxy.*
rm -f %{buildroot} %{python_sitelib} /*.py
rm -f %{buildroot} %{_libdir} /pkgconfig/libproxy-1.0.pc
rm -f %{buildroot} %{_datadir} /cmake/Modules/Findlibproxy.cmake
rm -f %{buildroot} %{_datadir} /vala/vapi/libproxy-1.0.vapi
rm -f %{buildroot} %{perl_vendorarch} /Net/Libproxy.pm
rm -f %{buildroot} %{perl_vendorarch} /auto/Net/Libproxy/Libproxy.so
2009-04-24 00:55:32 +00:00
%endif
2010-08-24 15:43:14 +00:00
%check
cd build
make test
2009-08-17 12:32:29 +00:00
%if %build_core_not_modules
2009-04-24 00:55:32 +00:00
2010-03-05 01:14:28 +00:00
%post -n libproxy1 -p /sbin/ldconfig
%postun -n libproxy1 -p /sbin/ldconfig
2009-04-24 00:55:32 +00:00
%files tools
%defattr (-, root, root)
2010-08-24 15:43:14 +00:00
%{_bindir} /proxy%{?windows:.exe}
2009-04-24 00:55:32 +00:00
2010-03-05 01:14:28 +00:00
%files -n libproxy1
2009-04-24 00:55:32 +00:00
%defattr (-, root, root)
2010-08-24 15:43:14 +00:00
%doc COPYING README AUTHORS
%if ! 0%{?windows}
2010-03-05 01:14:28 +00:00
%{_libdir} /libproxy.so.*
2010-08-24 15:43:14 +00:00
%else
%{_libdir} /libproxy.dll
%endif
%dir %{_libexecdir} /libproxy-%{version}
%dir %{_libdir} /libproxy-%{version}
%dir %{_libdir} /libproxy-%{version} /modules
2009-04-24 00:55:32 +00:00
%files devel
%defattr (-, root, root)
%{_includedir} /*.h
2010-08-24 15:43:14 +00:00
%if ! 0%{?windows}
2009-04-24 00:55:32 +00:00
%{_libdir} /*.so
2010-03-05 01:14:28 +00:00
%{_libdir} /pkgconfig/libproxy-1.0.pc
2010-08-24 15:43:14 +00:00
%if 0%{have_mono}
%{_libdir} /pkgconfig/libproxy-sharp-1.0.pc
%endif
2010-03-18 22:49:11 +00:00
%{_datadir} /cmake/Modules/Findlibproxy.cmake
2010-05-28 15:22:42 +00:00
%dir %{_datadir} /vala
%dir %{_datadir} /vala/vapi
%{_datadir} /vala/vapi/libproxy-1.0.vapi
2010-08-24 15:43:14 +00:00
%endif
2009-04-24 00:55:32 +00:00
%files -n python-libproxy
%defattr (-, root, root)
2009-08-17 12:32:29 +00:00
%{python_sitelib} /*.py
2010-05-28 15:22:42 +00:00
2010-08-24 15:43:14 +00:00
%if 0%{?have_mono}
2010-09-03 13:25:33 +00:00
2010-08-24 15:43:14 +00:00
%files -n libproxy-sharp
%defattr (-, root, root)
%{_assemblies_dir} /gac/libproxy-sharp
%{_assemblies_dir} /libproxy-sharp
%endif
%if ! 0%{?windows}
2010-09-03 13:25:33 +00:00
2010-05-28 15:22:42 +00:00
%files -n perl-Net-Libproxy
%defattr (-,root,root)
%dir %{perl_vendorarch} /Net
%dir %{perl_vendorarch} /auto/Net
%dir %{perl_vendorarch} /auto/Net/Libproxy
%{perl_vendorarch} /Net/Libproxy.pm
%{perl_vendorarch} /auto/Net/Libproxy/Libproxy.so
2010-08-24 15:43:14 +00:00
%endif
2009-04-24 00:55:32 +00:00
%else
2010-08-24 15:43:14 +00:00
%if ! 0%{?windows}
2010-09-03 13:25:33 +00:00
2010-03-05 01:14:28 +00:00
%files -n libproxy1-config-kde4
2009-08-17 12:32:29 +00:00
%defattr (-, root, root)
2010-08-24 15:43:14 +00:00
%{_libdir} /libproxy-%{version} /modules/config_kde4.so
2009-08-17 12:32:29 +00:00
2011-06-07 10:47:11 +00:00
%if 0%{?favor_gtk2}
2011-06-08 14:22:58 +00:00
2010-03-05 01:14:28 +00:00
%files -n libproxy1-config-gnome
2009-08-17 12:32:29 +00:00
%defattr (-, root, root)
2010-08-24 15:43:14 +00:00
%{_libdir} /libproxy-%{version} /modules/config_gnome.so
%{_libexecdir} /libproxy-%{version} /pxgconf
2011-06-07 10:47:11 +00:00
%else
2011-06-08 14:22:58 +00:00
2011-06-07 10:47:11 +00:00
%files -n libproxy1-config-gnome3
%defattr (-, root, root)
%{_libdir} /libproxy-%{version} /modules/config_gnome3.so
%{_libexecdir} /libproxy-%{version} /pxgsettings
%endif
2009-08-17 12:32:29 +00:00
2010-03-05 01:14:28 +00:00
%files -n libproxy1-networkmanager
2009-04-24 00:55:32 +00:00
%defattr (-, root, root)
2010-08-24 15:43:14 +00:00
%{_libdir} /libproxy-%{version} /modules/network_networkmanager.so
2009-04-24 00:55:32 +00:00
2010-03-05 01:14:28 +00:00
%files -n libproxy1-pacrunner-webkit
2009-04-24 00:55:32 +00:00
%defattr (-, root, root)
2010-08-24 15:43:14 +00:00
%{_libdir} /libproxy-%{version} /modules/pacrunner_webkit.so
2009-04-24 00:55:32 +00:00
2010-03-05 01:14:28 +00:00
%files -n libproxy1-pacrunner-mozjs
2009-04-24 00:55:32 +00:00
%defattr (-, root, root)
2010-08-24 15:43:14 +00:00
%{_libdir} /libproxy-%{version} /modules/pacrunner_mozjs.so
%endif
2009-04-24 00:55:32 +00:00
%endif
%changelog