Fix desktop file (bz #953684)
- Remove broken translations (bz #905896) - Add vendor macro - Drop desktop vendor tag.
This commit is contained in:
parent
c1831700f7
commit
45b29241cb
@ -2,8 +2,9 @@
|
|||||||
Encoding=UTF-8
|
Encoding=UTF-8
|
||||||
Name=Hardware Lister
|
Name=Hardware Lister
|
||||||
Comment=Browse hardware on host computer
|
Comment=Browse hardware on host computer
|
||||||
|
StartupNotify=true
|
||||||
Exec=/usr/bin/lshw-gui
|
Exec=/usr/bin/lshw-gui
|
||||||
Icon=lshw-logo.svg
|
Icon=lshw-logo
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Type=Application
|
Type=Application
|
||||||
Categories=GTK;System;
|
Categories=GTK;System;
|
||||||
|
20
lshw.spec
20
lshw.spec
@ -1,7 +1,11 @@
|
|||||||
|
%if 0%{?fedora} <= 18
|
||||||
|
%global vendor 1
|
||||||
|
%endif
|
||||||
|
|
||||||
Summary: Hardware lister
|
Summary: Hardware lister
|
||||||
Name: lshw
|
Name: lshw
|
||||||
Version: B.02.16
|
Version: B.02.16
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
URL: http://ezix.org/project/wiki/HardwareLiSter
|
URL: http://ezix.org/project/wiki/HardwareLiSter
|
||||||
@ -78,7 +82,7 @@ pushd src
|
|||||||
# desktop icon
|
# desktop icon
|
||||||
%{__install} -D -m 0644 -p ./src/gui/artwork/logo.svg \
|
%{__install} -D -m 0644 -p ./src/gui/artwork/logo.svg \
|
||||||
%{buildroot}%{_datadir}/pixmaps/%{name}-logo.svg
|
%{buildroot}%{_datadir}/pixmaps/%{name}-logo.svg
|
||||||
desktop-file-install \
|
desktop-file-install %{?vendor:--vendor fedora} \
|
||||||
--dir %{buildroot}%{_datadir}/applications %{SOURCE1}
|
--dir %{buildroot}%{_datadir}/applications %{SOURCE1}
|
||||||
|
|
||||||
# PolicyKit
|
# PolicyKit
|
||||||
@ -86,12 +90,15 @@ desktop-file-install \
|
|||||||
%{buildroot}%{_datadir}/polkit-1/actions/org.ezix.lshw.gui.policy
|
%{buildroot}%{_datadir}/polkit-1/actions/org.ezix.lshw.gui.policy
|
||||||
%{__install} -D -m 0755 %{SOURCE3} %{buildroot}%{_bindir}/lshw-gui
|
%{__install} -D -m 0755 %{SOURCE3} %{buildroot}%{_bindir}/lshw-gui
|
||||||
|
|
||||||
%find_lang %{name}
|
# translations seems borken, remove for now
|
||||||
|
#find_lang %{name}
|
||||||
|
rm -rf %{buildroot}%{_datadir}/locale/fr/
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%{__rm} -rf %{buildroot}
|
%{__rm} -rf %{buildroot}
|
||||||
|
|
||||||
%files -f %{name}.lang
|
#files -f %{name}.lang
|
||||||
|
%files
|
||||||
%defattr(-, root, root, -)
|
%defattr(-, root, root, -)
|
||||||
%doc COPYING README docs/*
|
%doc COPYING README docs/*
|
||||||
%doc %{_mandir}/man1/lshw.1*
|
%doc %{_mandir}/man1/lshw.1*
|
||||||
@ -109,6 +116,11 @@ desktop-file-install \
|
|||||||
%{_datadir}/polkit-1/actions/org.ezix.lshw.gui.policy
|
%{_datadir}/polkit-1/actions/org.ezix.lshw.gui.policy
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Jun 09 2013 Terje Rosten <terje.rosten@ntnu.no> - B.02.16-7
|
||||||
|
- Fix desktop file (bz #953684)
|
||||||
|
- Remove broken translations (bz #905896)
|
||||||
|
- Add vendor macro
|
||||||
|
|
||||||
* Fri Apr 26 2013 Jon Ciesla <limburgher@gmail.com> - B.02.16-6
|
* Fri Apr 26 2013 Jon Ciesla <limburgher@gmail.com> - B.02.16-6
|
||||||
- Drop desktop vendor tag.
|
- Drop desktop vendor tag.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user