63 lines
1.7 KiB
RPMSpec
63 lines
1.7 KiB
RPMSpec
Name: lxqt-about
|
|
Version: 0.16.0
|
|
Release: 1mamba
|
|
Summary: A dialogue window providing information about LXQt and the system it's running on
|
|
Group: Graphical Desktop/Applications/Environment
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://github.com/lxqt/lxqt-about
|
|
Source: https://github.com/lxqt/lxqt-about.git/%{version}/lxqt-about-%{version}.tar.bz2
|
|
License: LGPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: ldconfig
|
|
BuildRequires: libgcc
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libkwindowsystem-devel
|
|
BuildRequires: liblxqt-devel
|
|
BuildRequires: libqt5-devel
|
|
BuildRequires: libqtxdg-devel
|
|
BuildRequires: libstdc++6-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: cmake
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
lxqt-about is a dialogue window providing information about LXQt and the system it's running on.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%cmake -d build
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall -C build
|
|
|
|
find %{buildroot}%{_datadir}/*/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)
|
|
%{_bindir}/lxqt-about
|
|
%{_datadir}/applications/lxqt-about.desktop
|
|
%doc AUTHORS COPYING
|
|
|
|
%changelog
|
|
* Mon Nov 09 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.16.0-1mamba
|
|
- update to 0.16.0
|
|
|
|
* Sat Oct 03 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.0-1mamba
|
|
- package created using the webbuild interface
|