Package init

This commit is contained in:
dogsheng 2019-12-13 15:39:12 +08:00
parent 1b06628933
commit d8e806a38a

View File

@ -1,6 +1,6 @@
Name: libproxy
Version: 0.4.15
Release: 11
Release: 12
Summary: Libproxy is a library that provides automatic proxy configuration management
License: LGPLv2+
@ -19,8 +19,8 @@ BuildRequires: cmake >= 2.6.0 gcc-c++ libmodman-devel >= 2.0.1
BuildRequires: pkgconfig(gio-2.0) >= 2.26 pkgconfig(mozjs-52) pkgconfig(libnm) python2-devel python3-devel
BuildRequires: pkgconfig(dbus-1) pkgconfig(javascriptcoregtk-4.0)
Provides: %{name}-bin %{name}-gnome %{name}-kde %{name}-mozjs %{name}-networkmanager %{name}-pacrunner %{name}-webkitgtk4
Obsoletes: %{name}-bin %{name}-gnome %{name}-kde %{name}-mozjs %{name}-networkmanager %{name}-pacrunner %{name}-webkitgtk4
Provides: %{name}-bin %{name}-gnome %{name}-kde %{name}-mozjs %{name}-networkmanager %{name}-pacrunner
Obsoletes: %{name}-bin %{name}-gnome %{name}-kde %{name}-mozjs %{name}-networkmanager %{name}-pacrunner
%description
libproxy offers the following features:
@ -49,6 +49,14 @@ BuildArch: noarch
%description -n python3-%{name}
The python3 binding for libproxy.
%package webkitgtk4
Summary: plugin for webkit2gtk3
Requires: %{name} = %{version}-%{release}
Provides: %{name}-pac = %{version}-%{release}
%description webkitgtk4
plugin for webkit2gtk3.
%package devel
Summary: Libproxy provides consistent proxy configuration to applications - Development Files
Requires: %{name}%{?_isa} = %{version}-%{release}
@ -80,30 +88,47 @@ make test
%ldconfig_scriptlets
%files
%doc AUTHORS README COPYING
%defattr(-,root,root)
%doc AUTHORS README
%license COPYING
%{_libdir}/*.so.*
%{_bindir}/proxy
%{_libdir}/%{name}/%{version}/modules/*
%{_libexecdir}/pxgsettings
%exclude %{_libdir}/%{name}/%{version}/modules/pacrunner_webkit.so
%files -n python2-%{name}
%defattr(-,root,root)
%{python2_sitelib}/%{name}.*
%files -n python3-%{name}
%defattr(-,root,root)
%{python3_sitelib}/__pycache__/*
%{python3_sitelib}/%{name}.*
%files webkitgtk4
%defattr(-,root,root)
%{_libdir}/%{name}/%{version}/modules/pacrunner_webkit.so
%files devel
%defattr(-,root,root)
%{_includedir}/proxy.h
%{_libdir}/*.so
%{_libdir}/pkgconfig/libproxy-1.0.pc
%{_datadir}/cmake/Modules/Findlibproxy.cmake
%files help
%defattr(-,root,root)
%{_mandir}/man1/proxy.1*
%changelog
* Thu Oct 17 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.30-19
* Thu Nov 28 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.4.15-12
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:remove the webkitgtk4 package from main package
* Thu Oct 17 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.4.15-11
- Type:bugfix
- Id:NA
- SUG:NA