- Use desktop scriplets
OBS-URL: https://build.opensuse.org/package/show/editors/nedit?expand=0&rev=19
This commit is contained in:
parent
359d92358c
commit
11eee40c27
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 11 12:44:50 UTC 2017 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Use desktop scriplets
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 11 12:03:48 UTC 2017 - tchvatal@suse.com
|
Thu May 11 12:03:48 UTC 2017 - tchvatal@suse.com
|
||||||
|
|
||||||
|
17
nedit.spec
17
nedit.spec
@ -41,7 +41,8 @@ Patch6: %{name}-5.6_builddate_fix.patch
|
|||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: openmotif-devel
|
BuildRequires: openmotif-devel
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
Requires(post): update-desktop-files
|
||||||
|
Requires(postun): update-desktop-files
|
||||||
|
|
||||||
%description
|
%description
|
||||||
NEdit is a GUI style plain text editor for workstations with the X Window System
|
NEdit is a GUI style plain text editor for workstations with the X Window System
|
||||||
@ -79,12 +80,20 @@ install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/
|
|||||||
install -m 644 %{SOURCE2} %{buildroot}%{_datadir}/applications/
|
install -m 644 %{SOURCE2} %{buildroot}%{_datadir}/applications/
|
||||||
%suse_update_desktop_file %{name} TextEditor
|
%suse_update_desktop_file %{name} TextEditor
|
||||||
|
|
||||||
|
%post
|
||||||
|
%desktop_database_post
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%desktop_database_postun
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc doc/nedit.doc README ReleaseNotes
|
%doc doc/nedit.doc README ReleaseNotes
|
||||||
%{_mandir}/*/*
|
%{_bindir}/nedit
|
||||||
%{_bindir}/*
|
%{_bindir}/nedit-client
|
||||||
%{_datadir}/applications/*
|
%{_mandir}/man1/nedit.1x%{ext_man}
|
||||||
|
%{_mandir}/man1/nedit-client.1x%{ext_man}
|
||||||
|
%{_datadir}/applications/nedit.desktop
|
||||||
%{_datadir}/pixmaps/nedit-icon.png
|
%{_datadir}/pixmaps/nedit-icon.png
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user