2 # - handle with i18n files
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
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)
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
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.
30 - LaTeX - wymagany do tworzenia kalendarzy ps/pdf/dvi.
31 - at, cron, jakiś MTA - wymagane do wysyłania przypominajek
39 sed 's/VERSION/%{version}/' pal.1.template > pal.1
45 # f=`echo $file|cut -f1 -d.`
46 # mkdir -p "$f/LC_MESSAGES"
47 # msgfmt $file -o "$f/LC_MESSAGES/%{name}.po"
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir},%{_datadir}/%{name},%{_mandir}/man1}
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
62 rm -rf $RPM_BUILD_ROOT
64 #%%files -f %{name}.lang
66 %defattr(644,root,root,755)
67 %attr(755,root,root) %{_bindir}/*
71 %{_sysconfdir}/pal.conf