From 8795005114b424e9f6e87a4d25f9e0709f1dd472 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 08:27:15 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.15.1-1mamba;Fri Oct 02 2020] --- README.md | 2 ++ pcmanfm-qt.spec | 66 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 pcmanfm-qt.spec diff --git a/README.md b/README.md index b18bf06..a343d83 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # pcmanfm-qt +PCManFM-Qt is the Qt port of PCManFM, the file manager of LXDE. + diff --git a/pcmanfm-qt.spec b/pcmanfm-qt.spec new file mode 100644 index 0000000..f1f5de6 --- /dev/null +++ b/pcmanfm-qt.spec @@ -0,0 +1,66 @@ +Name: pcmanfm-qt +Version: 0.15.1 +Release: 1mamba +Summary: Qt port of PCManFM, the file manager of LXDE +Group: Graphical Desktop/Applications/Utilities +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/lxqt/pcmanfm-qt +Source: https://github.com/lxqt/pcmanfm-qt.git/%{version}/pcmanfm-qt-%{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: libmenu-cache-devel +BuildRequires: libqt5-devel +BuildRequires: libstdc++6-devel +BuildRequires: libxcb-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +PCManFM-Qt is the Qt port of PCManFM, the file manager of LXDE. + +%debug_package + +%prep +%setup -q + +%build +%cmake -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +find %{buildroot}/usr/share/*/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) +%{_sysconfdir}/xdg/autostart/lxqt-desktop.desktop +%{_bindir}/pcmanfm-qt +%{_datadir}/applications/pcmanfm-qt-desktop-pref.desktop +%{_datadir}/applications/pcmanfm-qt.desktop +%{_mandir}/man1/pcmanfm-qt.1* +%dir %{_datadir}/pcmanfm-qt +%dir %{_datadir}/pcmanfm-qt/lxqt +%{_datadir}/pcmanfm-qt/lxqt/settings.conf +%doc AUTHORS LICENSE + +%changelog +* Fri Oct 02 2020 Silvan Calarco 0.15.1-1mamba +- package created using the webbuild interface