pcmanfm-qt/pcmanfm-qt.spec

104 lines
3.2 KiB
RPMSpec
Raw Permalink Normal View History

Name: pcmanfm-qt
Version: 1.4.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
Patch0: pcmanfm-qt-1.1.0-openmamba-settings.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libQt5X11Extras-devel
BuildRequires: libexif-devel
BuildRequires: libfm-qt-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libmenu-cache-devel
BuildRequires: libstdc++6-devel
BuildRequires: libxcb-devel
BuildRequires: qt5-qtbase-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Provides: pcmanfm
Obsoletes: pcmanfm <= 1.3.2
%description
PCManFM-Qt is the Qt port of PCManFM, the file manager of LXDE.
%debug_package
%prep
%setup -q
%patch 0 -p1
%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
%dir %{_datadir}/pcmanfm-qt
%dir %{_datadir}/pcmanfm-qt/lxqt
%{_datadir}/pcmanfm-qt/lxqt/settings.conf
%{_datadir}/icons/hicolor/scalable/apps/pcmanfm-qt.svg
%{_mandir}/man1/pcmanfm-qt.1*
%doc AUTHORS LICENSE
%changelog
* Sat Feb 10 2024 Automatic Build System <autodist@openmamba.org> 1.4.1-1mamba
- automatic version update by autodist
* Fri Nov 10 2023 Automatic Build System <autodist@mambasoft.it> 1.4.0-1mamba
- automatic version update by autodist
* Fri Apr 21 2023 Automatic Build System <autodist@mambasoft.it> 1.3.0-1mamba
- automatic version update by autodist
* Tue Jan 03 2023 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
- automatic version update by autodist
* Fri Nov 18 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-2mamba
- obsolete pcmanfm
* Sat Nov 12 2022 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
- automatic version update by autodist
* Sat Apr 23 2022 Automatic Build System <autodist@mambasoft.it> 1.1.0-1mamba
- automatic version update by autodist
* Mon Nov 22 2021 Automatic Build System <autodist@mambasoft.it> 1.0.0-1mamba
- automatic version update by autodist
* Sun Apr 18 2021 Automatic Build System <autodist@mambasoft.it> 0.17.0-1mamba
- automatic version update by autodist
* Wed Nov 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.16.0-2mamba
- patch settings.conf to set default wallpaper from kde-plasma theme
* Sun Nov 08 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.16.0-1mamba
- update to 0.16.0
* Fri Oct 02 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.1-1mamba
- package created using the webbuild interface