From f3da12d87e56856677b21df31ac26c9ff162aa02 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 20:00:29 +0100 Subject: [PATCH] update to 40.0 [release 40.0-1mamba;Sat Mar 27 2021] --- yelp.spec | 46 ++++++++++++++++++++++++---------------------- 1 file changed, 24 insertions(+), 22 deletions(-) diff --git a/yelp.spec b/yelp.spec index e2603cb..fe4ad2f 100644 --- a/yelp.spec +++ b/yelp.spec @@ -1,7 +1,6 @@ -%define libname lib%{name} - +%define MAJver %(echo %version | cut -d. -f1) Name: yelp -Version: 3.38.3 +Version: 40.0 Release: 1mamba Summary: Gnome help viewer Group: Graphical Desktop/Applications/Utilities @@ -9,7 +8,7 @@ Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://live.gnome.org/Yelp -Source0: http://ftp.gnome.org/pub/GNOME/sources/yelp/%{majorminor}/yelp-%{version}.tar.xz +Source0: http://ftp.gnome.org/pub/GNOME/sources/yelp/%{MAJver}/yelp-%{version}.tar.xz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -39,7 +38,7 @@ BuildRequires: libz-devel BuildRequires: intltool BuildRequires: perl-XML-Parser BuildRequires: yelp-xsl-devel -Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: gnome-doc-utils Requires: yelp-xsl Requires: man @@ -50,29 +49,29 @@ Together with gnome-doc-utils, Yelp serves as a DocBook viewer, a man page viewe This page serves as a development workspace for Yelp and gnome-doc-utils. For the content that goes into Yelp, see the GNOME DocumentationProject. -%package -n %{libname} +%package -n lib%{name} Summary: Shared libraries for %{name} Group: System/Libraries -%description -n %{libname} +%description -n lib%{name} This package contains shared libraries for %{name}. -%package -n %{libname}-devel -Summary: Development files for %{libname} +%package -n lib%{name}-devel +Summary: Development files for lib%{name} Group: Development/Libraries -Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} -%description -n %{libname}-devel -This package contains libraries and header files for developing applications that use %{libname}. +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use lib%{name}. -%package -n %{libname}-apidocs -Summary: %{libname} API documentation +%package -n lib%{name}-apidocs +Summary: lib%{name} API documentation Group: Documentation -Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: gtk-doc -%description -n %{libname}-apidocs -This package includes the %{libname} API documentation. +%description -n lib%{name}-apidocs +This package includes the lib%{name} API documentation. %debug_package @@ -106,8 +105,8 @@ fi %posttrans glib-compile-schemas %{_datadir}/glib-2.0/schemas >/dev/null 2>&1 ||: -%post -n %{libname} -p /sbin/ldconfig -%postun -n %{libname} -p /sbin/ldconfig +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig %files -f %{name}.lang %defattr(-,root,root) @@ -122,7 +121,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >/dev/null 2>&1 ||: %{_datadir}/metainfo/yelp.appdata.xml %{_datadir}/yelp-xsl/xslt/common/domains/yelp.xml -%files -n %{libname} +%files -n lib%{name} %defattr(-,root,root) %{_libdir}/libyelp.so.* %dir %{_libdir}/yelp @@ -131,17 +130,20 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >/dev/null 2>&1 ||: %{_libdir}/yelp/web-extensions/libyelpwebextension.so %doc AUTHORS COPYING -%files -n %{libname}-devel +%files -n lib%{name}-devel %defattr(-,root,root) %{_libdir}/libyelp.so %{_includedir}/libyelp %doc NEWS README ChangeLog -%files -n %{libname}-apidocs +%files -n lib%{name}-apidocs %defattr(-,root,root) %{_datadir}/gtk-doc/html/libyelp %changelog +* Sat Mar 27 2021 Silvan Calarco 40.0-1mamba +- update to 40.0 + * Thu Feb 25 2021 Automatic Build System 3.38.3-1mamba - automatic version update by autodist