]> git.pld-linux.org Git - packages/pal.git/blob - pal.spec
- dropped pre-cvs changelog
[packages/pal.git] / pal.spec
1 # TODO:
2 #  - handle with i18n files
3 #
4 Summary:        A command line calendar that displays holidays and user-defined events
5 Summary(pl.UTF-8):      Działający z linii poleceń kalendarz wyświetlający święta i inne zdarzenia
6 Name:           pal
7 Version:        0.3.4
8 Release:        0.1
9 License:        GPL v2
10 Group:          Applications/Text
11 Source0:        http://dl.sourceforge.net/palcal/%{name}-%{version}.tgz
12 # Source0-md5:  86911792eace630a1c2e93846c27290c
13 Patch0:         %{name}-home_etc.patch
14 URL:            http://palcal.sourceforge.net/
15 BuildRequires:  gettext-devel
16 BuildRequires:  glib2-devel >= 2.2
17 BuildRequires:  readline-devel
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 pal is a command line calendar that displays holidays and user-defined
22 events that are specified in text files. Recomended:
23  - LaTeX - required for creating ps/pdf/dvi calendars.
24  - at, cron, some MTA - required for event reminders via email
25
26 %description -l pl.UTF-8
27 pal to działający z linii poleceń kalendarz wyświetlający święta i
28 zdarzenia zdefiniowane przez użytkownika podane w plikach tekstowych.
29 Zalecane:
30  - LaTeX - wymagany do tworzenia kalendarzy ps/pdf/dvi.
31  - at, cron, jakiś MTA - wymagane do wysyłania przypominajek
32    pocztą elektroniczną.
33
34 %prep
35 %setup -q
36 %patch0 -p1
37
38 %build
39 sed 's/VERSION/%{version}/' pal.1.template > pal.1
40 %{__make} -C src
41
42 # ???
43 #cd po
44 #for file in *po; do
45 #       f=`echo $file|cut -f1 -d.`
46 #       mkdir -p "$f/LC_MESSAGES"
47 #       msgfmt $file -o "$f/LC_MESSAGES/%{name}.po"
48 #done
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir},%{_datadir}/%{name},%{_mandir}/man1}
53
54 install src/pal $RPM_BUILD_ROOT%{_bindir}
55 install share/* $RPM_BUILD_ROOT%{_datadir}/%{name}
56 install pal.conf $RPM_BUILD_ROOT%{_sysconfdir}
57 install pal.1 $RPM_BUILD_ROOT%{_mandir}/man1
58
59 #%%find_lang %{name}
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 #%%files -f %{name}.lang
65 %files
66 %defattr(644,root,root,755)
67 %attr(755,root,root) %{_bindir}/*
68 %doc ChangeLog doc/*
69 %{_mandir}/man1/*
70 %{_datadir}/pal
71 %{_sysconfdir}/pal.conf
This page took 0.091449 seconds and 3 git commands to generate.