ALT Linux repos
Group :: System/Configuration/Packaging
RPM: aptitude
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
# vim: set ft=spec: -*- rpm-spec -*-
Name: aptitude
Version: 0.4.5
Release: alt3
Summary: Terminal-based apt frontend
Group: System/Configuration/Packaging
License: GPL
Url: http://people.debian.org/~dburrows/aptitude
Packager: Sir Raorn <raorn at altlinux.ru>
# git://git.altlinux.org/people/raorn/packages/%name.git
Source: %name-%version.tar
Patch: %name-%version-%release.patch
Requires: %{get_dep libapt}
BuildRequires(pre): libapt-devel >= 0.5.15cnc5-alt1
# Automatically added by buildreq on Sat Oct 07 2006
BuildRequires: cppunit-devel docbook-dtds docbook-style-xsl gcc-c++ html2text libapt-devel libncursesw-devel libsigc++2.0-devel xsltproc
%description
aptitude is a terminal-based apt frontend. This is a heavily
emasculated version of Debian software, besause some features
can't be ported to apt-rpm.
%package doc
Summary: English manual for aptitude, a terminal-based apt frontend
Group: Books/Computer books
Conflicts: %name < %version-%release
Conflicts: %name > %version-%release
%description doc
aptitude is a terminal-based apt frontend. This package contains
the English version of the aptitude user's manual in HTML format.
%prep
%setup -q
%patch -p1
%build
# gettext uses mkinstalldirs...
touch mkinstalldirs
# STFU, automake!
touch ChangeLog
%autoreconf
%configure \
--disable-werror \
--disable-docs
%make_build
%make_build -C doc/en
%install
mkdir -p %buildroot%_localstatedir/%name
%make_install DESTDIR=%buildroot install
rm -rf %buildroot%_mandir
%make_install DESTDIR=%buildroot -C doc/en install-man
%find_lang %name
%files -f %name.lang
%doc AUTHORS FAQ NEWS README* TODO %name-hackers-guide.txt
%_bindir/*
%_datadir/%name
%_man8dir/%name.8*
%_localstatedir/*
%files doc
%doc doc/en/output-html/*
%changelog
…
Full changelog you can see here
Name: aptitude
Version: 0.4.5
Release: alt3
Summary: Terminal-based apt frontend
Group: System/Configuration/Packaging
License: GPL
Url: http://people.debian.org/~dburrows/aptitude
Packager: Sir Raorn <raorn at altlinux.ru>
# git://git.altlinux.org/people/raorn/packages/%name.git
Source: %name-%version.tar
Patch: %name-%version-%release.patch
Requires: %{get_dep libapt}
BuildRequires(pre): libapt-devel >= 0.5.15cnc5-alt1
# Automatically added by buildreq on Sat Oct 07 2006
BuildRequires: cppunit-devel docbook-dtds docbook-style-xsl gcc-c++ html2text libapt-devel libncursesw-devel libsigc++2.0-devel xsltproc
%description
aptitude is a terminal-based apt frontend. This is a heavily
emasculated version of Debian software, besause some features
can't be ported to apt-rpm.
%package doc
Summary: English manual for aptitude, a terminal-based apt frontend
Group: Books/Computer books
Conflicts: %name < %version-%release
Conflicts: %name > %version-%release
%description doc
aptitude is a terminal-based apt frontend. This package contains
the English version of the aptitude user's manual in HTML format.
%prep
%setup -q
%patch -p1
%build
# gettext uses mkinstalldirs...
touch mkinstalldirs
# STFU, automake!
touch ChangeLog
%autoreconf
%configure \
--disable-werror \
--disable-docs
%make_build
%make_build -C doc/en
%install
mkdir -p %buildroot%_localstatedir/%name
%make_install DESTDIR=%buildroot install
rm -rf %buildroot%_mandir
%make_install DESTDIR=%buildroot -C doc/en install-man
%find_lang %name
%files -f %name.lang
%doc AUTHORS FAQ NEWS README* TODO %name-hackers-guide.txt
%_bindir/*
%_datadir/%name
%_man8dir/%name.8*
%_localstatedir/*
%files doc
%doc doc/en/output-html/*
%changelog
…
Full changelog you can see here