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,19 +1,19 @@
|
||||
# norootforbuild
|
||||
# vim: set ts=4 sw=4 et:
|
||||
|
||||
Name: calcurse
|
||||
Version: 2.8
|
||||
Name: calcurse
|
||||
Version: 2.8
|
||||
Release: 0
|
||||
Summary: Text-based Organizer
|
||||
Summary: Text-based Organizer
|
||||
# http://culot.org/cgi-bin/get.cgi?calcurse-%{version}.tar.gz
|
||||
Source: calcurse-%{version}.tar.bz2
|
||||
Source1: %{name}.desktop
|
||||
Source: calcurse-%{version}.tar.bz2
|
||||
Source1: %{name}.desktop
|
||||
Patch1: calcurse-fix_missing_return_in_nonvoid_function.patch
|
||||
URL: http://culot.org/calcurse/
|
||||
Group: Productivity/Office/Organizers
|
||||
License: BSD License
|
||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||
BuildRequires: ncurses-devel gcc make glibc-devel gettext gettext-devel
|
||||
BuildRequires: autoconf automake libtool update-desktop-files
|
||||
URL: http://culot.org/calcurse/
|
||||
Group: Productivity/Office/Organizers
|
||||
License: BSD License
|
||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||
BuildRequires: ncurses-devel gcc make glibc-devel gettext gettext-devel
|
||||
BuildRequires: autoconf automake libtool update-desktop-files
|
||||
|
||||
%description
|
||||
Calcurse is a text-based personal organizer which helps keep track of events
|
||||
@ -29,7 +29,6 @@ Authors:
|
||||
--------
|
||||
Frédéric Culot <frederic@culot.org>
|
||||
|
||||
%debug_package
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1
|
||||
@ -41,7 +40,9 @@ Authors:
|
||||
%install
|
||||
%makeinstall
|
||||
%__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
|
||||
%endif
|
||||
|
||||
%__mv \
|
||||
"%{buildroot}%{_datadir}/locale/en" \
|
||||
@ -61,8 +62,3 @@ Authors:
|
||||
%doc %{_mandir}/man1/calcurse.1%{ext_man}
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
|
||||
%changelog
|
||||
# Local Variables:
|
||||
# mode: rpm-spec
|
||||
# tab-width: 3
|
||||
# End:
|
||||
|
Loading…
Reference in New Issue
Block a user