package created using the webbuild interface [release 0.15.1-1mamba;Fri Oct 02 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 08:27:15 +01:00
parent fc7f2f471e
commit 8795005114
2 changed files with 68 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# pcmanfm-qt
PCManFM-Qt is the Qt port of PCManFM, the file manager of LXDE.

66
pcmanfm-qt.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 0.15.1-1mamba
- package created using the webbuild interface