Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %define name aptitude
- %define release %mkrel 4
- %define version 0.4.4
- Summary: Curses-based apt frontend
- Name: %{name}
- Version: %{version}
- Release: %{release}
- License: GPL
- Url: http://packages.qa.debian.org/a/aptitude.html
- Group: System/Configuration/Packaging
- Source: http://http.us.debian.org/debian/pool/main/a/%{name}/%{name}-%{version}.tar.bz2
- # apt-rpm patch from ALT linux source rpm
- # removal of generated files and a change not needed for pclinuxos were taken out
- Patch0: aptitude-0.4.4-alt1.patch
- Patch1: aptitude-0.4.4-xsl-stylesheets.patch
- BuildRequires: libncursesw-devel libapt-pkg-devel libsigc++2.0-devel gettext-devel
- BuildRequires: docbook-dtd42-xml docbook-style-xsl html2text
- BuildRequires: libxslt-proc libcppunit-devel po4a
- Buildroot: %{_tmppath}/%{name}-root
- Requires: libapt-pkg0
- %description
- Aptitude is a curses-based apt frontend with a number of useful extended
- features, including: a mutt-like syntax for matching packages in a flexible
- manner, persistence of user actions, and extreme flexibility and customization.
- %prep
- %setup -q -n %{name}-%{version}
- %patch0 -p1 -b .apt-rpm-altlinux
- %patch1 -p1 -b .sgml
- %build
- # remove some generated files as in original altlinux patch but keep mkinstalldirs
- rm -f INSTALL Makefile.in aclocal.m4 config.guess config.h.in config.sub \
- configure depcomp install-sh missing po/stamp-po \
- src/Makefile.in src/cmdline/Makefile.in src/generic/Makefile.in \
- src/generic/apt/Makefile.in src/generic/problemresolver/Makefile.in \
- src/generic/util/Makefile.in src/mine/Makefile.in src/vscreen/Makefile.in \
- src/vscreen/config/Makefile.in tests/Makefile.in
- libtoolize --copy --force
- aclocal -I m4
- autoheader
- automake -a -c
- autoconf
- CPPFLAGS=-DRPM_VERSION=0x040406
- export CPPFLAGS
- %configure2_5x --disable-werror
- %make
- make check
- %install
- rm -rf $RPM_BUILD_ROOT
- %makeinstall STATEDIR=$RPM_BUILD_ROOT%{_localstatedir}/aptitude
- %find_lang %name
- %clean
- rm -rf $RPM_BUILD_ROOT
- %files -f %name.lang
- %defattr(-, root, root)
- %dir %{_datadir}/aptitude
- %{_datadir}/aptitude/*
- %{_bindir}/aptitude
- %{_docdir}/aptitude
- %{_mandir}/man8/aptitude.8.*
- %{_mandir}/*/man8/aptitude.8.*
- %dir %{_localstatedir}/aptitude
- %changelog
- * Mon Oct 20 2008 Torbjorn Turpeinen (Thac) <tobbe@djura.org> 0.4.4-4
- - Rebuild against apt-0.5.15lorg3.94pt
- * Fri Aug 31 2007 Texstar <texstar@gmail.com> 0.4.4-3pclos2007
- - rebuild against updated backdated apt
- * Thu Aug 02 2007 Texstar <texstar@gmail.com> 0.4.4-2pclos2007
- - rebuild against updated apt
- * Mon Jun 04 2007 Torbjorn Turpeinen <tobbe@nyvall.se> 0.4.4-1
- - Initial build for pclos2007
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement