Compare commits
7 Commits
0.4.11-3ma
...
0.4.16-1ma
Author | SHA1 | Date | |
---|---|---|---|
a37d76abd6 | |||
1e843b755e | |||
e834e187ca | |||
8d9a5194a9 | |||
6412539903 | |||
b69072bd43 | |||
f36ceb06a4 |
148
libproxy.spec
148
libproxy.spec
@@ -1,39 +1,28 @@
|
||||
Name: libproxy
|
||||
Version: 0.4.11
|
||||
Release: 3mamba
|
||||
Version: 0.4.16
|
||||
Release: 1mamba
|
||||
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
|
||||
Source: http://libproxy.googlecode.com/files/libproxy-%{version}.tar.gz
|
||||
Source: https://github.com/libproxy/libproxy.git/%{version}/libproxy-%{version}.tar.bz2
|
||||
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
|
||||
License: LGPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
%if "%{stage1}" != "1"
|
||||
BuildRequires: kdelibs-devel
|
||||
%endif
|
||||
BuildRequires: libatk-devel
|
||||
BuildRequires: libcairo-devel
|
||||
BuildRequires: ldconfig
|
||||
BuildRequires: libdbus-devel
|
||||
BuildRequires: libfontconfig-devel
|
||||
BuildRequires: libfreetype-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libgdk-pixbuf-devel
|
||||
BuildRequires: libglib-devel
|
||||
BuildRequires: libgtk2-devel
|
||||
BuildRequires: libpango-devel
|
||||
BuildRequires: libpython-devel
|
||||
BuildRequires: libqt4-devel
|
||||
BuildRequires: libsoup-devel
|
||||
BuildRequires: libnm-devel
|
||||
BuildRequires: libperl
|
||||
BuildRequires: libstdc++6-devel
|
||||
BuildRequires: libwebkit-gtk-devel
|
||||
BuildRequires: perl-devel
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: python3
|
||||
## AUTOBUILDREQ-END
|
||||
#%if "%{stage1}" != "1"
|
||||
#BuildRequires: xulrunner-devel
|
||||
@@ -59,12 +48,26 @@ A simple application that will use libproxy to give the results you can expect f
|
||||
It can be used to debug what would happen in various cases.
|
||||
|
||||
%package -n python-libproxy
|
||||
Summary: Pythin binding for %{name}
|
||||
Summary: Python 2.7 binding for %{name}
|
||||
Group: System/Libraries/Python
|
||||
|
||||
%description -n python-libproxy
|
||||
%{summary}.
|
||||
|
||||
%package -n python-libproxy-py3
|
||||
Summary: Python 3 binding for %{name}
|
||||
Group: System/Libraries/Python
|
||||
|
||||
%description -n python-libproxy-py3
|
||||
%{summary}.
|
||||
|
||||
%package -n python-libproxy-py36
|
||||
Summary: Python 3.6 binding for %{name}
|
||||
Group: System/Libraries/Python
|
||||
|
||||
%description -n python-libproxy-py36
|
||||
%{summary}.
|
||||
|
||||
%package -n perl-Net-Libproxy
|
||||
Summary: Perl binding for %{name}
|
||||
Group: System/Libraries/Perl
|
||||
@@ -80,8 +83,25 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description devel
|
||||
libproxy is a library that provides automatic proxy configuration management.
|
||||
This package contains static libraries and header files needed for development.
|
||||
|
||||
This package contains static libraries and header files need for development.
|
||||
%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.
|
||||
|
||||
%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.
|
||||
|
||||
%package kde
|
||||
Summary: KDE plugin for %{name}
|
||||
@@ -90,7 +110,6 @@ 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
|
||||
@@ -100,8 +119,7 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description gnome
|
||||
libproxy is a library that provides automatic proxy configuration management.
|
||||
|
||||
This package contains the plugin for the KDE desktop enviroment.
|
||||
This package contains the plugin for the GNOME desktop enviroment.
|
||||
|
||||
%package mozjs
|
||||
Summary: Mozilla plugin for %{name}
|
||||
@@ -110,8 +128,7 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description mozjs
|
||||
libproxy is a library that provides automatic proxy configuration management.
|
||||
|
||||
This package contains the mozilla plugin.
|
||||
This package contains the Mozilla plugin.
|
||||
|
||||
%package webkit
|
||||
Summary: WebKit plugin for %{name}
|
||||
@@ -120,24 +137,51 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description webkit
|
||||
libproxy is a library that provides automatic proxy configuration management.
|
||||
This package contains the Webkit plugin.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
#%patch0 -p1
|
||||
#%patch1 -p1
|
||||
%patch2 -p1
|
||||
#%patch2 -p1
|
||||
|
||||
%build
|
||||
#export NetworkManager_CFLAGS="-I/usr/include/NetworkManager `pkg-config --cflags --libs dbus-1`"
|
||||
%cmake \
|
||||
%cmake -d build \
|
||||
-DPERL_VENDORINSTALL=yes \
|
||||
-DLIBEXEC_INSTALL_DIR=%{_libexecdir}
|
||||
-DWITH_WEBKIT3=OFF \
|
||||
-DWITH_WEBKIT=OFF \
|
||||
-DLIBEXEC_INSTALL_DIR=%{_libexecdir} \
|
||||
-DPYTHON3_EXECUTABLE=%{__python3}
|
||||
|
||||
%make
|
||||
|
||||
cd ..
|
||||
|
||||
%ifnarch aarch64
|
||||
%cmake -d build_py36 \
|
||||
-DPERL_VENDORINSTALL=yes \
|
||||
-DWITH_WEBKIT3=OFF \
|
||||
-DWITH_WEBKIT=OFF \
|
||||
-DLIBEXEC_INSTALL_DIR=%{_libexecdir} \
|
||||
-DPYTHON3_EXECUTABLE=%{__python36}
|
||||
|
||||
%make
|
||||
%endif
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
%ifnarch aarch64
|
||||
%makeinstall -C build_py36
|
||||
%endif
|
||||
|
||||
%makeinstall -C build
|
||||
|
||||
%ifarch x86_64 aarch64
|
||||
mv %{buildroot}%{_prefix}/lib/python3* %{buildroot}%{_libdir}
|
||||
%endif
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
@@ -149,7 +193,6 @@ libproxy is a library that provides automatic proxy configuration management.
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libproxy.so.*
|
||||
#%{_libdir}/libmodman.so.*
|
||||
%{_libdir}/libproxy/%{version}/modules/network_networkmanager.so
|
||||
%{_libexecdir}/pxgsettings
|
||||
%doc AUTHORS COPYING
|
||||
|
||||
@@ -159,7 +202,17 @@ libproxy is a library that provides automatic proxy configuration management.
|
||||
|
||||
%files -n python-libproxy
|
||||
%defattr(-,root,root)
|
||||
%{python_sitearch}/libproxy.py
|
||||
%{python_sitelib}/libproxy.py
|
||||
|
||||
%files -n python-libproxy-py3
|
||||
%defattr(-,root,root)
|
||||
%{python3_sitearch}/libproxy.py
|
||||
|
||||
%ifnarch aarch64
|
||||
%files -n python-libproxy-py36
|
||||
%defattr(-,root,root)
|
||||
%{python36_sitearch}/libproxy.py
|
||||
%endif
|
||||
|
||||
%files -n perl-Net-Libproxy
|
||||
%defattr(-,root,root)
|
||||
@@ -190,10 +243,41 @@ libproxy is a library that provides automatic proxy configuration management.
|
||||
|
||||
%files kde
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libproxy/%{version}/modules/config_kde4.so
|
||||
%{_libdir}/libproxy/%{version}/modules/config_kde.so
|
||||
%endif
|
||||
|
||||
%files networkmanager
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libproxy/%{version}/modules/network_networkmanager.so
|
||||
|
||||
%files pacrunner
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libproxy/%{version}/modules/config_pacrunner.so
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Dec 18 2020 Automatic Build System <autodist@mambasoft.it> 0.4.16-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Jul 23 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.15-3mamba
|
||||
- added python3 package
|
||||
|
||||
* Sun Mar 31 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.15-2mamba
|
||||
- rebuilt with python 3.6 support
|
||||
|
||||
* Tue Aug 08 2017 Automatic Build System <autodist@mambasoft.it> 0.4.15-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Mon Oct 31 2016 Automatic Build System <autodist@mambasoft.it> 0.4.13-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Feb 27 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.12-1mamba
|
||||
- update to 0.4.12
|
||||
|
||||
* Tue Mar 10 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.11-4mamba
|
||||
- package NetworkManager plugin apart
|
||||
- disable link to webkit
|
||||
|
||||
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.11-3mamba
|
||||
- rebuilt with python 2.7
|
||||
|
||||
|
Reference in New Issue
Block a user