]> git.pld-linux.org Git - packages/calcurse.git/blob - calcurse.spec
2ee213edd5b6a8032f20ba16693507cbc1ee4e7a
[packages/calcurse.git] / calcurse.spec
1 Summary:        Calcurse - text-based personal organizer
2 Summary(pl.UTF-8):      Calcurse - tekstowy organizer
3 Name:           calcurse
4 Version:        2.8
5 Release:        1
6 License:        GPL v2
7 Group:          Applications
8 Source0:        http://culot.org/cgi-bin/get.cgi?calcurse-2.8.tar.gz
9 # Source0-md5:  124d40c0912b12021996220f02b759cc
10 URL:            http://culot.org/calcurse/
11 BuildRequires:  ncurses-devel
12 BuildRequires:  sed >= 4.0
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 Calcurse is a text-based personal organizer which helps keeping track
17 of events and everyday tasks. It contains a calendar, a 'todo' list,
18 and puts your appointments in order. The user interface is
19 configurable, and one can choose between different color schemes and
20 layouts. All of the commands are documented within an online help
21 system.
22
23 %description -l pl.UTF-8
24 Calcurse jest tekstowym organizerem, który pomaga w śledzeniu
25 codziennych czynności. Zawiera kalendarz, listę zadań do zrobienia
26 "todo", potrafi uporządkować listę spotkań. Interfejs użytkownika jest
27 konfigurowalny i można wybrać jeden ze schematów kolorowania i układu
28 okien. Wszystkie komendy programu są udokumentowane w systemie pomocy
29 online.
30
31 %prep
32 %setup -q
33
34
35 %{__sed} -i -e 's/#include <ncurses.h>/#include <ncurses\/ncurses.h>/' src/*{c,h}
36 %{__sed} -i -e 's/ncurses\.h/ncurses\/ncurses.h/' configure
37
38 %build
39 %configure
40
41 %{__make} \
42         CFLAGS="%{rpmcflags}" \
43         LDFLAGS="%{rpmldflags}"
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 %find_lang %{name}
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files -f %{name}.lang
57 %defattr(644,root,root,755)
58 %doc AUTHORS doc/* ChangeLog TODO NEWS README
59 %attr(755,root,root) %{_bindir}/*
60 %{_mandir}/man*/*
This page took 0.074514 seconds and 2 git commands to generate.