libproxy/libproxy.spec

178 lines
5.7 KiB
RPMSpec
Raw Permalink Normal View History

Name: libproxy
Version: 0.5.6
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: https://libproxy.github.io/libproxy/
Source: https://github.com/libproxy/libproxy.git/%{version}/libproxy-%{version}.tar.bz2
Patch3: libproxy-0.4.16-upstream-fix-python-argtypes_must_be_a_sequence.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libcurl-devel
BuildRequires: libduktape-devel
BuildRequires: libglib-devel
## AUTOBUILDREQ-END
BuildRequires: libpython3-devel >= 3.11
BuildRequires: glproto-devel
BuildRequires: libnm-devel
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
Provides: %{name}-mozjs
Obsoletes: %{name}-mozjs < 0.4.18
Provides: %{name}-webkit
Obsoletes: %{name}-webkit < 0.4.18
Obsoletes: perl-Net-Libproxy < 0.5.4
Obsoletes: python-libproxy-py310 < 0.4.18-2mamba
Obsoletes: python-libproxy-py3 < 0.5.4
Obsoletes: libproxy-gnome < 0.5.4
Obsoletes: libproxy-kde < 0.5.4
Obsoletes: libproxy-networkmanager < 0.5.4
Obsoletes: libproxy-pacrunner < 0.5.4
%description
libproxy is a library that provides automatic proxy configuration management.
%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.
This package contains static libraries and header files needed for development.
%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.
%debug_package
%prep
%setup -q
#%patch3 -p1
%build
%meson
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libproxy.so.*
%{_libdir}/libproxy/libpxbackend-1.0.so
%{_libdir}/girepository-1.0/Libproxy-1.0.typelib
%doc COPYING
%files tools
%defattr(-,root,root)
%{_bindir}/proxy
%{_mandir}/man8/proxy.8*
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libproxy
%{_includedir}/libproxy/proxy.h
%{_libdir}/libproxy.so
%{_datadir}/gir-1.0/Libproxy-1.0.gir
%{_datadir}/vala/vapi/libproxy-1.0.*
%{_libdir}/pkgconfig/*.pc
%dir %{_docdir}/libproxy-1.0
%{_docdir}/libproxy-1.0/*
#%doc CHANGELOG.md README.md
%changelog
* Fri Apr 26 2024 Automatic Build System <autodist@openmamba.org> 0.5.6-1mamba
- automatic version update by autodist
* Sat Apr 06 2024 Automatic Build System <autodist@openmamba.org> 0.5.5-1mamba
- automatic version update by autodist
* Sun Mar 03 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.4-2mamba
- obsolete perl-Net-Libproxy
* Tue Feb 13 2024 Automatic Build System <autodist@openmamba.org> 0.5.4-1mamba
- automatic version update by autodist
* Wed Oct 04 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.18-2mamba
- rebuilt with python3 == 3.11
* Sun Jul 31 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.18-1mamba
- update to 0.4.18
* Thu Jan 14 2021 Automatic Build System <autodist@mambasoft.it> 0.4.17-1mamba
- automatic version update by autodist
* 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
* 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
* 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