]> git.pld-linux.org Git - packages/aptitude.git/blob - aptitude.spec
b1c3fc5ac84b920f985a335bf245c7cc4da04038
[packages/aptitude.git] / aptitude.spec
1 Summary:        Curses-based apt frontend
2 Summary(pt_BR): Interface curses para o apt
3 Summary(pl):    Frontend dla apta oparty na bibliotece ncurses
4 Name:           aptitude
5 Version:        0.0.8.6
6 Release:        2cl
7 URL:            http://www.debian.org/Packages/unstable/admin/aptitude.html
8 Source0:        http://ftp.debian.org/debian/pool/main/a/aptitude/%{name}_%{version}.orig.tar.gz
9 Patch0:         %{name}-patch
10 Patch1:         %{name}-rpm4.patch
11 Patch2:         %{name}-am_fix.patch
12 License:        GPL
13 Group:          Applications/Archiving
14 Group(de):      Applikationen/Archivierung
15 Group(pl):      Aplikacje/Archiwizacja
16 BuildRequires:  gzip
17 BuildRequires:  apt-devel >= 0.3.19cnc36
18 BuildRequires:  ncurses-devel
19 BuildRequires:  libstdc++-devel
20 BuildRequires:  gettext-devel
21 BuildRequires:  automake
22 BuildRequires:  autoconf
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description 
26 Aptitude is a curses-based apt frontend with a number of useful
27 extended features, including a mutt-like syntax for matching packages
28 in a flexible and extreme flexibility and customization.
29
30 Despite the version number, aptitude is quite usable; it does almost
31 everything that dselect and console-apt do, and has its own extra
32 features as well.
33
34 %description -l pl
35 Aptitute jest graficzn±, bazuj±c± na ncurses nak³adk± na narzêdzie apt
36 z wieloma ró¿nimi, u¿ytecznymi opcjami.
37
38 %description -l pt_BR
39 O Aptitude é uma interface curses para o apt com um número de
40 características úteis e avançadas, incluindo: uma sintaxe semelhante à
41 do mutt para casamento de padrões em pacotes, de uma forma flexível e
42 personalizável.
43
44 %prep
45 %setup -q -n %{name}-%{version}
46 %patch0 -p1
47 %patch1 -p1
48 %patch2 -p1
49
50 %build
51 rm -f missing
52 gettextize --copy --force
53 aclocal
54 autoconf
55 autoheader
56 automake -a -c
57 %configure
58 %{__make}
59
60 gzip -9nf AUTHORS INSTALL NEWS COPYING README TODO %{name}-hackers-guide.txt
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64 rm -rf %{buildroot}
65 install -d %{buildroot}%{_localstatedir}/lib/%{name}/
66 install -D -m755 src/%{name} %{buildroot}/%{_bindir}/%{name}
67 install -D help.txt %{buildroot}%{_datadir}/%{name}/help.txt
68 install -D %{name}.1 %{buildroot}/%{_mandir}/man1/%{name}.1
69 (cd po;make install prefix=%{buildroot}/%{_prefix})
70 %find_lang %{name}
71
72 %clean
73 rm -rf %{buildroot}
74
75 %files
76 %defattr(644,root,root,755)
77 %attr(755,root,root) %{_bindir}/%{name}
78 %{_mandir}/man1/%{name}.1*
79 %{_datadir}/%{name}/help.txt
80 %{_localstatedir}/lib/%{name}
81 %doc AUTHORS.gz INSTALL.gz NEWS.gz COPYING.gz
82 %doc README.gz TODO.gz %{name}-hackers-guide.txt.gz
This page took 0.095361 seconds and 3 git commands to generate.