]> git.pld-linux.org Git - packages/calcurse.git/blob - calcurse.spec
eb02319306f245c39fa7033f6032db26b8957cf3
[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.3
5 Release:        1
6 License:        GPL v2
7 Group:          Applications
8 Source0:        http://culot.org/cgi-bin/get.cgi?%{name}-%{version}.tar.gz
9 # Source0-md5:  3aaa2f788238a837df0cf137f3657567
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 %{__sed} -i -e 's/#include <ncurses.h>/#include <ncurses\/ncurses.h>/' src/*{c,h}
34 %{__sed} -i -e 's/ncurses\.h/ncurses\/ncurses.h/' configure
35
36 %build
37 %configure
38
39 %{__make} \
40         CFLAGS="%{rpmcflags}" \
41         LDFLAGS="%{rpmldflags}"
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 %find_lang %{name}
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files -f %{name}.lang
55 %defattr(644,root,root,755)
56 %doc AUTHORS doc/* ChangeLog TODO NEWS README
57 %attr(755,root,root) %{_bindir}/*
58 %{_mandir}/man*/*
This page took 0.179319 seconds and 2 git commands to generate.