Browse Source

updated 4 packages

brotli-1.0.9-2

libproxy-0.4.17-1

libpsl-0.21.1-1

libsoup-2.72.0-1
Tomohiro "Tomo-p" KATO 3 years ago
parent
commit
91fba6072d

+ 13 - 17
b/brotli/brotli-vl.spec

@@ -4,7 +4,7 @@ Summary:        Lossless compression algorithm
 Summary(ja):    ロスレス圧縮アルゴリズム
 Name:           brotli
 Version:        1.0.9
-Release:        1%{?_dist_release}
+Release:        2%{?_dist_release}
 Group:          system
 Vendor:         Project Vine
 Distribution:   Vine Linux
@@ -12,6 +12,8 @@ Distribution:   Vine Linux
 License:        MIT
 URL:            https://github.com/google/brotli
 Source0:        https://github.com/google/brotli/archive/v%{version}.tar.gz
+# fix *.pc
+Patch0:         09b0992b6acb7faa6fd3b23f9bc036ea117230fc.patch
 
 BuildRequires:  cmake
 BuildRequires:  python3-devel python-rpm-macros python3-rpm-macros
@@ -57,7 +59,7 @@ This package installs the development files
 
 
 %prep
-%autosetup
+%autosetup -p1
 # fix permissions for -debuginfo
 # rpmlint will complain if I create an extra %%files section for
 # -debuginfo for this so we'll put it here instead
@@ -67,23 +69,19 @@ This package installs the development files
 
 
 %build
-mkdir -p build
-cd build
-%cmake .. -DCMAKE_INSTALL_PREFIX="%{_prefix}" \
+%cmake \
+    -DCMAKE_INSTALL_PREFIX="%{_prefix}" \
     -DCMAKE_INSTALL_LIBDIR="%{_libdir}"
-%make_build
-cd ..
+%cmake_build
 %py3_build
 
 
 %install
-cd build
-%make_install
+%cmake_install
 
 # I couldn't find the option to not build the static libraries
 %__rm "%{buildroot}%{_libdir}/"*.a
 
-cd ..
 %py3_install
 %{__install} -dm755 "%{buildroot}%{_mandir}/man3"
 cd docs
@@ -94,17 +92,11 @@ done
 
 %if %{with test}
 %check
-cd build
-ctest -V
-cd ..
+%ctest
 %{__python3} setup.py test
 %endif
 
 
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
-
-
 %files
 %license LICENSE
 %{_bindir}/brotli
@@ -124,6 +116,10 @@ cd ..
 
 
 %changelog
+* Fri Apr 02 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.9-2
+- imported Patch0 from upstream to fix *.pc.
+- dropped ldconfig scriptlets.
+
 * Tue Sep 22 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.9-1
 - nre upstream release.
 

+ 51 - 89
lib/libp/libproxy/libproxy-vl.spec

@@ -4,8 +4,8 @@
 
 Summary:        A library handling all the details of proxy configuration
 Name:           libproxy
-Version:        0.4.15
-Release:        4%{?_dist_release}
+Version:        0.4.17
+Release:        1%{?_dist_release}
 Group:          system
 Vendor:         Project Vine
 Distribution:   Vine Linux
@@ -13,21 +13,9 @@ Distribution:   Vine Linux
 License:        LGPLv2+
 URL:            http://libproxy.github.io/libproxy
 Source0:        https://github.com/libproxy/libproxy/releases/download/%{version}/libproxy-%{version}.tar.xz
-Patch0:         libproxy-0.4.15-python38.patch
-Patch1000:      CVE-2020-25219.patch
-# CVE-2020-26154
-Patch1001:      libproxy-0.4.15-fix-pac-buffer-overflow.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires:  python-devel
-BuildRequires:  python3-devel
-#Virtual Provides - We need either mozjs or WebKit
-%if %{with mozjs}
-Requires: %{name}-pac >= %{version}
-%endif
-#
-Requires: libproxy-python = %{version}-%{release}
 Requires: libproxy-bin = %{version}-%{release}
 
 Obsoletes: %{name}-mozjs < 1.4.15
@@ -35,26 +23,18 @@ Obsoletes: %{name}-webkitgtk3 < 1.4.15
 
 BuildRequires:  cmake
 # gnome
-BuildRequires:  GConf2-devel
-%if %{with mozjs}
-# mozjs
-BuildRequires:  mozjs >= 38
-%endif
+BuildRequires:  pkgconfig(gio-2.0) >= 2.26
 # NetworkManager
 BuildRequires:  NetworkManager-libnm-devel
 BuildRequires:  dbus-devel
 BuildRequires:  glib2
-# webkit (gtk)
-BuildRequires:  webkitgtk4-devel
-# kde
-BuildRequires:  libXmu-devel
-BuildRequires:  libX11-devel
-
-BuildRequires:  python-rpm-macros
+# webkit (gtk3)
+BuildRequires:  pkgconfig(javascriptcoregtk-4.0)
+# python3
+BuildRequires:  python3-devel
 BuildRequires:  python3-rpm-macros
 
-Provides: %{name}-webkit = %{version}-%{release}
-Obsoletes: %{name}-webkit < %{version}-%{release}
+Obsoletes: %{name}-python < 0.4.17
 
 %description
 libproxy offers the following features:
@@ -80,22 +60,18 @@ Requires:       %{name} = %{version}-%{release}
 The %{name}-bin package contains the proxy binary for %{name}
 
 
-%package        python
-Summary:        Binding for %{name} and python
-Group:          programming
-Requires:       %{name} = %{version}-%{release}
-
-%description    python
-The %{name}-python package contains the python binding for %{name}
-
-%package        python3
+%package -n     python3-%{name}
 Summary:        Binding for %{name} and python
 Group:          programming
+BuildArch:      noarch
+%{?python_provide:%python_provide python3-%{name}}
+Obsoletes:      %{name}-python3 < 1.4.17
+Provides:       %{name}-python3 = %{version}-%{release}
 Requires:       %{name} = %{version}-%{release}
 
+%description -n python3-%{name}
+The python3-%{name} package contains the python3 binding for %{name}
 
-%description    python3
-The %{name}-python package contains the python binding for %{name}
 
 %package        gnome
 Summary:        Plugin for %{name} and gnome
@@ -106,38 +82,37 @@ Requires:       %{name} = %{version}-%{release}
 The %{name}-gnome package contains the %{name} plugin for gnome.
 
 
-%package        kde
-Summary:        Plugin for %{name} and kde
+%package        networkmanager
+Summary:        Plugin for %{name} and networkmanager
 Group:          system
-Requires:       %{name} = %{version}-%{release}
+Requires:       %{name}%{?_isa} = %{version}-%{release}
 
-%description    kde
-The %{name}-kde package contains the %{name} plugin for kde.
+%description    networkmanager
+The %{name}-networkmanager package contains the %{name} plugin
+for networkmanager.
 
 
-%if %{with mozjs}
-%package        mozjs
-Summary:        Plugin for %{name} and mozjs
+%package        webkitgtk4
+Summary:        Plugin for %{name} and webkitgtk4
 Group:          system
 Requires:       %{name} = %{version}
-#Tweak this according to the current gecko-libs version
-Requires:       js
 Provides:       %{name}-pac = %{version}-%{release}
 
-%description    mozjs
-The %{name}-mozjs package contains the %{name} plugin for mozjs.
+%description    webkitgtk4
+The %{name}-webkitgtk4 package contains the %{name} plugin for
+webkitgtk4.
 
 
-%package        webkitgtk4
-Summary:        Plugin for %{name} and webkitgtk4
+%package        pacrunner
+Summary:        Plugin for %{name} and PacRunner
 Group:          system
-Requires:       %{name} = %{version}
+Requires:       %{name}%{?_isa} = %{version}-%{release}
 Provides:       %{name}-pac = %{version}-%{release}
+Requires:       pacrunner
 
-%description    webkitgtk4
-The %{name}-webkitgtk3 package contains the %{name} plugin for
-webkitgtk3.
-%endif
+%description    pacrunner
+The %{name}-pacrunner package contains the %{name} plugin for
+PacRunner.
 
 
 %package        devel
@@ -156,7 +131,6 @@ developing applications that use %{name}.
 
 %prep
 %autosetup -p1
-#sed -i "s|mozjs185>=1.8.5|mozjs185|" libproxy/cmake/modules/pacrunner_mozjs.cmk
 
 
 %build
@@ -165,29 +139,25 @@ export CXXFLAGS="-std=c++14 $RPM_OPT_FLAGS"
 	-DLIBEXEC_INSTALL_DIR=%{_libexecdir} \
 	-DMODULE_INSTALL_DIR=%{_libdir}/%{name}/%{version}/modules \
 	-DWITH_PERL=OFF \
+	-DWITH_PYTHON2=OFF \
+	-DWITH_PYTHON3=ON \
+	-DBIPR=OFF \
 	-DWITH_WEBKIT3=ON \
 	-DWITH_GNOME3=ON \
-	-DWITH_KDE=ON \
-   .
-make VERBOSE=1 %{?_smp_mflags}
-
+	-DWITH_KDE=OFF \
+	%{nil}
+%cmake_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
-find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+%cmake_install
 
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
-
-
 %files 
-%defattr(-,root,root,-)
 %license COPYING
 %doc AUTHORS README
 %{_libdir}/*.so.*
@@ -197,36 +167,23 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/%{name}/%{version}/modules/network_networkmanager.so
 
 %files bin
-%defattr(-,root,root,-)
 %{_bindir}/proxy
 
-%files python
-%defattr(-,root,root,-)
-%{python_sitelib}/libproxy.py
-
-%files python3
-%defattr(-,root,root,-)
+%files -n python3-%{name}
 %{python3_sitelib}/libproxy.py
 
 %files gnome
-%defattr(-,root,root,-)
 %{_libdir}/%{name}/%{version}/modules/config_gnome3.so
 %{_libexecdir}/pxgsettings
 
-%files kde
-%defattr(-,root,root,-)
-%{_libdir}/%{name}/%{version}/modules/config_kde.so
-
-# Build the pacrunner into libproxy unless we are building for multiple engines
-%if %{with mozjs}
-%files mozjs
-%defattr(-,root,root,-)
-%{_libdir}/%{name}/%{version}/modules/pacrunner_mozjs.so
+%files networkmanager
+%{_libdir}/%{name}/%{version}/modules/network_networkmanager.so
 
 %files webkitgtk4
-%defattr(-,root,root,-)
 %{_libdir}/%{name}/%{version}/modules/pacrunner_webkit.so
-%endif
+
+%files pacrunner
+%{_libdir}/%{name}/%{version}/modules/config_pacrunner.so
 
 %files devel
 %defattr(-,root,root,-)
@@ -237,6 +194,11 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Apr 02 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.4.17-1
+- dropped ldconfig scriptlets.
+- dropped subpackages: kde, python2.
+- dropped Patch0, 1000 and 1001: fixed in upstream.
+
 * Sat Oct 10 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.4.15-4
 - imported Patch1001 to fix CVE-2020-26154 from rawhide.
 

+ 16 - 12
lib/libp/libpsl/libpsl-vl.spec

@@ -1,15 +1,13 @@
 Name:           libpsl
-Version:        0.21.0
-Release:        5%{?_dist_release}
+Version:        0.21.1
+Release:        1%{?_dist_release}
 Summary:        C library for the Publix Suffix List
 Vendor:         Project Vine
 Distribution:   Vine Linux
 
 License:        MIT
 URL:            https://rockdaboot.github.io/libpsl
-Source0:        https://github.com/rockdaboot/libpsl/releases/download/libpsl-%{version}/libpsl-%{version}.tar.gz
-# fix unnecessary build failure due to missing tree_index.sgml in gtk-doc output
-Patch1:         0001-libpsl-0.21.0-gtk-doc.patch
+Source0:        https://github.com/rockdaboot/libpsl/releases/download/%{version}/libpsl-%{version}.tar.gz
 
 BuildRequires:  gcc
 BuildRequires:  gettext-devel
@@ -21,7 +19,6 @@ BuildRequires:  libunistring-devel
 BuildRequires:  libxslt
 BuildRequires:  publicsuffix-list
 BuildRequires:  python3-devel
-BuildRequires:  python3-rpm-macros
 Requires:       publicsuffix-list-dafsa
 
 %description
@@ -47,6 +44,7 @@ Libpsl...
 - is thread-safe;
 - handles IDNA2008 UTS#46;
 
+
 %package        devel
 Summary:        Development files for %{name}
 Requires:       %{name}%{?_isa} = %{version}-%{release}
@@ -56,6 +54,7 @@ Requires:       publicsuffix-list
 This package contains libraries and header files for
 developing applications that use %{name}.
 
+
 %package -n     psl
 Summary:        Commandline utility to explore the Public Suffix List
 
@@ -64,6 +63,7 @@ This package contains a commandline utility to explore the Public Suffix List,
 for example it checks if domains are public suffixes, checks if cookie-domain
 is acceptable for domains and so on.
 
+
 %package -n     psl-make-dafsa
 Summary:        Compiles the Public Suffix List into DAFSA form
 
@@ -73,6 +73,9 @@ which represents a Deterministic Acyclic Finite State Automaton (DAFSA)
 from a plain text Public Suffix List.
 
 
+%debug_package
+
+
 %prep
 %autosetup -p1
 rm -frv list
@@ -126,12 +129,7 @@ find %{buildroot} -name '*.la' -delete -print
 
 %check
 export LD_LIBRARY_PATH=%{buildroot}%{_libdir}
-make check || cat tests/test-suite.log
-
-
-%post -p /sbin/ldconfig 
-
-%postun -p /sbin/ldconfig
+make check || cat $(find . -name test-suite.log)
 
 
 %files
@@ -158,7 +156,13 @@ make check || cat tests/test-suite.log
 %{_bindir}/psl-make-dafsa
 %{_mandir}/man1/psl-make-dafsa.1*
 
+
 %changelog
+* Fri Apr 02 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.21.1-1
+- new upstream release.
+- dropped Patch1: fixed in upstream.
+- dropped ldconfig scriptlets.
+
 * Sat May 09 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.21.0-5
 - initial build for Vine Linux.
 

+ 15 - 17
lib/libs/libsoup/libsoup-vl.spec

@@ -4,9 +4,9 @@
 Summary: Soup, an HTTP library implementation
 Summary(ja): Soup - HTTP ライブラリ実装
 Name: libsoup
-Version: 2.70.0
+Version: 2.72.0
 Release: 1%{?_dist_release}
-Group: System Environment/Libraries
+Group: system
 Vendor: Project Vine
 Distribution: Vine Linux
 
@@ -22,8 +22,7 @@ BuildRequires: libproxy-devel >= 0.2.3
 BuildRequires: libgnome-keyring-devel
 BuildRequires: sqlite3-devel
 BuildRequires: gobject-introspection-devel
-BuildRequires: vala-devel
-BuildRequires: vala-tools
+BuildRequires: vala
 BuildRequires: python3
 BuildRequires: meson
 BuildRequires: brotli-devel
@@ -50,7 +49,7 @@ supported for those who want it).
 %package devel
 Summary: Header files for the Soup library
 Summary(ja): Soup ライブラリのヘッダファイル
-Group: Development/Libraries
+Group: programming
 Requires: %{name} = %{version}-%{release}
 Requires: glib2-devel >= 2.26.0
 Requires: gnutls-devel, libxml2-devel, libgpg-error-devel
@@ -63,7 +62,7 @@ you to develop applications that use the libsoup library.
 %package vala
 Summary: Vala bindings for %{name}
 Summary(ja): %{name} の Vala バインディング
-Group: Development/Libraries
+Group: programming
 Requires: %{name} = %{version}-%{release}
 Requires: vala
 
@@ -75,7 +74,7 @@ Vala bindings for %{name}.
 %package -n compat32-%{name}
 Summary: Soup, an HTTP library implementation
 Summary(ja): Soup - HTTP ライブラリ実装
-Group: System Environment/Libraries
+Group: system,legacy
 
 %description -n compat32-%{name}
 Libsoup is an HTTP library implementation in C. It was originally part
@@ -89,6 +88,9 @@ the Gtk+ programming model (a synchronous operation mode is also
 supported for those who want it).
 
 
+%debug_package
+
+
 %prep
 %setup -q
 
@@ -96,7 +98,8 @@ supported for those who want it).
 %build
 %meson \
   -Dgssapi=disabled \
-  -Dntlm=disabled
+  -Dntlm=disabled \
+  -Dsysprof=disabled
 %meson_build
 
 
@@ -111,15 +114,6 @@ rm -rf $RPM_BUILD_ROOT
 rm -rf $RPM_BUILD_ROOT
 
 
-%post -p /sbin/ldconfig 
-
-%postun -p /sbin/ldconfig
-
-%post -n compat32-%{name} -p /sbin/ldconfig 
-
-%postun -n compat32-%{name} -p /sbin/ldconfig
-
-
 %files -f %{name}.lang
 %defattr(-, root, root)
 %license COPYING
@@ -149,6 +143,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Apr 02 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.72.0-1
+- new upstream release.
+- dropped scriptlets.
+
 * Sat May 09 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.70.0-1
 - new upstream release.