109 lines
3.0 KiB
RPMSpec
109 lines
3.0 KiB
RPMSpec
Name: libfm-qt
|
|
Version: 0.17.1
|
|
Release: 1mamba
|
|
Summary: Qt port of libfm, a library providing components to build desktop file managers which belongs to LXDE
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://github.com/lxqt/libfm-qt
|
|
Source: https://github.com/lxqt/libfm-qt.git/%{version}/libfm-qt-%{version}.tar.bz2
|
|
License: LGPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: ldconfig
|
|
BuildRequires: libexif-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libmenu-cache-devel
|
|
BuildRequires: libqt5-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: libxcb-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: cmake
|
|
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description
|
|
libfm-qt is the Qt port of libfm, a library providing components to build desktop file managers which belongs to LXDE.
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: pkg-config
|
|
|
|
%description devel
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
%package tools
|
|
Group: Graphical Desktop/Applications/Environment
|
|
Summary: Utility applications for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description tools
|
|
This package contains utility applications for %{name}.
|
|
|
|
%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}"
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libfm-qt.so.*
|
|
%doc AUTHORS LICENSE
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/libfm-qt
|
|
%dir %{_includedir}/libfm-qt/core
|
|
%{_includedir}/libfm-qt/core/*
|
|
%{_includedir}/libfm-qt/*.h
|
|
%dir %{_includedir}/libfm-qt/customactions
|
|
%{_includedir}/libfm-qt/customactions/*
|
|
%{_libdir}/libfm-qt.so
|
|
%{_libdir}/pkgconfig/libfm-qt.pc
|
|
%dir %{_datadir}/cmake/fm-qt
|
|
%{_datadir}/cmake/fm-qt/fm-qt-*.cmake
|
|
%doc README.md
|
|
|
|
%files tools -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
%dir %{_datadir}/libfm-qt
|
|
%{_datadir}/libfm-qt/archivers.list
|
|
%{_datadir}/libfm-qt/terminals.list
|
|
%{_datadir}/mime/packages/libfm-qt-mimetypes.xml
|
|
|
|
%changelog
|
|
* Sat Apr 17 2021 Automatic Build System <autodist@mambasoft.it> 0.17.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Apr 16 2021 Automatic Build System <autodist@mambasoft.it> 0.17.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* 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
|