forked from pool/lxqt-archiver
This commit is contained in:
parent
8a5cee1698
commit
3534335123
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0c43ce738223a9dac7951c618d89c20db6dd2ddf8534cc2f00c5bbbd7d6e0ea0
|
||||
size 229072
|
7
lxqt-archiver.desktop
Normal file
7
lxqt-archiver.desktop
Normal file
@ -0,0 +1,7 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=LXQt Archiver
|
||||
GenericName=Archiver
|
||||
Comment=The LXQt image viewer
|
||||
Exec=lxqt-archiver %F
|
||||
Categories=Utility;Archiving;
|
@ -25,7 +25,9 @@ License: GPL-2.0-or-later
|
||||
Group: System/GUI/LXQt
|
||||
URL: http://www.lxqt.org
|
||||
Source: https://github.com/lxqt/lxqt-archiver/archive/%{version}.tar.gz
|
||||
Source1: lxqt-archiver.desktop
|
||||
BuildRequires: cmake >= 3.1.0
|
||||
BuildRequires: libexif-devel
|
||||
BuildRequires: libqt5-linguist-devel
|
||||
BuildRequires: lxqt-build-tools-devel >= 0.6.0
|
||||
BuildRequires: pkgconfig
|
||||
@ -47,6 +49,7 @@ LXQt file archiver.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
rm src/translations/*.desktop
|
||||
|
||||
%build
|
||||
%cmake
|
||||
@ -54,13 +57,22 @@ LXQt file archiver.
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/applications/
|
||||
|
||||
%find_lang %{name} --with-qt
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc AUTHORS CHANGELOG
|
||||
%license LICENSE
|
||||
%doc AUTHORS CHANGELOG README.md
|
||||
%dir %{_libdir}/lxqt-archiver/
|
||||
%{_bindir}/lxqt-archiver
|
||||
%{_libdir}/lxqt-archiver/isoinfo.sh
|
||||
%{_libdir}/lxqt-archiver/rpm2cpio
|
||||
%{_datadir}/applications/lxqt-archiver.desktop
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
%dir %{_datadir}/lxqt-archiver/
|
||||
%dir %{_datadir}/lxqt-archiver/translations/
|
||||
%{_datadir}/lxqt-archiver/translations/*.qm
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user