liblxqt/liblxqt.spec

135 lines
5.1 KiB
RPMSpec
Raw Normal View History

Name: liblxqt
Version: 0.15.1
Release: 1mamba
Summary: The core library of LXQt providing essential functionality needed by nearly all of its components
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: System/Libraries
Source: https://github.com/lxqt/liblxqt.git/%{version}/liblxqt-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libX11-devel
BuildRequires: libXScrnSaver-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libkwindowsystem-devel
BuildRequires: libqt5-devel
BuildRequires: libqtxdg-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
liblxqt represents the core library of LXQt providing essential functionality needed by nearly all of its components.
%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
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/liblxqt.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/lxqt
%dir %{_includedir}/lxqt/LXQt
%{_includedir}/lxqt/LXQt/*
%{_libdir}/liblxqt.so
%{_libdir}/pkgconfig/lxqt.pc
%dir %{_datadir}/cmake/lxqt
%{_datadir}/cmake/lxqt/lxqt-*.cmake
%doc README.md
%files tools
%defattr(-,root,root)
%{_bindir}/lxqt-backlight_backend
%{_datadir}/polkit-1/actions/org.lxqt.backlight.pkexec.policy
%{_datadir}/lxqt/power.conf
%lang(ar) %{_datadir}/lxqt/translations/liblxqt/liblxqt_ar.qm
%lang(arn) %{_datadir}/lxqt/translations/liblxqt/liblxqt_arn.qm
%lang(ast) %{_datadir}/lxqt/translations/liblxqt/liblxqt_ast.qm
%lang(bg) %{_datadir}/lxqt/translations/liblxqt/liblxqt_bg.qm
%lang(ca) %{_datadir}/lxqt/translations/liblxqt/liblxqt_ca.qm
%lang(cs) %{_datadir}/lxqt/translations/liblxqt/liblxqt_cs.qm
%lang(cy) %{_datadir}/lxqt/translations/liblxqt/liblxqt_cy.qm
%lang(da) %{_datadir}/lxqt/translations/liblxqt/liblxqt_da.qm
%lang(de) %{_datadir}/lxqt/translations/liblxqt/liblxqt_de.qm
%lang(el) %{_datadir}/lxqt/translations/liblxqt/liblxqt_el.qm
%lang(en_GB) %{_datadir}/lxqt/translations/liblxqt/liblxqt_en_GB.qm
%lang(eo) %{_datadir}/lxqt/translations/liblxqt/liblxqt_eo.qm
%lang(es) %{_datadir}/lxqt/translations/liblxqt/liblxqt_es.qm
%lang(es_VE) %{_datadir}/lxqt/translations/liblxqt/liblxqt_es_VE.qm
%lang(eu) %{_datadir}/lxqt/translations/liblxqt/liblxqt_eu.qm
%lang(fi) %{_datadir}/lxqt/translations/liblxqt/liblxqt_fi.qm
%lang(fr) %{_datadir}/lxqt/translations/liblxqt/liblxqt_fr.qm
%lang(gl) %{_datadir}/lxqt/translations/liblxqt/liblxqt_gl.qm
%lang(he) %{_datadir}/lxqt/translations/liblxqt/liblxqt_he.qm
%lang(hu) %{_datadir}/lxqt/translations/liblxqt/liblxqt_hu.qm
%lang(ia) %{_datadir}/lxqt/translations/liblxqt/liblxqt_ia.qm
%lang(id) %{_datadir}/lxqt/translations/liblxqt/liblxqt_id.qm
%lang(it) %{_datadir}/lxqt/translations/liblxqt/liblxqt_it.qm
%lang(ja) %{_datadir}/lxqt/translations/liblxqt/liblxqt_ja.qm
%lang(ko) %{_datadir}/lxqt/translations/liblxqt/liblxqt_ko.qm
%lang(lt) %{_datadir}/lxqt/translations/liblxqt/liblxqt_lt.qm
%lang(lv) %{_datadir}/lxqt/translations/liblxqt/liblxqt_lv.qm
%lang(nb_NO) %{_datadir}/lxqt/translations/liblxqt/liblxqt_nb_NO.qm
%lang(nl) %{_datadir}/lxqt/translations/liblxqt/liblxqt_nl.qm
%lang(pl) %{_datadir}/lxqt/translations/liblxqt/liblxqt_pl.qm
%lang(pt) %{_datadir}/lxqt/translations/liblxqt/liblxqt_pt.qm
%lang(pt_BR) %{_datadir}/lxqt/translations/liblxqt/liblxqt_pt_BR.qm
%lang(ro_RO) %{_datadir}/lxqt/translations/liblxqt/liblxqt_ro_RO.qm
%lang(ru) %{_datadir}/lxqt/translations/liblxqt/liblxqt_ru.qm
%lang(sk_SK) %{_datadir}/lxqt/translations/liblxqt/liblxqt_sk_SK.qm
%lang(sl) %{_datadir}/lxqt/translations/liblxqt/liblxqt_sl.qm
%lang(sr@latin) %{_datadir}/lxqt/translations/liblxqt/liblxqt_sr@latin.qm
%lang(sr_RS) %{_datadir}/lxqt/translations/liblxqt/liblxqt_sr_RS.qm
%lang(th_TH) %{_datadir}/lxqt/translations/liblxqt/liblxqt_th_TH.qm
%lang(tr) %{_datadir}/lxqt/translations/liblxqt/liblxqt_tr.qm
%lang(uk) %{_datadir}/lxqt/translations/liblxqt/liblxqt_uk.qm
%lang(zh_CN) %{_datadir}/lxqt/translations/liblxqt/liblxqt_zh_CN.qm
%lang(zh_TW) %{_datadir}/lxqt/translations/liblxqt/liblxqt_zh_TW.qm
%changelog
* Fri Oct 02 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.1-1mamba
- package created using the webbuild interface