]>
Commit | Line | Data |
---|---|---|
86ba221e JB |
1 | # TODO: |
2 | # - proper functions_{groups,pkgs} | |
3 | # - strange groups browsing(?) | |
4 | # - browser doesn't show 1st line of descriptions | |
cc1e24f2 | 5 | Summary: Curses-based apt frontend |
47a1ceaa | 6 | Summary(pl.UTF-8): Frontend dla apta oparty na bibliotece ncurses |
8e2486ec | 7 | Summary(pt_BR.UTF-8): Interface curses para o apt |
4b3a29e6 | 8 | Name: aptitude |
86ba221e JB |
9 | Version: 0.2.11.1 |
10 | Release: 0.1 | |
71c3379b JB |
11 | License: GPL |
12 | Group: Applications/Archiving | |
4b3a29e6 | 13 | Source0: http://ftp.debian.org/debian/pool/main/a/aptitude/%{name}_%{version}.orig.tar.gz |
5d38ae91 | 14 | # Source0-md5: c9a1af703b6d0e6e68e5ce8ae8b87b54 |
86ba221e JB |
15 | Patch0: %{name}-gcc3.patch |
16 | Patch1: %{name}-rpm.patch | |
17 | Patch2: %{name}-acfix.patch | |
18 | Patch3: %{name}-po-fix.patch | |
19 | URL: http://www.debian.org/Packages/unstable/admin/aptitude.html | |
20 | BuildRequires: apt-devel >= 0.5.4cnc7 | |
4b3a29e6 | 21 | BuildRequires: autoconf |
71c3379b | 22 | BuildRequires: automake |
37ea4d60 | 23 | BuildRequires: gettext-tools |
86ba221e | 24 | BuildRequires: libsigc++1-devel |
71c3379b JB |
25 | BuildRequires: libstdc++-devel |
26 | BuildRequires: ncurses-devel | |
4b3a29e6 AM |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
28 | ||
c88630c9 | 29 | %description |
4b3a29e6 AM |
30 | Aptitude is a curses-based apt frontend with a number of useful |
31 | extended features, including a mutt-like syntax for matching packages | |
32 | in a flexible and extreme flexibility and customization. | |
33 | ||
34 | Despite the version number, aptitude is quite usable; it does almost | |
35 | everything that dselect and console-apt do, and has its own extra | |
36 | features as well. | |
37 | ||
84bf9800 JR |
38 | %description -l pl.UTF-8 |
39 | Aptitute jest graficzną, bazującą na ncurses nakładką na narzędzie apt | |
40 | z wieloma różnymi, użytecznymi opcjami. | |
4b3a29e6 | 41 | |
84bf9800 JR |
42 | %description -l pt_BR.UTF-8 |
43 | O Aptitude é uma interface curses para o apt com um número de | |
44 | características úteis e avançadas, incluindo: uma sintaxe semelhante à | |
45 | do mutt para casamento de padrões em pacotes, de uma forma flexível e | |
46 | personalizável. | |
4b3a29e6 | 47 | |
4b3a29e6 | 48 | %prep |
86ba221e | 49 | %setup -q |
f0f5b5c7 | 50 | %patch0 -p1 |
51 | %patch1 -p1 | |
dfb83eea | 52 | %patch2 -p1 |
86ba221e | 53 | %patch3 -p1 |
4b3a29e6 AM |
54 | |
55 | %build | |
cc1e24f2 | 56 | rm -f missing |
80e0cf4f | 57 | %{__gettextize} |
409221e2 | 58 | %{__aclocal} |
6c3dce45 | 59 | %{__autoconf} |
409221e2 | 60 | %{__autoheader} |
6c3dce45 | 61 | %{__automake} |
86ba221e | 62 | CPPFLAGS="-Wno-deprecated -I/usr/include/ncurses" |
4b3a29e6 | 63 | %configure |
86ba221e | 64 | |
4b3a29e6 AM |
65 | %{__make} |
66 | ||
4b3a29e6 AM |
67 | %install |
68 | rm -rf $RPM_BUILD_ROOT | |
86ba221e | 69 | install -d $RPM_BUILD_ROOT%{_localstatedir}/lib |
71c3379b | 70 | |
f7cee130 PG |
71 | %{__make} install \ |
72 | DESTDIR=$RPM_BUILD_ROOT | |
73 | ||
71c3379b | 74 | install -D %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1 |
86ba221e JB |
75 | install -D %{name}.fi.1 $RPM_BUILD_ROOT%{_mandir}/fi/man1/%{name}.1 |
76 | install -D %{name}.fr.1 $RPM_BUILD_ROOT%{_mandir}/fr/man1/%{name}.1 | |
77 | install -D %{name}.gl.1 $RPM_BUILD_ROOT%{_mandir}/gl/man1/%{name}.1 | |
78 | install -D %{name}.pl.1 $RPM_BUILD_ROOT%{_mandir}/pl/man1/%{name}.1 | |
79 | ||
4b3a29e6 AM |
80 | %find_lang %{name} |
81 | ||
82 | %clean | |
71c3379b | 83 | rm -rf $RPM_BUILD_ROOT |
4b3a29e6 | 84 | |
86ba221e | 85 | %files -f %{name}.lang |
4b3a29e6 | 86 | %defattr(644,root,root,755) |
86ba221e | 87 | %doc AUTHORS NEWS README TODO |
4b3a29e6 | 88 | %attr(755,root,root) %{_bindir}/%{name} |
86ba221e JB |
89 | %dir %{_datadir}/%{name} |
90 | %{_datadir}/%{name}/[!hm]* | |
4b3a29e6 | 91 | %{_datadir}/%{name}/help.txt |
86ba221e JB |
92 | %lang(fi) %{_datadir}/%{name}/help-fi.txt |
93 | %lang(fr) %{_datadir}/%{name}/help-fr.txt | |
94 | %lang(gl) %{_datadir}/%{name}/help-gl.txt | |
95 | %lang(pl) %{_datadir}/%{name}/help-pl.txt | |
96 | %{_datadir}/%{name}/mine-help.txt | |
97 | %lang(fi) %{_datadir}/%{name}/mine-help-fi.txt | |
4b3a29e6 | 98 | %{_localstatedir}/lib/%{name} |
86ba221e JB |
99 | %{_mandir}/man1/%{name}.1* |
100 | %lang(fi) %{_mandir}/fi/man1/%{name}.1* | |
101 | %lang(fr) %{_mandir}/fr/man1/%{name}.1* | |
102 | %lang(gl) %{_mandir}/gl/man1/%{name}.1* | |
103 | %lang(pl) %{_mandir}/pl/man1/%{name}.1* |