From a58b0fa1a151efabee1301663b9747d83c9e0da5 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 06:35:10 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.2.0-1mamba;Sat Oct 03 2020] --- README.md | 2 ++ lxqt-archiver.spec | 64 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 lxqt-archiver.spec diff --git a/README.md b/README.md index ab9307f..1d72b5f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # lxqt-archiver +A simple & lightweight Qt file archiver. + diff --git a/lxqt-archiver.spec b/lxqt-archiver.spec new file mode 100644 index 0000000..dafc478 --- /dev/null +++ b/lxqt-archiver.spec @@ -0,0 +1,64 @@ +Name: lxqt-archiver +Version: 0.2.0 +Release: 1mamba +Summary: A simple & lightweight Qt file archiver +Group: Graphical Desktop/Applications/Utilities +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/lxqt/lxqt-archiver +Source: https://github.com/lxqt/lxqt-archiver.git/%{version}/lxqt-archiver-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: ldconfig +BuildRequires: libexif-devel +BuildRequires: libfm-qt-devel +BuildRequires: libgcc +BuildRequires: libglib-devel +BuildRequires: libjson-glib-devel +BuildRequires: libmenu-cache-devel +BuildRequires: libqt5-devel +BuildRequires: libstdc++6-devel +BuildRequires: libxcb-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +A simple & lightweight Qt file archiver. + +%debug_package + +%prep +%setup -q + +%build +%cmake -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +find %{buildroot}%{_datadir}/*/translations/ -name *.qm | \ +while read line; do + bn=`echo ${line}|cut -d_ -f2-3` + echo "%lang(${bn/.*}) ${line/*-root}" >> %{name}.lang +done + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.lang +%defattr(-,root,root) +%{_bindir}/lxqt-archiver +%{_prefix}/libexec/lxqt-archiver/isoinfo.sh +%{_prefix}/libexec/lxqt-archiver/rpm2cpio +%{_datadir}/applications/lxqt-archiver.desktop +%{_datadir}/icons/hicolor/scalable/apps/lxqt-archiver.svg +%doc AUTHORS LICENSE + +%changelog +* Sat Oct 03 2020 Silvan Calarco 0.2.0-1mamba +- package created using the webbuild interface