diff --git a/README.md b/README.md index 1ad416f..fd36c32 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # appstream-generator +A fast AppStream metadata generator. + diff --git a/appstream-generator.spec b/appstream-generator.spec new file mode 100644 index 0000000..1f20679 --- /dev/null +++ b/appstream-generator.spec @@ -0,0 +1,63 @@ +Name: appstream-generator +Version: 0.8.5 +Release: 1mamba +Summary: A fast AppStream metadata generator +Group: System/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/ximion/appstream-generator +Source: https://github.com/ximion/appstream-generator.git/v%{version}/appstream-generator-%{version}.tar.bz2 +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libappstream-devel +BuildRequires: libarchive-devel +BuildRequires: libcurl-devel +BuildRequires: libgcc +BuildRequires: libgdk-pixbuf-devel +BuildRequires: libglib-devel +BuildRequires: libglibd-devel +BuildRequires: libldc-devel +BuildRequires: liblmdb-devel +## AUTOBUILDREQ-END +BuildRequires: meson + +%description +A fast AppStream metadata generator. + +%debug_package + +%prep +%setup -q + +%build +%meson +%meson_build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%meson_install + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/appstream-generator +%{_datadir}/metainfo/org.freedesktop.appstream.generator.metainfo.xml +%dir %{_datadir}/appstream +%{_datadir}/appstream/asgen-hints.json +%{_datadir}/appstream/hicolor-theme-index.theme +%dir %{_datadir}/appstream/templates +%dir %{_datadir}/appstream/templates/debian +%{_datadir}/appstream/templates/debian/* +%dir %{_datadir}/appstream/templates/default +%{_datadir}/appstream/templates/default/* +%{_datadir}/appstream/templates/ubuntu +%{_mandir}/man1/appstream-generator.1* +%doc LICENSE + +%changelog +* Wed Oct 27 2021 Silvan Calarco 0.8.5-1mamba +- package created using the webbuild interface