libfm-qt/libfm-qt.spec

125 lines
4.3 KiB
RPMSpec
Raw Permalink Normal View History

Name: libfm-qt
Version: 0.15.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}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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: Applications/Tools
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
%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
%defattr(-,root,root)
%dir %{_datadir}/libfm-qt
%{_datadir}/libfm-qt/archivers.list
%{_datadir}/libfm-qt/terminals.list
%lang(ar) %{_datadir}/libfm-qt/translations/libfm-qt_ar.qm
%lang(arn) %{_datadir}/libfm-qt/translations/libfm-qt_arn.qm
%lang(ast) %{_datadir}/libfm-qt/translations/libfm-qt_ast.qm
%lang(ca) %{_datadir}/libfm-qt/translations/libfm-qt_ca.qm
%lang(cs) %{_datadir}/libfm-qt/translations/libfm-qt_cs.qm
%lang(cy) %{_datadir}/libfm-qt/translations/libfm-qt_cy.qm
%lang(da) %{_datadir}/libfm-qt/translations/libfm-qt_da.qm
%lang(de) %{_datadir}/libfm-qt/translations/libfm-qt_de.qm
%lang(el) %{_datadir}/libfm-qt/translations/libfm-qt_el.qm
%lang(en_GB) %{_datadir}/libfm-qt/translations/libfm-qt_en_GB.qm
%lang(es) %{_datadir}/libfm-qt/translations/libfm-qt_es.qm
%lang(fr) %{_datadir}/libfm-qt/translations/libfm-qt_fr.qm
%lang(gl) %{_datadir}/libfm-qt/translations/libfm-qt_gl.qm
%lang(he) %{_datadir}/libfm-qt/translations/libfm-qt_he.qm
%lang(hu) %{_datadir}/libfm-qt/translations/libfm-qt_hu.qm
%lang(id) %{_datadir}/libfm-qt/translations/libfm-qt_id.qm
%lang(it) %{_datadir}/libfm-qt/translations/libfm-qt_it.qm
%lang(ja) %{_datadir}/libfm-qt/translations/libfm-qt_ja.qm
%lang(lt) %{_datadir}/libfm-qt/translations/libfm-qt_lt.qm
%lang(nb_NO) %{_datadir}/libfm-qt/translations/libfm-qt_nb_NO.qm
%lang(nl) %{_datadir}/libfm-qt/translations/libfm-qt_nl.qm
%lang(or) %{_datadir}/libfm-qt/translations/libfm-qt_or.qm
%lang(pl) %{_datadir}/libfm-qt/translations/libfm-qt_pl.qm
%lang(pt) %{_datadir}/libfm-qt/translations/libfm-qt_pt.qm
%lang(pt_BR) %{_datadir}/libfm-qt/translations/libfm-qt_pt_BR.qm
%lang(ru) %{_datadir}/libfm-qt/translations/libfm-qt_ru.qm
%lang(tr) %{_datadir}/libfm-qt/translations/libfm-qt_tr.qm
%lang(uk) %{_datadir}/libfm-qt/translations/libfm-qt_uk.qm
%lang(zh_CN) %{_datadir}/libfm-qt/translations/libfm-qt_zh_CN.qm
%lang(zh_TW) %{_datadir}/libfm-qt/translations/libfm-qt_zh_TW.qm
%{_datadir}/mime/packages/libfm-qt-mimetypes.xml
%changelog
* Fri Oct 02 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.1-1mamba
- package created using the webbuild interface