From 04efeb13b427478e7d1bbd58eb7b68e59f362cfb Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 20:22:25 +0100 Subject: [PATCH] package created using the webbuild interface [release 5.0.0-1mamba;Sat Sep 29 2018] --- README.md | 2 + amtk.spec | 114 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 116 insertions(+) create mode 100644 amtk.spec diff --git a/README.md b/README.md index 375a02f..7af155e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # amtk +Actions, Menus and Toolbars Kit for GTK+ applications. + diff --git a/amtk.spec b/amtk.spec new file mode 100644 index 0000000..82ce207 --- /dev/null +++ b/amtk.spec @@ -0,0 +1,114 @@ +Name: amtk +Version: 5.0.0 +Release: 1mamba +Summary: Actions, Menus and Toolbars Kit for GTK+ applications +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://live.gnome.org +Source: ftp://ftp.gnome.org/pub/gnome/sources/amtk/5.0/amtk-%{version}.tar.xz +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libatk-devel +BuildRequires: libblkid-devel +BuildRequires: libbzip2-devel +BuildRequires: libcairo-devel +BuildRequires: libexpat-devel +BuildRequires: libffi-devel +BuildRequires: libfontconfig-devel +BuildRequires: libfreetype-devel +BuildRequires: libfribidi-devel +BuildRequires: libgdk-pixbuf-devel +BuildRequires: libglib-devel +BuildRequires: libgraphite2-devel +BuildRequires: libgtk-devel +BuildRequires: libharfbuzz-devel +BuildRequires: libmount-devel +BuildRequires: libpango-devel +BuildRequires: libpcre-devel +BuildRequires: libpng-devel +BuildRequires: libselinux-devel +BuildRequires: libsepol-devel +BuildRequires: libthai-devel +BuildRequires: libuuid-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Actions, Menus and Toolbars Kit for GTK+ applications. + +%package -n lib%{name} +Group: System/Libraries +Summary: Actions, Menus and Toolbars Kit for GTK+ applications + +%description -n lib%{name} +Actions, Menus and Toolbars Kit for GTK+ applications. +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + +%package apidocs +Group: Documentation +Summary: %{name} API documentation +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: gtk-doc + +%description apidocs +This package includes the %{name} API documentation. + +%debug_package + +%prep +%setup -q + +%build +%configure --enable-gtk-doc +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%find_lang %{name}-5 || touch %{name}-5.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files -n lib%{name} -f %{name}-5.lang +%defattr(-,root,root) +%{_libdir}/libamtk-5.so.* +%{_libdir}/girepository-1.0/Amtk-5.typelib +%doc AUTHORS COPYING + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_includedir}/amtk-5/amtk +%{_includedir}/amtk-5/amtk/* +%{_libdir}/libamtk-5.la +%{_libdir}/libamtk-5.so +%{_libdir}/pkgconfig/amtk-5.pc +%{_datadir}/gir-1.0/Amtk-5.gir +%doc ChangeLog NEWS README + +%files apidocs +%defattr(-,root,root) +%dir %{_datadir}/gtk-doc/html/amtk-5.0 +%{_datadir}/gtk-doc/html/amtk-5.0/* + +%changelog +* Sat Sep 29 2018 Silvan Calarco 5.0.0-1mamba +- package created using the webbuild interface