]> git.pld-linux.org Git - packages/abook.git/blob - abook.spec
- rebuild ac/am explicitly instead of rebuilding and re-running configure at make...
[packages/abook.git] / abook.spec
1 %define         subver  pre2
2 #
3 Summary:        Text-based addressbook program for mutt
4 Summary(pl.UTF-8):      Tekstowa książka adresowa dla klienta pocztowego mutt
5 Name:           abook
6 Version:        0.6.0
7 Release:        0.%{subver}.2
8 License:        GPL v2+
9 Group:          Applications/Mail
10 Source0:        http://abook.sourceforge.net/devel/%{name}-%{version}%{subver}.tar.gz
11 # Source0-md5:  1e4a7210b3507db7b3d47ee7a2457934
12 Patch0:         %{name}-tinfo_link.patch
13 Patch1:         %{name}-vcard_import.patch
14 Patch2:         %{name}-ea5caf0.patch
15 Patch3:         %{name}-am.patch
16 URL:            http://abook.sourceforge.net/
17 BuildRequires:  autoconf >= 2.50
18 BuildRequires:  automake
19 BuildRequires:  gettext-devel >= 0.18.1
20 BuildRequires:  ncurses-devel >= 5.0
21 BuildRequires:  readline-devel
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Abook is a text-based addressbook program designed to use with mutt
26 mail client.
27
28 %description -l pl.UTF-8
29 Abook to pracująca w trybie tekstowym książka adresowa zaprojektowana
30 do użycia z programem pocztowym mutt.
31
32 %prep
33 %setup -q -n %{name}-%{version}%{subver}
34 %patch0 -p0
35 %patch1 -p1
36 %patch2 -p1
37 %patch3 -p1
38
39 %build
40 %{__gettextize}
41 %{__aclocal} -I m4
42 %{__autoconf}
43 %{__autoheader}
44 %{__automake}
45 %configure
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %find_lang %{name}
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files -f %{name}.lang
60 %defattr(644,root,root,755)
61 %doc AUTHORS BUGS ChangeLog README THANKS TODO sample.abookrc RELEASE_NOTES
62 %attr(755,root,root) %{_bindir}/abook
63 %{_mandir}/man1/abook.1*
64 %{_mandir}/man5/abookrc.5*
This page took 0.337724 seconds and 4 git commands to generate.