From bb75125a603383719694edea7e3c0c4549822b1f Mon Sep 17 00:00:00 2001 From: Bernhard M. Wiedemann Date: Sep 13 2019 14:29:36 +0000 Subject: restructure files to remain below github limit of 1000 entries --- diff --git a/amtk.changes b/amtk.changes new file mode 100644 index 0000000..d895534 --- /dev/null +++ b/amtk.changes @@ -0,0 +1,27 @@ +------------------------------------------------------------------- +Fri Sep 6 20:56:42 UTC 2019 - Bjørn Lie + +- Update to version 5.0.1: + + Fix a small, new compilation warning. + + Build from Git: allow building with gettext ≥ 0.20. + + Write more development notes. + + Updated translations. + +------------------------------------------------------------------- +Mon Jul 23 20:32:19 UTC 2018 - bjorn.lie@gmail.com + +- Update to version 5.0.0: + + Moved to GNOME GitLab instance. + + Some minor improvements. + + Updated translations. + +------------------------------------------------------------------- +Thu Apr 26 13:06:03 UTC 2018 - luc14n0@linuxmail.org + +- Add a amtk-5 Provides tag under the lib package to make the lang + package instalable. And recommends amtk-5-lang package. + +------------------------------------------------------------------- +Wed Apr 18 00:37:50 UTC 2018 - luc14n0@linuxmail.org + +- Initial package, version 4.99.1. diff --git a/amtk.spec b/amtk.spec new file mode 100644 index 0000000..344bdf6 --- /dev/null +++ b/amtk.spec @@ -0,0 +1,118 @@ +# +# spec file for package amtk +# +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 Luciano Santos, luc14n0@linuxmail.org. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define api_ver 5 +%define libamtk libamtk-%{api_ver}-0 +Name: amtk +Version: 5.0.1 +Release: 0 +Summary: An Actions, Menus and Toolbars Kit +License: LGPL-2.1-or-later +Group: Development/Libraries/GNOME +URL: https://wiki.gnome.org/Projects/Amtk +Source0: https://download.gnome.org/sources/amtk/5.0/%{name}-%{version}.tar.xz + +BuildRequires: gobject-introspection-devel >= 1.42.0 +BuildRequires: gtk-doc >= 1.25 +BuildRequires: pkgconfig +BuildRequires: pkgconfig(glib-2.0) >= 2.52 +BuildRequires: pkgconfig(gtk+-3.0) >= 3.22 +Requires: %{libamtk} = %{version} +Recommends: %{name}-%{api_ver}-lang = %{version} + +%description +“Actions, Menus and Toolbars Kit” or just AMTK is a basic +GtkUIManager replacement based on GAction, suitable for +both a traditional UI or a modern UI with a GtkHeaderBar. + +%package -n %{libamtk} +Summary: Shared Library for AMTK +# Make the lang package installable +Group: System/Libraries +Provides: %{name}-%{api_ver} = %{version} + +%description -n %{libamtk} +“Actions, Menus and Toolbars Kit” or just AMTK is a basic +GtkUIManager replacement based on GAction, suitable for +both a traditional UI or a modern UI with a GtkHeaderBar. + +This package provides the AMTK Shared Library + +%package -n typelib-1_0-Amtk-%{api_ver} +Summary: GObject Introspection Bindings for AMTK +Group: System/Libraries + +%description -n typelib-1_0-Amtk-%{api_ver} +“Actions, Menus and Toolbars Kit” or just AMTK is a basic +GtkUIManager replacement based on GAction, suitable for +both a traditional UI or a modern UI with a GtkHeaderBar. + +This package provides the GObject Introspection Bindings for AMTK. + +%package devel +Summary: Development files for Tepl, a text editor framework +Group: Development/Libraries/GNOME +Requires: %{libamtk} = %{version} +Requires: typelib-1_0-Amtk-%{api_ver} = %{version} + +%description devel +“Actions, Menus and Toolbars Kit” or just AMTK is a basic +GtkUIManager replacement based on GAction, suitable for +both a traditional UI or a modern UI with a GtkHeaderBar. + +This package provides all the necessary files for development +with AMTK. + +%lang_package -n %{name}-%{api_ver} + +%prep +%autosetup -p1 + +%build +%configure \ + --enable-gtk-doc +%make_build + +%install +%make_install +find %{buildroot} -type f -name "*.la" -delete -print +%find_lang %{name}-%{api_ver} + +%post -n %{libamtk} -p /sbin/ldconfig +%postun -n %{libamtk} -p /sbin/ldconfig + +%files -n %{libamtk} +%license COPYING +%doc NEWS +%{_libdir}/libamtk-%{api_ver}.so.* + +%files -n typelib-1_0-Amtk-%{api_ver} +%{_libdir}/girepository-1.0/Amtk-%{api_ver}.typelib + +%files devel +%doc ABOUT-NLS AUTHORS HACKING README +%doc %{_datadir}/gtk-doc/html/%{name}-%{api_ver}.0 +%{_datadir}/gir-1.0/Amtk-%{api_ver}.gir +%{_includedir}/amtk-%{api_ver}/ +%{_libdir}/pkgconfig/amtk-%{api_ver}.pc +%{_libdir}/libamtk-%{api_ver}.so + +%files -n %{name}-%{api_ver}-lang -f %{name}-%{api_ver}.lang + +%changelog