package created using the webbuild interface [release 0.15.0-1mamba;Sat Oct 03 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 06:34:23 +01:00
parent 657b4f56c4
commit 16f71f94e6
2 changed files with 69 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# lximage-qt
LXImage-Qt is the Qt port of LXImage, a simple and fast image viewer.

67
lximage-qt.spec Normal file
View File

@ -0,0 +1,67 @@
Name: lximage-qt
Version: 0.15.0
Release: 1mamba
Summary: Qt port of LXImage, a simple and fast image viewer
Group: Graphical Desktop/Applications/Graphics
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/lxqt/lximage-qt
Source: https://github.com/lxqt/lximage-qt.git/%{version}/lximage-qt-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libICE-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libXfixes-devel
BuildRequires: libexif-devel
BuildRequires: libfm-qt-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libmenu-cache-devel
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
BuildRequires: libxcb-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
LXImage-Qt is the Qt port of LXImage, a simple and fast image viewer.
%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}/lximage-qt
%{_datadir}/applications/lximage-qt-screenshot.desktop
%{_datadir}/applications/lximage-qt.desktop
%{_datadir}/icons/hicolor/48x48/apps/lximage-qt.png
%doc AUTHORS COPYING
%changelog
* Sat Oct 03 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.0-1mamba
- package created using the webbuild interface