[packages/gtranslator] - updated to 47.0; -devel and -apidocs removed

qboosh qboosh at pld-linux.org
Sat Oct 5 16:52:22 CEST 2024


commit b47c7a5324352fbaec75cfdd4f90e8fee8adbb2d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Oct 5 16:21:03 2024 +0200

    - updated to 47.0; -devel and -apidocs removed

 gtranslator.spec | 61 +++++++++-----------------------------------------------
 1 file changed, 9 insertions(+), 52 deletions(-)
---
diff --git a/gtranslator.spec b/gtranslator.spec
index 875a19f..5720c36 100644
--- a/gtranslator.spec
+++ b/gtranslator.spec
@@ -1,31 +1,24 @@
-#
-# Conditional build:
-%bcond_without	apidocs	# API documentation
-
 Summary:	gtranslator - a comfortable po file editor with many bells and whistles
 Summary(pl.UTF-8):	gtranslator - wygodny edytor plików po z różnymi wodotryskami
 Name:		gtranslator
-Version:	46.1
-Release:	2
+Version:	47.0
+Release:	1
 Epoch:		1
 License:	GPL v3+
 Group:		Development/Tools
-Source0:	https://download.gnome.org/sources/gtranslator/46/%{name}-%{version}.tar.xz
-# Source0-md5:	87a2f179182e9ae95f43c10863876935
-Patch0:		%{name}-gtk-doc.patch
+Source0:	https://download.gnome.org/sources/gtranslator/47/%{name}-%{version}.tar.xz
+# Source0-md5:	731a827ef294f093532b31b993345b32
 URL:		https://wiki.gnome.org/Apps/Gtranslator
-BuildRequires:	docbook-dtd412-xml
 # libgettextpo
 BuildRequires:	gettext-devel
 BuildRequires:	gettext-tools
 BuildRequires:	glib2-devel >= 1:2.71.3
 BuildRequires:	gsettings-desktop-schemas-devel
 BuildRequires:	gtk4-devel >= 4.12.0
-%{?with_apidocs:BuildRequires:	gtk-doc >= 1.28}
 BuildRequires:	gtksourceview5-devel >= 5.4.0
 BuildRequires:	itstool
 BuildRequires:	json-glib-devel >= 1.2.0
-BuildRequires:	libadwaita-devel >= 1.5
+BuildRequires:	libadwaita-devel >= 1.6
 BuildRequires:	libgda6-devel >= 6.0
 BuildRequires:	libsoup3-devel >= 3.0
 BuildRequires:	libspelling-devel
@@ -33,7 +26,6 @@ BuildRequires:	libxml2-devel >= 2.4.12
 BuildRequires:	meson >= 0.59.0
 BuildRequires:	ninja >= 1.5
 BuildRequires:	pkgconfig
-BuildRequires:	rpm-build >= 4.6
 BuildRequires:	rpmbuild(macros) >= 1.736
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
@@ -44,8 +36,10 @@ Requires:	gtk4 >= 4.12.0
 Requires:	gtksourceview5 >= 5.4.0
 Requires:	hicolor-icon-theme
 Requires:	json-glib >= 1.2.0
-Requires:	libadwaita >= 1.5
+Requires:	libadwaita >= 1.6
 Requires:	libxml2 >= 2.4.12
+Obsoletes:	gtranslator-devel < 47
+Obsoletes:	gtranslator-apidocs < 47
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -58,38 +52,11 @@ gtranslator jest wygodnym edytorem plików po z wieloma wodotryskami.
 Dostarcza dużo użytecznych funkcji ułatwiających pracę przy
 tłumaczeniach plików po.
 
-%package devel
-Summary:	Header file for gtranslator plugins development
-Summary(pl.UTF-8):	Plik nagłówkowy do tworzenia wtyczek edytora gtranslator
-Group:		Development/Tools
-Requires:	glib2-devel >= 1:2.71.3
-BuildArch:	noarch
-
-%description devel
-Header file for gtranslator plugins development.
-
-%description devel -l pl.UTF-8
-Plik nagłówkowy do tworzenia wtyczek edytora gtranslator.
-
-%package apidocs
-Summary:	API documentation for gtranslator
-Summary(pl.UTF-8):	Dokumentacja API gtranslatora
-Group:		Documentation
-BuildArch:	noarch
-
-%description apidocs
-API documentation for gtranslator.
-
-%description apidocs -l pl.UTF-8
-Dokumentacja API gtranslatora.
-
 %prep
 %setup -q
-%patch0 -p1
 
 %build
-%meson build \
-	%{?with_apidocs:-Dgtk_doc=true}
+%meson build
 
 %ninja_build -C build
 
@@ -125,13 +92,3 @@ rm -rf $RPM_BUILD_ROOT
 %{_iconsdir}/hicolor/scalable/apps/org.gnome.Gtranslator.svg
 %{_iconsdir}/hicolor/symbolic/apps/org.gnome.Gtranslator-symbolic.svg
 %{_mandir}/man1/gtranslator.1*
-
-%files devel
-%defattr(644,root,root,755)
-%{_includedir}/gtr-marshal.h
-
-%if %{with apidocs}
-%files apidocs
-%defattr(644,root,root,755)
-%{_gtkdocdir}/gtranslator
-%endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gtranslator.git/commitdiff/b47c7a5324352fbaec75cfdd4f90e8fee8adbb2d



More information about the pld-cvs-commit mailing list