]> git.pld-linux.org Git - packages/aptitude.git/blob - aptitude.spec
- added some patches
[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 License:        GPL
12 Group:          Applications/Archiving
13 Group(de):      Applikationen/Archivierung
14 Group(pl):      Aplikacje/Archiwizacja
15 BuildRequires:  gzip
16 BuildRequires:  apt-devel >= 0.3.19cnc36
17 BuildRequires:  ncurses-devel
18 BuildRequires:  libstdc++-devel
19 BuildRequires:  gettext-devel
20 BuildRequires:  automake
21 BuildRequires:  autoconf
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description 
25 Aptitude is a curses-based apt frontend with a number of useful
26 extended features, including a mutt-like syntax for matching packages
27 in a flexible and extreme flexibility and customization.
28
29 Despite the version number, aptitude is quite usable; it does almost
30 everything that dselect and console-apt do, and has its own extra
31 features as well.
32
33 %description -l pl
34 Aptitute jest graficzn±, bazuj±c± na ncurses nak³adk± na narzêdzie apt
35 z wieloma ró¿nimi, u¿ytecznymi opcjami.
36
37 %description -l pt_BR
38 O Aptitude é uma interface curses para o apt com um número de
39 características úteis e avançadas, incluindo: uma sintaxe semelhante à
40 do mutt para casamento de padrões em pacotes, de uma forma flexível e
41 personalizável.
42
43 %prep
44 %setup -q -n %{name}-%{version}
45 %patch0 -p1
46 %patch1 -p1
47
48 %build
49 rm -f missing
50 gettextize --copy --force
51 aclocal
52 autoconf
53 autoheader
54 automake -a -c
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.063713 seconds and 3 git commands to generate.