pcmanfm-qt/pcmanfm-qt.spec

83 lines
2.4 KiB
RPMSpec
Raw Normal View History

Name: pcmanfm-qt
Version: 1.1.0
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
%description
PCManFM-Qt is the Qt port of PCManFM, the file manager of LXDE.
%debug_package
%prep
%setup -q
%patch0 -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
%{_mandir}/man1/pcmanfm-qt.1*
%dir %{_datadir}/pcmanfm-qt
%dir %{_datadir}/pcmanfm-qt/lxqt
%{_datadir}/pcmanfm-qt/lxqt/settings.conf
%doc AUTHORS LICENSE
%changelog
* 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