2024-01-06 05:27:17 +01:00
|
|
|
Name: libproxy
|
2024-01-06 05:27:18 +01:00
|
|
|
Version: 0.4.17
|
|
|
|
Release: 1mamba
|
2024-01-06 05:27:17 +01:00
|
|
|
Summary: A library that provides automatic proxy configuration management.
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://libproxy.googlecode.com
|
2024-01-06 05:27:17 +01:00
|
|
|
Source: https://github.com/libproxy/libproxy.git/%{version}/libproxy-%{version}.tar.bz2
|
2024-01-06 05:27:17 +01:00
|
|
|
Patch0: libproxy-0.4.7-gcc-4.7.patch
|
|
|
|
Patch1: libproxy-0.4.7-xulrunner.patch
|
|
|
|
Patch2: libproxy-0.4.11-kde-4.10.patch
|
2024-01-06 05:27:18 +01:00
|
|
|
Patch3: libproxy-0.4.16-upstream-fix-python-argtypes_must_be_a_sequence.patch
|
2024-01-06 05:27:17 +01:00
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 05:27:18 +01:00
|
|
|
BuildRequires: ldconfig
|
2024-01-06 05:27:17 +01:00
|
|
|
BuildRequires: libdbus-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libglib-devel
|
2024-01-06 05:27:18 +01:00
|
|
|
BuildRequires: libnm-devel
|
|
|
|
BuildRequires: libperl
|
2024-01-06 05:27:17 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: perl-devel
|
2024-01-06 05:27:18 +01:00
|
|
|
BuildRequires: python3
|
2024-01-06 05:27:17 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
#%if "%{stage1}" != "1"
|
|
|
|
#BuildRequires: xulrunner-devel
|
|
|
|
#%endif
|
|
|
|
BuildRequires: glproto-devel
|
|
|
|
BuildRequires: libnm-devel
|
|
|
|
Provides: %{name}-mozjs
|
|
|
|
Obsoletes: %{name}-mozjs
|
|
|
|
Provides: %{name}-webkit
|
|
|
|
Obsoletes: %{name}-webkit
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
libproxy is a library that provides automatic proxy configuration management.
|
|
|
|
|
|
|
|
%package tools
|
|
|
|
Summary: A simple application using libproxy
|
|
|
|
Group: System/Tools
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
%package -n python-libproxy
|
2024-01-06 05:27:18 +01:00
|
|
|
Summary: Python 2.7 binding for %{name}
|
2024-01-06 05:27:17 +01:00
|
|
|
Group: System/Libraries/Python
|
|
|
|
|
|
|
|
%description -n python-libproxy
|
|
|
|
%{summary}.
|
|
|
|
|
2024-01-06 05:27:18 +01:00
|
|
|
%package -n python-libproxy-py3
|
|
|
|
Summary: Python 3 binding for %{name}
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
|
|
|
|
%description -n python-libproxy-py3
|
|
|
|
%{summary}.
|
|
|
|
|
2024-01-06 05:27:18 +01:00
|
|
|
%package -n python-libproxy-py36
|
2024-01-06 05:27:18 +01:00
|
|
|
Summary: Python 3.6 binding for %{name}
|
2024-01-06 05:27:18 +01:00
|
|
|
Group: System/Libraries/Python
|
|
|
|
|
|
|
|
%description -n python-libproxy-py36
|
|
|
|
%{summary}.
|
|
|
|
|
2024-01-06 05:27:17 +01:00
|
|
|
%package -n perl-Net-Libproxy
|
|
|
|
Summary: Perl binding for %{name}
|
|
|
|
Group: System/Libraries/Perl
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n perl-Net-Libproxy
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Devel package for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
libproxy is a library that provides automatic proxy configuration management.
|
2024-01-06 05:27:17 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-06 05:27:17 +01:00
|
|
|
|
2024-01-06 05:27:17 +01:00
|
|
|
%package networkmanager
|
|
|
|
Summary: NetworkManager plugin for %{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description networkmanager
|
|
|
|
libproxy is a library that provides automatic proxy configuration management.
|
|
|
|
This package contains the plugin for NetworkManager.
|
2024-01-06 05:27:17 +01:00
|
|
|
|
2024-01-06 05:27:18 +01:00
|
|
|
%package pacrunner
|
|
|
|
Summary: Pacrunner plugin for %{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description pacrunner
|
|
|
|
libproxy is a library that provides automatic proxy configuration management.
|
|
|
|
This package contains the plugin for Pacrunner.
|
|
|
|
|
2024-01-06 05:27:17 +01:00
|
|
|
%package kde
|
|
|
|
Summary: KDE plugin for %{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description kde
|
|
|
|
libproxy is a library that provides automatic proxy configuration management.
|
|
|
|
This package contains the plugin for the KDE desktop enviroment.
|
|
|
|
|
|
|
|
%package gnome
|
|
|
|
Summary: Gnome plugin for %{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description gnome
|
|
|
|
libproxy is a library that provides automatic proxy configuration management.
|
2024-01-06 05:27:17 +01:00
|
|
|
This package contains the plugin for the GNOME desktop enviroment.
|
2024-01-06 05:27:17 +01:00
|
|
|
|
|
|
|
%package mozjs
|
|
|
|
Summary: Mozilla plugin for %{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description mozjs
|
|
|
|
libproxy is a library that provides automatic proxy configuration management.
|
2024-01-06 05:27:17 +01:00
|
|
|
This package contains the Mozilla plugin.
|
2024-01-06 05:27:17 +01:00
|
|
|
|
|
|
|
%package webkit
|
|
|
|
Summary: WebKit plugin for %{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description webkit
|
|
|
|
libproxy is a library that provides automatic proxy configuration management.
|
2024-01-06 05:27:17 +01:00
|
|
|
This package contains the Webkit plugin.
|
2024-01-06 05:27:17 +01:00
|
|
|
|
2024-01-06 05:27:18 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 05:27:17 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-06 05:27:18 +01:00
|
|
|
#%patch3 -p1
|
2024-01-06 05:27:17 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
#export NetworkManager_CFLAGS="-I/usr/include/NetworkManager `pkg-config --cflags --libs dbus-1`"
|
2024-01-06 05:27:18 +01:00
|
|
|
%cmake -d build \
|
|
|
|
-DPERL_VENDORINSTALL=yes \
|
|
|
|
-DWITH_WEBKIT3=OFF \
|
|
|
|
-DWITH_WEBKIT=OFF \
|
|
|
|
-DLIBEXEC_INSTALL_DIR=%{_libexecdir} \
|
|
|
|
-DPYTHON3_EXECUTABLE=%{__python3}
|
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
%ifnarch aarch64
|
|
|
|
%cmake -d build_py36 \
|
2024-01-06 05:27:17 +01:00
|
|
|
-DPERL_VENDORINSTALL=yes \
|
2024-01-06 05:27:17 +01:00
|
|
|
-DWITH_WEBKIT3=OFF \
|
|
|
|
-DWITH_WEBKIT=OFF \
|
2024-01-06 05:27:18 +01:00
|
|
|
-DLIBEXEC_INSTALL_DIR=%{_libexecdir} \
|
|
|
|
-DPYTHON3_EXECUTABLE=%{__python36}
|
2024-01-06 05:27:17 +01:00
|
|
|
|
|
|
|
%make
|
2024-01-06 05:27:18 +01:00
|
|
|
%endif
|
2024-01-06 05:27:17 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 05:27:18 +01:00
|
|
|
%ifnarch aarch64
|
|
|
|
%makeinstall -C build_py36
|
|
|
|
%endif
|
2024-01-06 05:27:17 +01:00
|
|
|
|
2024-01-06 05:27:18 +01:00
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
%ifarch x86_64 aarch64
|
|
|
|
mv %{buildroot}%{_prefix}/lib/python3* %{buildroot}%{_libdir}
|
2024-01-06 05:27:18 +01:00
|
|
|
%endif
|
|
|
|
|
2024-01-06 05:27:17 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libproxy.so.*
|
|
|
|
#%{_libdir}/libmodman.so.*
|
|
|
|
%{_libexecdir}/pxgsettings
|
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/proxy
|
|
|
|
|
|
|
|
%files -n python-libproxy
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 05:27:17 +01:00
|
|
|
%{python_sitelib}/libproxy.py
|
2024-01-06 05:27:18 +01:00
|
|
|
|
2024-01-06 05:27:18 +01:00
|
|
|
%files -n python-libproxy-py3
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{python3_sitearch}/libproxy.py
|
|
|
|
|
|
|
|
%ifnarch aarch64
|
2024-01-06 05:27:18 +01:00
|
|
|
%files -n python-libproxy-py36
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{python36_sitearch}/libproxy.py
|
2024-01-06 05:27:18 +01:00
|
|
|
%endif
|
2024-01-06 05:27:17 +01:00
|
|
|
|
|
|
|
%files -n perl-Net-Libproxy
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{perl_vendorarch}/Net/Libproxy.pm
|
|
|
|
%{perl_vendorarch}/auto/Net/Libproxy/Libproxy.so
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/*.h
|
|
|
|
%{_libdir}/libproxy.so
|
|
|
|
#%{_libdir}/libmodman.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_datadir}/cmake/Modules/Findlibproxy.cmake
|
|
|
|
#%doc ChangeLog README
|
|
|
|
|
|
|
|
%files gnome
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libproxy/%{version}/modules/config_gnome3.so
|
|
|
|
|
|
|
|
%if "%{stage1}" != "1"
|
|
|
|
#%files mozjs
|
|
|
|
#%defattr(-,root,root)
|
|
|
|
##%{_libdir}/libproxy/%{version}/modules/pacrunner_mozjs.so
|
|
|
|
#
|
|
|
|
#%files webkit
|
|
|
|
#%defattr(-,root,root)
|
|
|
|
##%{_libdir}/libproxy/%{version}/modules/pacrunner_webkit.so
|
|
|
|
|
|
|
|
%files kde
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 05:27:17 +01:00
|
|
|
%{_libdir}/libproxy/%{version}/modules/config_kde.so
|
2024-01-06 05:27:17 +01:00
|
|
|
%endif
|
|
|
|
|
2024-01-06 05:27:17 +01:00
|
|
|
%files networkmanager
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libproxy/%{version}/modules/network_networkmanager.so
|
|
|
|
|
2024-01-06 05:27:18 +01:00
|
|
|
%files pacrunner
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libproxy/%{version}/modules/config_pacrunner.so
|
|
|
|
|
|
|
|
|
2024-01-06 05:27:17 +01:00
|
|
|
%changelog
|
2024-01-06 05:27:18 +01:00
|
|
|
* Thu Jan 14 2021 Automatic Build System <autodist@mambasoft.it> 0.4.17-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:27:18 +01:00
|
|
|
* Mon Dec 21 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.16-2mamba
|
|
|
|
- added a patch to fix error in python module: TypeError: _argtypes_ must be a sequence of types
|
|
|
|
|
2024-01-06 05:27:18 +01:00
|
|
|
* Fri Dec 18 2020 Automatic Build System <autodist@mambasoft.it> 0.4.16-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:27:18 +01:00
|
|
|
* Thu Jul 23 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.15-3mamba
|
|
|
|
- added python3 package
|
|
|
|
|
2024-01-06 05:27:18 +01:00
|
|
|
* Sun Mar 31 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.15-2mamba
|
|
|
|
- rebuilt with python 3.6 support
|
|
|
|
|
2024-01-06 05:27:18 +01:00
|
|
|
* Tue Aug 08 2017 Automatic Build System <autodist@mambasoft.it> 0.4.15-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:27:17 +01:00
|
|
|
* Mon Oct 31 2016 Automatic Build System <autodist@mambasoft.it> 0.4.13-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:27:17 +01:00
|
|
|
* Sat Feb 27 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.12-1mamba
|
|
|
|
- update to 0.4.12
|
|
|
|
|
2024-01-06 05:27:17 +01:00
|
|
|
* Tue Mar 10 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.11-4mamba
|
|
|
|
- package NetworkManager plugin apart
|
|
|
|
- disable link to webkit
|
|
|
|
|
2024-01-06 05:27:17 +01:00
|
|
|
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.11-3mamba
|
|
|
|
- rebuilt with python 2.7
|
|
|
|
|
|
|
|
* Mon Apr 22 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.11-2mamba
|
|
|
|
- added a patch to fix kde4 module when using recent kde versions
|
|
|
|
|
|
|
|
* Mon Apr 15 2013 Automatic Build System <autodist@mambasoft.it> 0.4.11-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Nov 07 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.10-1mamba
|
|
|
|
- update to 0.4.10
|
|
|
|
|
|
|
|
* Sun Sep 02 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.7-1mamba
|
|
|
|
- update to 0.4.7
|
|
|
|
|
|
|
|
* Mon Oct 31 2011 Davide Madrisan <davide.madrisan@gmail.com> 0.4.6-3mamba
|
|
|
|
- do not own %{_includedir}
|
|
|
|
- run ldconfig
|
|
|
|
- new subpackages python-libproxy and perl-Net-Libproxy
|
|
|
|
- buid perl module using the PERL_VENDORINSTALL=yes flag
|
|
|
|
- move %{_bindir}/proxy to libproxy-tools
|
|
|
|
|
|
|
|
* Sun Sep 04 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.6-2mamba
|
|
|
|
- added -mozjs and -webkit subpackages
|
|
|
|
|
|
|
|
* Wed Dec 15 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.6-1mamba
|
|
|
|
- update to 0.4.6
|
|
|
|
|
|
|
|
* Sun Mar 22 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.3-1mamba
|
|
|
|
- package created by autospec
|