forked from pool/calcurse
fix formatting, remove debug_package, conditional on suse_desktop_file
OBS-URL: https://build.opensuse.org/package/show/utilities/calcurse?expand=0&rev=2
This commit is contained in:
parent
cae3ef9f81
commit
3f965edbb2
@ -1,4 +1,4 @@
|
|||||||
# norootforbuild
|
# vim: set ts=4 sw=4 et:
|
||||||
|
|
||||||
Name: calcurse
|
Name: calcurse
|
||||||
Version: 2.8
|
Version: 2.8
|
||||||
@ -29,7 +29,6 @@ Authors:
|
|||||||
--------
|
--------
|
||||||
Frédéric Culot <frederic@culot.org>
|
Frédéric Culot <frederic@culot.org>
|
||||||
|
|
||||||
%debug_package
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1
|
%patch1
|
||||||
@ -41,7 +40,9 @@ Authors:
|
|||||||
%install
|
%install
|
||||||
%makeinstall
|
%makeinstall
|
||||||
%__install -D -m 0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.desktop"
|
%__install -D -m 0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.desktop"
|
||||||
|
%if 0%{?suse_update_desktop_file:1}
|
||||||
%suse_update_desktop_file -r "%{name}" Office Calendar
|
%suse_update_desktop_file -r "%{name}" Office Calendar
|
||||||
|
%endif
|
||||||
|
|
||||||
%__mv \
|
%__mv \
|
||||||
"%{buildroot}%{_datadir}/locale/en" \
|
"%{buildroot}%{_datadir}/locale/en" \
|
||||||
@ -61,8 +62,3 @@ Authors:
|
|||||||
%doc %{_mandir}/man1/calcurse.1%{ext_man}
|
%doc %{_mandir}/man1/calcurse.1%{ext_man}
|
||||||
%{_datadir}/applications/%{name}.desktop
|
%{_datadir}/applications/%{name}.desktop
|
||||||
|
|
||||||
%changelog
|
|
||||||
# Local Variables:
|
|
||||||
# mode: rpm-spec
|
|
||||||
# tab-width: 3
|
|
||||||
# End:
|
|
||||||
|
Loading…
Reference in New Issue
Block a user