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