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
|
Name: calcurse
|
||||||
Version: 2.8
|
Version: 2.8
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Text-based Organizer
|
Summary: Text-based Organizer
|
||||||
# http://culot.org/cgi-bin/get.cgi?calcurse-%{version}.tar.gz
|
# http://culot.org/cgi-bin/get.cgi?calcurse-%{version}.tar.gz
|
||||||
Source: calcurse-%{version}.tar.bz2
|
Source: calcurse-%{version}.tar.bz2
|
||||||
Source1: %{name}.desktop
|
Source1: %{name}.desktop
|
||||||
Patch1: calcurse-fix_missing_return_in_nonvoid_function.patch
|
Patch1: calcurse-fix_missing_return_in_nonvoid_function.patch
|
||||||
URL: http://culot.org/calcurse/
|
URL: http://culot.org/calcurse/
|
||||||
Group: Productivity/Office/Organizers
|
Group: Productivity/Office/Organizers
|
||||||
License: BSD License
|
License: BSD License
|
||||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||||
BuildRequires: ncurses-devel gcc make glibc-devel gettext gettext-devel
|
BuildRequires: ncurses-devel gcc make glibc-devel gettext gettext-devel
|
||||||
BuildRequires: autoconf automake libtool update-desktop-files
|
BuildRequires: autoconf automake libtool update-desktop-files
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Calcurse is a text-based personal organizer which helps keep track of events
|
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>
|
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