]> git.pld-linux.org Git - packages/pal.git/blame - pal.spec
- converted to UTF-8
[packages/pal.git] / pal.spec
CommitLineData
1ccdae11 1# TODO:
2# - handle with i18n files
3#
05956a32 4Summary: A command line calendar that displays holidays and user-defined events
fd0aa9db 5Summary(pl.UTF-8): Działający z linii poleceń kalendarz wyświetlający święta i inne zdarzenia
1ccdae11 6Name: pal
7Version: 0.3.4
8Release: 0.1
9License: GPL v2
10Group: Applications/Text
05956a32 11Source0: http://dl.sourceforge.net/palcal/%{name}-%{version}.tgz
1ccdae11 12# Source0-md5: 86911792eace630a1c2e93846c27290c
13Patch0: %{name}-home_etc.patch
05956a32 14URL: http://palcal.sourceforge.net/
1ccdae11 15BuildRequires: gettext-devel
16BuildRequires: glib2-devel >= 2.2
17BuildRequires: readline-devel
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21pal is a command line calendar that displays holidays and user-defined
22events that are specified in text files. Recomended:
05956a32
JB
23 - LaTeX - required for creating ps/pdf/dvi calendars.
24 - at, cron, some MTA - required for event reminders via email
1ccdae11 25
fd0aa9db
JR
26%description -l pl.UTF-8
27pal to działający z linii poleceń kalendarz wyświetlający święta i
28zdarzenia zdefiniowane przez użytkownika podane w plikach tekstowych.
05956a32
JB
29Zalecane:
30 - LaTeX - wymagany do tworzenia kalendarzy ps/pdf/dvi.
fd0aa9db
JR
31 - at, cron, jakiś MTA - wymagane do wysyłania przypominajek
32 pocztą elektroniczną.
1ccdae11 33
34%prep
35%setup -q
36%patch0 -p1
37
38%build
39sed 's/VERSION/%{version}/' pal.1.template > pal.1
05956a32 40%{__make} -C src
1ccdae11 41
05956a32
JB
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
1ccdae11 49
50%install
51rm -rf $RPM_BUILD_ROOT
52install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir},%{_datadir}/%{name},%{_mandir}/man1}
53
54install src/pal $RPM_BUILD_ROOT%{_bindir}
55install share/* $RPM_BUILD_ROOT%{_datadir}/%{name}
56install pal.conf $RPM_BUILD_ROOT%{_sysconfdir}
57install pal.1 $RPM_BUILD_ROOT%{_mandir}/man1
58
59#%%find_lang %{name}
60
61%clean
62rm -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.249577 seconds and 4 git commands to generate.