Browse Source

updated 8 packages

avahi-0.8-1

farstream-0.2.9-1

gssdp-1.2.2-1

gupnp-igd-0.2.5-1

gupnp-1.2.2-1

libnice-0.1.16-1

openssl-1.1.1g-1

xmltoman-0.4-22

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@12388 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 3 years ago
parent
commit
a4c9aa3148

+ 145 - 56
a/avahi/avahi-vl.spec

@@ -1,34 +1,63 @@
-%define _localstatedir %{_var}
+%bcond_with systemd
+
+%define avahi_user_uid 70
+%global unitfiles avahi-daemon.socket avahi-daemon.service avahi-dnsconfd.service
 
 %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
 
 Summary:        Local network service discovery 
 Summary(ja):	ローカルネットワークサービス検出システム
 Name:           avahi
-Version:        0.7
-Release:		2%{?_dist_release}
+Version:        0.8
+Release:        1%{?_dist_release}%{?with_systemd:.systemd}
 Group:          System Environment/Base
+Vendor:         Project Vine
+Distribution:   Vine Linux
+
 License:        LGPL
 URL:            http://avahi.org
-
 Source0:        %{name}-%{version}.tar.gz
 
-Patch0:			avahi-0.6.31-no-deprecations.patch
-Patch10:		avahi-0.6.31-vine.patch
+## upstream patches
+Patch6:         0006-avahi-dnsconfd.service-Drop-Also-avahi-daemon.socket.patch
+Patch7:         0007-man-add-missing-bshell.1-symlink.patch
+Patch8:         0008-Ship-avahi-discover-1-bssh-1-and-bvnc-1-also-for-GTK.patch
+Patch9:         0009-fix-requires-in-pc-file.patch
+Patch10:        0010-fix-bytestring-decoding-for-proper-display.patch
+Patch11:        0011-avahi_dns_packet_consume_uint32-fix-potential-undefi.patch
 
-BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+Patch1000:      avahi-0.6.31-vine.patch
+
+BuildRoot:      %{_tmppath}/%{name}-%{version}-root
+BuildRequires:  dbus-devel, dbus-glib-devel
+BuildRequires:  desktop-file-utils
+BuildRequires:  expat-devel
 BuildRequires:  glib2-devel
-BuildRequires:  gtk3-devel, gobject-introspection-devel
+BuildRequires:  gobject-introspection-devel
+BuildRequires:  gtk3-devel
+#BuildRequires:  python, dbus-python, libxml2-python
+BuildRequires:  gdbm-devel
+BuildRequires:  intltool
+BuildRequires:  libcap-devel
 BuildRequires:  libdaemon-devel >= 0.12
-BuildRequires:  libcap-devel, dbus-devel, expat-devel
-BuildRequires:  python, dbus-python, gdbm-devel, libmng-devel
-BuildRequires:  xorg-x11-devel, mesa-libGL-devel
-Requires:       dbus, libdaemon, expat, python, dbus-python, libcap
+BuildRequires:  libevent-devel
+BuildRequires:  mesa-libGL-devel
+BuildRequires:  xmltoman
+BuildRequires:  xorg-x11-devel
+Requires:       dbus
+
+Requires(post):   dbus
+Requires(pre):    shadow-utils
+Requires(pre):    coreutils
+%if %{with systemd}
+BuildRequires:    systemd
+%{?systemd_requires}
+%else
 Requires(post): initscripts, chkconfig >= 1.3.34
-Obsoletes:	howl, howl-libs
+%endif
+
+Obsoletes:      howl, howl-libs
 
-Vendor: Project Vine
-Distribution: Vine Linux
 
 %description
 Avahi is a system which facilitates service discovery on
@@ -223,15 +252,16 @@ Requires: compat32-%{name} = %{version}-%{release}
 The avahi-devel package contains the header files and libraries
 necessary for developing programs using avahi.
 
-%define avahi_user_uid 70
 
 %prep
 %setup -q
-#patch0 -p1 -b .nodep
-%patch10 -p1 -b .vine
+%autopatch -p1
+
+rm -fv docs/INSTALL
+
 
 %build
-autoreconf -i
+autoreconf -ivf
 
 %configure --with-distro=vine \
   --disable-monodoc \
@@ -246,83 +276,135 @@ autoreconf -i
   --disable-gtk \
   --disable-qt3 \
   --disable-qt4 \
+  --disable-qt5 \
   --disable-mono \
+  --disable-python \
+  --enable-shared=yes \
+  --enable-static=no \
+  --disable-silent-rules \
+%if %{with systemd}
+  --with-systemdsystemunitdir=%{_unitdir} \
+%endif
   --enable-introspection=no
 
-%__make -C avahi-python clean
 %__make %{?_smp_mflags}
 
+
 %install
 rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
 
-rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
-rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
+# omit libtool .la files
+rm -fv %{buildroot}%{_libdir}/lib*.la
 
 # remove example 
-rm -f $RPM_BUILD_ROOT%{_sysconfdir}/avahi/services/ssh.service
+rm -fv %{buildroot}%{_sysconfdir}/avahi/services/ssh.service
+rm -fv %{buildroot}%{_sysconfdir}/avahi/services/sftp-ssh.service
 
 # remove desktop file for avahi-discover
 rm -f $RPM_BUILD_ROOT%{_datadir}/applications/avahi-discover.desktop
 
 # create /var/run/avahi-daemon to ensure correct selinux policy for it:
-mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/avahi-daemon
+mkdir -p %{buildroot}%{_localstatedir}/run/avahi-daemon
+mkdir -p %{buildroot}%{_localstatedir}/lib/avahi-autoipd
 
-# remove the documentation directory - let \%doc handle it:
-rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}
+# remove the documentation directory - let % doc handle it:
+rm -rfv %{buildroot}%{_datadir}/%{name}-%{version}
 
 # remove avahi-bookmarks - unusable without python-twisted,
 # which has been judged dangerous and is removed from the 
 # Fedora Core distribution:
 rm -f $RPM_BUILD_ROOT/%{_bindir}/avahi-bookmarks $RPM_BUILD_ROOT/%{_mandir}/man1/avahi-bookmarks*
 #
+%if %{with systemd}
+rm -fv %{buildroot}%{_sysconfdir}/init.d/avahi-daemon
+rm -fv %{buildroot}%{_sysconfdir}/init.d/avahi-dnsconfd
+%else
 # move initscripts into /etc/rc.d/init.d :
 mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/rc.d/init.d
 mv $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/* $RPM_BUILD_ROOT/%{_sysconfdir}/rc.d/init.d
 rm -rf $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/*
-#
+%endif
+
 # Make /etc/avahi/etc/localtime owned by avahi:
-mkdir -p $RPM_BUILD_ROOT/etc/avahi/etc
-touch $RPM_BUILD_ROOT/etc/avahi/etc/localtime
-:;
+mkdir -p %{buildroot}/etc/avahi/etc
+touch %{buildroot}/etc/avahi/etc/localtime
+
+# fix bug 197414 - add missing symlinks for avahi-compat-howl and avahi-compat-dns-sd
+ln -s avahi-compat-howl.pc  %{buildroot}/%{_libdir}/pkgconfig/howl.pc
+ln -s avahi-compat-libdns_sd.pc %{buildroot}/%{_libdir}/pkgconfig/libdns_sd.pc
+ln -s avahi-compat-libdns_sd/dns_sd.h %{buildroot}/%{_includedir}/
+
+# unpackaged files
+rm -fv  %{buildroot}%{_datadir}/applications/{bssh,bvnc}.desktop
+rm -fv  %{buildroot}%{_datadir}/avahi/interfaces/avahi-discover.ui
+
+%find_lang %{name}
+
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %pre
 # Add the "avahi" group
-/usr/sbin/groupadd -f -r avahi
+getent group avahi >/dev/null || /usr/sbin/groupadd -f -r avahi
 # Add the "avahi" user
-/usr/sbin/useradd -g avahi -c 'Avahi daemon' -u %{avahi_user_uid} \
-	-s /sbin/nologin -r -d '/' avahi 2> /dev/null || :
+if ! getent passwd avahi > /dev/null ; then
+  if ! getent passwd %{avahi_user_uid} > /dev/null ; then
+    useradd -r -l -u %{avahi_user_uid} -g avahi -d %{_localstatedir}/run/avahi-daemon -s /sbin/nologin -c "Avahi mDNS/DNS-SD Stack" avahi
+  else
+    useradd -r -l -g avahi -d %{_localstatedir}/run/avahi-daemon -s /sbin/nologin -c "Avahi mDNS/DNS-SD Stack" avahi
+  fi
+fi
+getent group avahi-autoipd >/dev/null || groupadd -f -g 170 -r avahi-autoipd
+if ! getent passwd avahi-autoipd > /dev/null ; then
+  if ! getent passwd 170 > /dev/null; then
+    useradd -r -u 170 -l -g avahi-autoipd -d %{_localstatedir}/lib/avahi-autoipd -s /sbin/nologin -c "Avahi IPv4LL Stack" avahi-autoipd
+  else
+    useradd -r -l -g avahi-autoipd -d %{_localstatedir}/lib/avahi-autoipd -s /sbin/nologin -c "Avahi IPv4LL Stack" avahi-autoipd
+  fi
+fi
+exit 0
 
 %post
 /sbin/ldconfig
 dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig >/dev/null 2>&1 || :
-/sbin/chkconfig --add avahi-daemon >/dev/null 2>&1 ||:
-/sbin/chkconfig avahi-daemon resetpriorities >/dev/null 2>&1 ||:
-/sbin/chkconfig --add avahi-dnsconfd >/dev/null 2>&1 ||:
-/sbin/chkconfig avahi-dnsconfd resetpriorities >/dev/null 2>&1 ||:
 if [ "$1" -eq 1 ]; then
    if [ -s /etc/localtime ]; then
 	cp -fp /etc/localtime /etc/avahi/etc/localtime || :;
    fi
 fi
+%if %{with systemd}
+%systemd_post %{unitfiles}
+%else
+/sbin/chkconfig --add avahi-daemon >/dev/null 2>&1 ||:
+/sbin/chkconfig avahi-daemon resetpriorities >/dev/null 2>&1 ||:
+/sbin/chkconfig --add avahi-dnsconfd >/dev/null 2>&1 ||:
+/sbin/chkconfig avahi-dnsconfd resetpriorities >/dev/null 2>&1 ||:
+%endif
 
-%postun
-/sbin/ldconfig
-if [ "$1" -eq "0" ]; then
-   /sbin/service avahi-daemon condrestart >/dev/null 2>&1
-   /sbin/service avahi-dnsconfd condrestart >/dev/null 2>&1
-fi
-      
 %preun
+%if %{with systemd}
+%systemd_preun %{unitfiles}
+%else
 if [ "$1" -eq "0" ]; then
     /sbin/service avahi-daemon stop > /dev/null 2>&1
     /sbin/chkconfig --del avahi-daemon
     /sbin/service avahi-dnsconfd stop >/dev/null 2>&1
     /sbin/chkconfig --del avahi-dnsconfd
 fi
+%endif
+
+%postun
+/sbin/ldconfig
+%if %{with systemd}
+%systemd_postun_with_restart %{unitfiles}
+%else
+if [ "$1" -eq "0" ]; then
+   /sbin/service avahi-daemon condrestart >/dev/null 2>&1
+   /sbin/service avahi-dnsconfd condrestart >/dev/null 2>&1
+fi
+%endif
 
 %post ui-gtk3 -p /sbin/ldconfig
 
@@ -352,10 +434,15 @@ fi
 
 %postun -n compat32-%{name}-gobject -p /sbin/ldconfig
 
-%files
+%files -f %{name}.lang
 %defattr(-,root,root)
 %doc docs/* avahi-daemon/example.service avahi-daemon/ssh.service
+%if %{with systemd}
+%{_unitdir}/*
+%{_datadir}/dbus-1/system-services/org.freedesktop.Avahi.service
+%else
 %attr(755,root,root) %{_sysconfdir}/rc.d/init.d/*
+%endif
 %dir %{_sysconfdir}/avahi
 %dir %{_sysconfdir}/avahi/etc
 %ghost %{_sysconfdir}/avahi/etc/localtime
@@ -365,16 +452,15 @@ fi
 %config %{_sysconfdir}/avahi/avahi-autoipd.action
 %config %{_sysconfdir}/avahi/avahi-daemon.conf
 %config %{_sysconfdir}/avahi/avahi-dnsconfd.action
-%config %{_sysconfdir}/avahi/services/*
 %config %{_sysconfdir}/dbus-1/system.d/avahi-dbus.conf
 %attr(755,root,root) %{_sbindir}/*
 %{_libdir}/libavahi-common.so.*
 %{_libdir}/libavahi-core.so.*
 %{_libdir}/libavahi-client.so.*
+%{_libdir}/libavahi-libevent.so.*
 %{_libdir}/libhowl.so.*
 %{_libdir}/libdns_sd.so.*
 %attr(755,root,root) %{_datadir}/avahi
-%{_datadir}/locale/*
 %{_datadir}/dbus-1/interfaces/*.xml
 %{_libdir}/avahi
 %exclude %{_datadir}/avahi/interfaces
@@ -384,16 +470,17 @@ fi
 %files tools
 %defattr(-, root, root)
 %{_bindir}/*
-%{python_sitelib}/*
+#%{python_sitelib}/*
 %{_mandir}/man1/*
 %{_datadir}/avahi/interfaces/
-%{_datadir}/applications/*
+#%{_datadir}/applications/*
 
 %files devel
 %defattr(-, root, root)
 %{_libdir}/libavahi-common.so
 %{_libdir}/libavahi-core.so
 %{_libdir}/libavahi-client.so
+%{_libdir}/libavahi-libevent.so
 %{_libdir}/libhowl.so
 %{_libdir}/libdns_sd.so
 %{_includedir}/avahi-client
@@ -401,10 +488,15 @@ fi
 %{_includedir}/avahi-core
 %{_includedir}/avahi-compat-howl
 %{_includedir}/avahi-compat-libdns_sd
+%{_includedir}/avahi-libevent
+%{_includedir}/dns_sd.h
 %{_libdir}/pkgconfig/avahi-core.pc
 %{_libdir}/pkgconfig/avahi-client.pc
 %{_libdir}/pkgconfig/avahi-compat-howl.pc
 %{_libdir}/pkgconfig/avahi-compat-libdns_sd.pc
+%{_libdir}/pkgconfig/avahi-libevent.pc
+%{_libdir}/pkgconfig/howl.pc
+%{_libdir}/pkgconfig/libdns_sd.pc
 
 %files ui-gtk3
 %defattr(-, root, root)
@@ -454,10 +546,6 @@ fi
 %{_libdir}/libavahi-client.so
 %{_libdir}/libhowl.so
 %{_libdir}/libdns_sd.so
-%{_libdir}/pkgconfig/avahi-core.pc
-%{_libdir}/pkgconfig/avahi-client.pc
-%{_libdir}/pkgconfig/avahi-compat-howl.pc
-%{_libdir}/pkgconfig/avahi-compat-libdns_sd.pc
 
 %files -n compat32-%{name}-ui-gtk3
 %defattr(-, root, root)
@@ -466,7 +554,6 @@ fi
 %files -n compat32-%{name}-ui-gtk3-devel
 %defattr(-, root, root)
 %{_libdir}/libavahi-ui-gtk3.so
-%{_libdir}/pkgconfig/avahi-ui-gtk3.pc
 
 %files -n compat32-%{name}-glib
 %defattr(-, root, root)
@@ -475,7 +562,6 @@ fi
 %files -n compat32-%{name}-glib-devel
 %defattr(-, root, root)
 %{_libdir}/libavahi-glib.so
-%{_libdir}/pkgconfig/avahi-glib.pc
 
 %files -n compat32-%{name}-gobject
 %defattr(-, root, root)
@@ -484,10 +570,13 @@ fi
 %files -n compat32-%{name}-gobject-devel
 %defattr(-, root, root)
 %{_libdir}/libavahi-gobject.so
-%{_libdir}/pkgconfig/avahi-gobject.pc
 %endif
 
 %changelog
+* Sat Apr 25 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.8-1
+- new upstream release.
+- added systemd support (disabled as default).
+
 * Mon May 13 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.7-2
 - rebuilt with gdbm-1.18.1.
 - dropped GTK+2, Qt3 and Qt4 support.

+ 33 - 21
f/farstream/farstream-vl.spec

@@ -1,29 +1,27 @@
 Summary:        A collection of GStreamer modules and libraries for videoconferencing
 Name:           farstream
-Version:        0.2.4
+Version:        0.2.9
 Release:        1%{?_dist_release}
-
 Group:          System Environment/Libraries
-License:        LGPLv2+
-URL:            http://www.freedesktop.org/wiki/Software/Farstream
-Source0:        http://freedesktop.org/software/farstream/releases/farstream/%{name}/%{name}-%{version}.tar.gz
+Vendor:         Project Vine
+Distribution:   Vine Linux
 
-Patch0:		farstream-prefer-vp8.patch
+License:        LGPLv2+
+URL:            https://www.freedesktop.org/wiki/Software/Farstream/
+Source0:        https://freedesktop.org/software/farstream/releases/farstream/%{name}/%{name}-%{version}.tar.gz
+Patch0:         farstream-0.2.8-configure-add-check-for-glib-mkenums.patch
+Patch1:         farstream-0.2.9-build-Adapt-to-backwards-incompatible-change-in-GNU-.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-root
-
 BuildRequires:	libnice-devel
-BuildRequires:	gstreamer1-devel >= 0.10.33
-BuildRequires:	gstreamer1-plugins-base-devel >= 0.10.33
-BuildRequires:	python-devel
-BuildRequires:	gobject-introspection-devel
+BuildRequires:  glib2-devel
+BuildRequires:  gstreamer1-devel
+BuildRequires:  gstreamer1-plugins-base-devel
+BuildRequires:  gupnp-igd-devel
+BuildRequires:  gobject-introspection-devel
 
 Obsoletes:      farsight2 < 0.0.32
 
-Vendor:		Project Vine
-Distribution:	Vine Linux
-Packager:	Takemikaduchi
-
 %description
 Farstream is a collection of GStreamer modules and libraries for
 videoconferencing. The API is described in the documentation in the
@@ -50,7 +48,6 @@ Requires:       %{name} = %{version}-%{release}
 BuildArch:		noarch
 Provides:       %{name}-doc = %{version}-%{release}
 
-
 %description    docs
 This package contains documentation for farstream.
 
@@ -58,11 +55,19 @@ This package contains documentation for farstream.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
+
+autoreconf -fiv
 
 
 %build
-%configure --disable-static
-make %{?_smp_mflags}
+%configure \
+  --with-package-name='Vine Linux Farstream-0.2 package' \
+  --with-package-origin='http://updates.vinelinux.org/' \
+  --disable-silent-rules \
+  --disable-static
+
+make
 
 
 %install
@@ -78,12 +83,16 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc README NEWS COPYING ChangeLog AUTHORS
+%license COPYING
+%doc NEWS AUTHORS
+%{_libdir}/*.so.*
+%dir %{_libdir}/farstream-0.2
 %{_libdir}/farstream-0.2/*.so
+%dir %{_libdir}/gstreamer-1.0
 %{_libdir}/gstreamer-1.0/*.so
-%{_libdir}/libfarstream-0.2.so.*
 %{_libdir}/girepository-1.0/Farstream-0.2.typelib
-%{_datadir}/%{name}
+%dir %{_datadir}/%{name}
+%{_datadir}/%{name}/0.2
 
 %files devel
 %defattr(-,root,root,-)
@@ -99,6 +108,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sat Apr 25 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.2.6-1
+- new upstream release.
+
 * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.4-1
 - new upstream release
 

+ 49 - 32
g/gssdp/gssdp-vl.spec

@@ -1,25 +1,25 @@
 Summary:        Resource discovery and announcement over SSDP
 Name:           gssdp
-Version:        0.7.0
-Release:        2%{?_dist_release}
-
+Version:        1.2.2
+Release:        1%{?_dist_release}
 Group:          System Environment/Libraries
+Vendor:         Project Vine
+Distribution:   Vine Linux
+
 License:        LGPLv2+
-URL:            http://www.gupnp.org/
-Source0:        http://www.gupnp.org/sources/gssdp/%{name}-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+URL:            https://gitlab.gnome.org/GNOME/gssdp
+%global			shortver %(echo %{version} | sed -e 's/\.[0-9]*$//')
+Source0:        https://download.gnome.org/sources/gupnp/%{shortver}/%{name}-%{version}.tar.xz
 
-BuildRequires: pkgconfig
-BuildRequires: libsoup-devel >= 2.4
-BuildRequires: dbus-glib-devel
-BuildRequires: glib2-devel >= 2.18
-BuildRequires: libxml2-devel
-BuildRequires: GConf2-devel
-BuildRequires: gtk2-devel
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+BuildRequires: glib2-devel
+BuildRequires: gobject-introspection-devel >= 1.36
+BuildRequires: gtk3-devel
 BuildRequires: gtk-doc
-BuildRequires: NetworkManager-devel
-
-Requires: dbus
+BuildRequires: libsoup-devel
+BuildRequires: meson
+BuildRequires: pkgconfig
+BuildRequires: vala >= 0.20
 
 %description
 GSSDP implements resource discovery and announcement over SSDP and is part 
@@ -27,66 +27,83 @@ of gUPnP.  GUPnP is an object-oriented open source framework for creating
 UPnP devices and control points, written in C using GObject and libsoup. The 
 GUPnP API is intended to be easy to use, efficient and flexible.
 
+
 %package devel
 Summary: Development package for gssdp
 Group: Development/Libraries
 Requires: %{name} = %{version}-%{release}
-Requires: libsoup-devel
-Requires: glib2-devel
-Requires: pkgconfig
 
 %description devel
 Files for development with gssdp.
 
+
 %package docs
 Summary: Documentation files for %{name}
 Group: Development/Libraries
 Requires: %{name} = %{version}-%{release}
-Requires: gtk-doc
+BuildArch: noarch
 
 %description docs
 This package contains developer documentation for %{name}.
 
+
 %prep
 %setup -q
 
+
 %build
-%configure --disable-static
-make %{?_smp_mflags} V=1
+%meson -Dgtk_doc=true
+%meson_build
+
 
 %install
 rm -rf %{buildroot}
-make install DESTDIR=%{buildroot}
+%meson_install
+
+
+%check
+%meson_test
 
-#Remove libtool archives.
-find %{buildroot} -name '*.la' -exec rm -f {} ';'
 
 %clean
 rm -rf %{buildroot}
 
+
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
 
+
 %files
 %defattr(-,root,root,-)
-%doc AUTHORS COPYING README NEWS
-%dir %{_datadir}/gssdp
+%license COPYING
+%doc AUTHORS README NEWS
 %{_bindir}/gssdp-device-sniffer
-%{_libdir}/libgssdp-1.0.so.*
-%{_datadir}/gssdp/gssdp-device-sniffer.ui
+%{_libdir}/libgssdp-%{shortver}.so.*
+%{_libdir}/girepository-1.0/GSSDP-%{shortver}.typelib
 
 %files devel
 %defattr(-,root,root,-)
-%{_libdir}/libgssdp-1.0.so
-%{_libdir}/pkgconfig/gssdp-1.0.pc
-%{_includedir}/gssdp-1.0
+%{_includedir}/gssdp-%{shortver}/
+%{_libdir}/libgssdp-%{shortver}.so
+%{_libdir}/pkgconfig/gssdp-%{shortver}.pc
+%dir %{_datadir}/gir-1.0
+%{_datadir}/gir-1.0/GSSDP-%{shortver}.gir
+%dir %{_datadir}/vala
+%dir %{_datadir}/vala/vapi
+%{_datadir}/vala/vapi/gssdp*
 
 %files docs
 %defattr(-,root,root,-)
+%dir %{_datadir}/gtk-doc
+%dir %{_datadir}/gtk-doc/html
 %{_datadir}/gtk-doc/html/%{name}
 
+
 %changelog
+* Sat Apr 25 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.2-1
+- new upstream release.
+
 * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.7.0-2
 - rebuilt with rpm-4.8.1 for pkg-config
 

+ 37 - 18
g/gupnp-igd/gupnp-igd-vl.spec

@@ -1,28 +1,34 @@
-%define gupnp_ver 0.12.3
-%define glib2_ver 2.16
-
 Name:           gupnp-igd
-Version:        0.1.3
-Release:        5%{?_dist_release}
-Summary:	Library to handle UPnP IGD port mapping        
-
+Version:        0.2.5
+Release:        1%{?_dist_release}
+Summary:        Library to handle UPnP IGD port mapping        
 Group:          System Environment/Libraries
-License:	LGPLv2+
-URL:            http://www.gupnp.org/
-Source0:        http://www.gupnp.org/sources/%{name}/%{name}-%{version}.tar.gz
+Vendor:         Project Vine
+Distribution:   Vine Linux
+
+License:        LGPLv2+
+URL:            https://wiki.gnome.org/Projects/GUPnP
+%global         shortver %(echo %{version} | sed -e 's/\.[0-9]*$//')
+Source0:        https://download.gnome.org/sources/gupnp/%{shortver}/%{name}-%{version}.tar.xz
+# https://gitlab.gnome.org/GNOME/gupnp-igd/-/merge_requests/1
+Patch0:         switch-to-gupnp-1-2-api.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-root
-BuildRequires:  glib2-devel >= %{glib2_ver}
-BuildRequires:	gupnp-devel >= %{gupnp_ver}
+BuildRequires:  glib2-devel
+BuildRequires:  gobject-introspection-devel
+BuildRequires:  gupnp-devel
+# for patch0
+BuildRequires:  autoconf automake libtool
 
 %description
 %{name} is a library to handle UPnP IGD port mapping.
 
+
 %package        devel
 Summary:        Development files for %{name}
 Group:          Development/Libraries
 Requires:       %{name} = %{version}-%{release}
-Requires:	pkgconfig
+Requires:       pkgconfig
 
 %description    devel
 The %{name}-devel package contains libraries and header files for
@@ -30,19 +36,25 @@ developing applications that use %{name}.
 
 
 %prep
-%setup -q
+%autosetup -p1
+
+# for patch0
+autoreconf -fiv
+
 
 %build
-%configure --disable-static
+%configure --disable-static --disable-python --enable-introspection=yes
 # quite rpmlint error about unused-direct-shlib-dependency
 sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
-make %{?_smp_mflags}
+LDFLAGS="$RPM_LD_FLAGS -lgobject-2.0" make %{?_smp_mflags}
+
 
 %install
 rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -54,17 +66,24 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc README COPYING
+%license COPYING
+%doc README
 %{_libdir}/*.so.*
+%{_libdir}/girepository-1.0/GUPnPIgd-1.0.typelib
 
 %files devel
 %defattr(-,root,root,-)
 %{_includedir}/*
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/%{name}-1.0*.pc
-%{_datadir}/gtk-doc/html/%{name}
+%{_datadir}/gtk-doc/html/%{name}/
+%{_datadir}/gir-1.0/GUPnPIgd-1.0.gir
+
 
 %changelog
+* Sat Apr 25 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.2.5-1
+- new upstream release.
+
 * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.1.3-5
 - rebuilt with rpm-4.8.1 for pkg-config
 

+ 49 - 25
g/gupnp/gupnp-vl.spec

@@ -1,21 +1,27 @@
 Name:           gupnp
-Version:        0.13.1
-Release:        2%{?_dist_release}
+Version:        1.2.2
+Release:        1%{?_dist_release}
 Summary:        A framework for creating UPnP devices & control points
 Summary(ja):    UPnP デバイス及びコントロールポイントを作成するためのフレームワーク
-
 Group:          System Environment/Libraries
+Vendor:         Project Vine
+Distribution:   Vine Linux
+
 License:        LGPLv2+
-URL:            http://www.gupnp.org/
-Source0:        http://www.gupnp.org/sources/%{name}/%{name}-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+URL:            https://wiki.gnome.org/Projects/GUPnP
+%global			shortver %(echo %{version} | sed -e 's/\.[0-9]*$//')
+Source0:        https://download.gnome.org/sources/gupnp/%{shortver}/%{name}-%{version}.tar.xz
 
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires: gssdp-devel
-BuildRequires: glib2-devel
 BuildRequires: gtk-doc
+BuildRequires: gobject-introspection-devel
+BuildRequires: gsettings-desktop-schemas
 BuildRequires: libsoup-devel
 BuildRequires: libxml2-devel
 BuildRequires: libuuid-devel
+BuildRequires: meson
+BuildRequires: vala
 
 Requires: dbus
 
@@ -24,21 +30,17 @@ GUPnP is an object-oriented open source framework for creating UPnP
 devices and control points, written in C using GObject and libsoup. 
 The GUPnP API is intended to be easy to use, efficient and flexible. 
 
+
 %package devel
 Summary: Development package for gupnp
 Summary(ja): gupnp の開発パッケージ
 Group: Development/Libraries
 Requires: %{name} = %{version}-%{release}
-Requires: gssdp-devel
-Requires: pkgconfig
-Requires: libsoup-devel
-Requires: libxml2-devel
-Requires: libuuid-devel
-Requires: glib2-devel
 
 %description devel
 Files for development with %{name}.
 
+
 %package docs
 Summary: Documentation files for %{name}
 Summary(ja): Documentation files for %{name}
@@ -49,44 +51,66 @@ Requires: gtk-doc
 %description docs
 This package contains developer documentation for %{name}.
 
+
 %prep
 %setup -q
 
-%build
-%configure --disable-static
-make %{?_smp_mflags} V=1
+
+%meson \
+  -Dcontext_manager=network-manager \
+  -Dgtk_doc=true
+%meson_build
+
 
 %install
 rm -rf %{buildroot}
-make install DESTDIR=%{buildroot}
+%meson_install
+
+
+%check
+%meson_test
 
-#Remove libtool archives.
-find %{buildroot} -name '*.la' -exec rm -f {} ';'
 
 %clean
 rm -rf %{buildroot}
 
+
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
 
+
 %files
 %defattr(-,root,root,-)
-%doc AUTHORS COPYING README
-%{_libdir}/libgupnp-1.0.so.*
-%{_bindir}/gupnp-binding-tool
+%license COPYING
+%doc AUTHORS README
+%{_libdir}/libgupnp-%{shortver}.so.*
+%{_libdir}/girepository-1.0/GUPnP-%{shortver}.typelib
 
 %files devel
 %defattr(-,root,root,-)
-%{_libdir}/pkgconfig/gupnp-1.0.pc
-%{_libdir}/libgupnp-1.0.so
-%{_includedir}/gupnp-1.0
+%{_bindir}/gupnp-binding-tool-%{shortver}
+%{_includedir}/gupnp-%{shortver}/
+%{_libdir}/libgupnp-%{shortver}.so
+%{_libdir}/pkgconfig/gupnp-%{shortver}.pc
+%dir %{_datadir}/gir-1.0
+%{_datadir}/gir-1.0/GUPnP-%{shortver}.gir
+%dir %{_datadir}/vala
+%dir %{_datadir}/vala/vapi
+%{_datadir}/vala/vapi/%{name}*
+%{_mandir}/man1/gupnp-binding-tool-%{shortver}.1*
 
 %files docs
 %defattr(-,root,root,-)
+%dir %{_datadir}/gtk-doc
+%dir %{_datadir}/gtk-doc/html
 %doc %{_datadir}/gtk-doc/html/%{name}
 
+
 %changelog
+* Sat Apr 25 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.2-1
+- new upstream release.
+
 * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.13.1-2
 - rebuilt with rpm-4.8.1 for pkg-config
 

+ 75 - 25
lib/libn/libnice/libnice-vl.spec

@@ -1,23 +1,37 @@
 Name:           libnice
-Version:        0.1.13
+Version:        0.1.16
 Release:        1%{?_dist_release}
 Summary:        GLib ICE implementation
-
 Group:          System Environment/Libraries
+Vendor:         Project Vine
+Distribution:   Vine Linux
+
 License:        LGPLv2 and MPLv1.1
-URL:            http://nice.freedesktop.org/wiki/
-Source0:        http://nice.freedesktop.org/releases/%{name}-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-root
+URL:            https://libnice.freedesktop.org/
+Source0:        https://libnice.freedesktop.org/releases/%{name}-%{version}.tar.gz
+# make tests pass in Koji
+Patch1:         libnice-0.1.14-tests-koji.patch
+# Selected cherry-picks from upstream
+# - make audio connection more reliable
+# - issues #64 & #87
+Patch2:         libnice-0.1.16-16-gb998547.patch
+# upstream https://gitlab.freedesktop.org/libnice/libnice/-/merge_requests/66
+# upstream https://gitlab.freedesktop.org/libnice/libnice/-/merge_requests/107
+Patch3:         0001-interfaces-ignore-only-interfaces-we-really-want-to.patch
+Patch4:         0002-interfaces-ignore-only-interfaces-we-really-want-to.patch
 
+BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 BuildRequires:	glib2-devel >= 2.10
-BuildRequires:  gstreamer-devel >= 0.10.0
-BuildRequires:	gstreamer-plugins-base-devel >= 0.10.0
-BuildRequires:  gstreamer1-devel >= 0.11.0
-BuildRequires:	gstreamer1-plugins-base-devel >= 0.11.0
-BuildRequires:	gupnp-igd-devel >= 0.1.2
-
-Vendor: Project Vine
-Distribution: Vine Linux
+BuildRequires:  glib2-devel
+BuildRequires:  gnutls-devel >= 2.12.0
+BuildRequires:  gobject-introspection-devel
+%if 0
+BuildRequires:  gstreamer-devel
+BuildRequires:  gstreamer-plugins-base-devel
+%endif
+BuildRequires:  gstreamer1-devel >= 0.11.91
+BuildRequires:  gstreamer1-plugins-base-devel >= 0.11.91
+BuildRequires:  gupnp-igd-devel >= 0.1.2
 
 %description
 %{name} is an implementation of the IETF's draft Interactive Connectivity
@@ -32,8 +46,8 @@ for audio/video calls.
 Summary:        Development files for %{name}
 Group:          Development/Libraries
 Requires:       %{name} = %{version}-%{release}
-Requires:	glib2-devel
-Requires:	pkgconfig
+Requires:       glib2-devel
+Requires:       pkgconfig
 
 %description    devel
 The %{name}-devel package contains libraries and header files for
@@ -42,19 +56,53 @@ developing applications that use %{name}.
 
 %prep
 %setup -q
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+chmod 0755 scripts/valgrind-test-driver
+
+# disable test-new-trickle, which sometimes hangs indefinitely, and
+# test-send-recv, which fails in Koji due to insufficiently configured network
+sed -e 's/test-new-trickle/#&/' \
+    -e 's/test-send-recv/#&/' \
+    -i tests/Makefile.am
+
+# needed for libnice-0.1.14-tests-koji.patch
+autoreconf -fiv
+
 
 %build
-CFLAGS="$CFLAGS -Wno-error=sign-compare"
-%configure --disable-static
+%configure \
+ --enable-compile-warnings=yes \
+ --disable-static \
+ --with-ignored-network-interface-prefix=br-,docker,veth,virbr,vnet \
+%if 0
+ --with-gstreamer-0.10
+%else
+ --without-gstreamer-0.10
+%endif
 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
-make %{?_smp_mflags}
+make %{?_smp_mflags} V=1
+
 
 %install
 rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 
+
+%check
+# Temporarily make the upstream test-suite run on Intel arches only because we
+# are getting random crashes in Koji on secondary arches but I have not been
+# able to reproduce them locally so far.
+%ifarch x86_64 %{ix86}
+export LD_LIBRARY_PATH="$PWD/nice/.libs"
+make check
+%endif
+
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -66,25 +114,27 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc NEWS README COPYING COPYING.LGPL COPYING.MPL
+%license COPYING COPYING.LGPL COPYING.MPL
+%doc NEWS README
 %{_bindir}/stunbdc
 %{_bindir}/stund
-%{_bindir}/sdp-example
-%{_bindir}/simple-example
-%{_bindir}/threaded-example
-%{_libdir}/gstreamer-0.10/libgstnice010.so
-%{_libdir}/gstreamer-1.0/libgstnice.so
 %{_libdir}/*.so.*
+%{_libdir}/girepository-1.0/Nice-0.1.typelib
+%{_libdir}/gstreamer-1.0/libgstnice.so
 
 %files devel
 %defattr(-,root,root,-)
 %{_includedir}/*
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/nice.pc
-%{_datadir}/gtk-doc/html/%{name}
+%{_datadir}/gtk-doc/html/%{name}/
+%{_datadir}/gir-1.0/Nice-0.1.gir
 
 
 %changelog
+* Sat Apr 25 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.1.16-1
+- new upstream release.
+
 * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.13-1
 - new upstream release
 

+ 11 - 9
o/openssl/openssl-vl.spec

@@ -9,8 +9,15 @@
 
 Summary: Secure Sockets Layer Toolkit
 Name: openssl
-Version: 1.1.1f
+Version: 1.1.1g
 Release: 1%{_dist_release}
+Group: System Environment/Libraries
+Vendor: Project Vine
+Distribution: Vine Linux
+Packager: daisuke, iwamoto
+
+License: BSDish
+URL: http://www.openssl.org/
 # We have to remove certain patented algorithms from the openssl source
 # tarball with the hobble-openssl script which is included below.
 # The original openssl upstream tarball cannot be shipped in the .src.rpm.
@@ -57,10 +64,6 @@ Patch53: openssl-1.1.1-fips-crng-test.patch
 # security fix
 # none
 
-License: BSDish
-Group: System Environment/Libraries
-URL: http://www.openssl.org/
-
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: perl, sed
 BuildRequires: zlib-devel, krb5-devel
@@ -69,10 +72,6 @@ BuildRequires: lksctp-tools-devel
 Requires: mktemp
 Requires: ca-certificates
 
-Vendor: Project Vine
-Distribution: Vine Linux
-Packager: daisuke, iwamoto
-
 %define solibbase %(echo %version | sed 's/[[:alpha:]]//g')
 
 %description
@@ -437,6 +436,9 @@ export LD_LIBRARY_PATH
 %postun -n compat32-%{name} -p /sbin/ldconfig
 
 %changelog
+* Sat Apr 25 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.1g-1
+- new upstream release.
+
 * Wed Apr 08 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.1f-1
 - new upstream release.
 - updated Patch1.

+ 73 - 16
x/xmltoman/xmltoman-vl.spec

@@ -1,16 +1,16 @@
-Summary:        Scripts for converting XML to roff or HTML
-Summary(ja):    XML から roff または HTML に変換するためのスクリプト
 Name:           xmltoman
 Version:        0.4
-Release:        1%{?_dist_release}
+Release:        22%{?_dist_release}
+Summary:        Scripts for converting XML to roff or HTML
+Vendor:         Project Vine
+Distribution:   Vine Linux
 
-Group:          Applications/Publishing
 License:        GPLv2+
 URL:            http://sourceforge.net/projects/xmltoman/
 Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
 Patch0:         xmltoman-0.3-timestamps.patch
 
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+BuildRequires:  perl
 BuildRequires:  perl(XML::Parser)
 BuildArch:      noarch
 
@@ -31,25 +31,82 @@ make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
-make install PREFIX=%{_prefix} DESTDIR=$RPM_BUILD_ROOT
-
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+make install PREFIX=%{_prefix} DESTDIR=%{buildroot}
+mkdir -p %{buildroot}%{_mandir}/man1
+cp -p *.1 %{buildroot}%{_mandir}/man1
 
 
 %files
-%defattr(-,root,root,-)
+%license COPYING
+%doc README
 %{_bindir}/xmltoman
 %{_bindir}/xmlmantohtml
 %{_datadir}/xmltoman
-%doc COPYING README
-
+%{_mandir}/*/*
 
 %changelog
-* Thu Jul 10 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4-1
-- initial build for Vine Linux
+* Sun Apr 26 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.4-22
+- initial build for Vine Linux.
+
+* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-21
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
+
+* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-20
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
+* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-19
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
+* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-18
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-17
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-16
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-15
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-14
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-13
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-12
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Thu Oct 24 2013 Lubomir Rintel <lkundrak@v3.sk> - 0.4-11
+- Bulk sad and useless attempt at consistent SPEC file formatting
+
+* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-10
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Wed Jul 24 2013 Petr Pisar <ppisar@redhat.com> - 0.4-9
+- Perl 5.18 rebuild
+
+* Thu Mar 21 2013 Ondrej Vasik <ovasik@redhat.com>
+- Ship manpages
+
+* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 
 * Thu May 29 2008 Lubomir Rintel <lkundrak@v3.sk> - 0.4-1
 - New upstream release