]>
Commit | Line | Data |
---|---|---|
1 | Summary: Text-based addressbook program for mutt | |
2 | Summary(pl.UTF-8): Tekstowa książka adresowa dla klienta pocztowego mutt | |
3 | Name: abook | |
4 | Version: 0.6.1 | |
5 | Release: 3 | |
6 | License: GPL v2+ | |
7 | Group: Applications/Mail | |
8 | Source0: http://abook.sourceforge.net/devel/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 4bffd4c47ac41b688abd58f65bfe0bfb | |
10 | Patch0: %{name}-tinfo_link.patch | |
11 | Patch1: %{name}-inline.patch | |
12 | URL: http://abook.sourceforge.net/ | |
13 | BuildRequires: autoconf >= 2.50 | |
14 | BuildRequires: automake | |
15 | BuildRequires: gettext-tools >= 0.18.1 | |
16 | BuildRequires: ncurses-devel >= 5.0 | |
17 | BuildRequires: readline-devel | |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
21 | Abook is a text-based addressbook program designed to use with mutt | |
22 | mail client. | |
23 | ||
24 | %description -l pl.UTF-8 | |
25 | Abook to pracująca w trybie tekstowym książka adresowa zaprojektowana | |
26 | do użycia z programem pocztowym mutt. | |
27 | ||
28 | %prep | |
29 | %setup -q | |
30 | %patch0 -p0 | |
31 | %patch1 -p1 | |
32 | ||
33 | %build | |
34 | %{__gettextize} | |
35 | %{__aclocal} -I m4 | |
36 | %{__autoconf} | |
37 | %{__autoheader} | |
38 | %{__automake} | |
39 | %configure | |
40 | %{__make} | |
41 | ||
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %{__make} install \ | |
46 | DESTDIR=$RPM_BUILD_ROOT | |
47 | ||
48 | %find_lang %{name} | |
49 | ||
50 | %clean | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %files -f %{name}.lang | |
54 | %defattr(644,root,root,755) | |
55 | %doc AUTHORS BUGS ChangeLog README THANKS TODO sample.abookrc RELEASE_NOTES | |
56 | %attr(755,root,root) %{_bindir}/abook | |
57 | %{_mandir}/man1/abook.1* | |
58 | %{_mandir}/man5/abookrc.5* |