Advertisement
Guest User

aptitude-pclos

a guest
Jul 22nd, 2014
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. %define name    aptitude
  2. %define release %mkrel 4
  3. %define version 0.4.4
  4.  
  5. Summary:    Curses-based apt frontend
  6. Name:       %{name}
  7. Version:    %{version}
  8. Release:    %{release}
  9. License:    GPL
  10. Url:        http://packages.qa.debian.org/a/aptitude.html
  11. Group:      System/Configuration/Packaging
  12. Source: http://http.us.debian.org/debian/pool/main/a/%{name}/%{name}-%{version}.tar.bz2
  13. # apt-rpm patch from ALT linux source rpm
  14. # removal of generated files and a change not needed for pclinuxos were taken out
  15. Patch0: aptitude-0.4.4-alt1.patch
  16. Patch1: aptitude-0.4.4-xsl-stylesheets.patch
  17. BuildRequires:  libncursesw-devel libapt-pkg-devel libsigc++2.0-devel gettext-devel
  18. BuildRequires:  docbook-dtd42-xml docbook-style-xsl html2text
  19. BuildRequires:  libxslt-proc libcppunit-devel po4a
  20. Buildroot:  %{_tmppath}/%{name}-root
  21. Requires:   libapt-pkg0
  22.  
  23. %description
  24. Aptitude is a curses-based apt frontend with a number of useful extended
  25. features, including: a mutt-like syntax for matching packages in a flexible
  26. manner, persistence of user actions, and extreme flexibility and customization.
  27.  
  28. %prep
  29. %setup -q -n %{name}-%{version}
  30. %patch0 -p1 -b .apt-rpm-altlinux
  31. %patch1 -p1 -b .sgml
  32.  
  33. %build
  34. # remove some generated files as in original altlinux patch but keep mkinstalldirs
  35. rm -f INSTALL Makefile.in aclocal.m4 config.guess config.h.in config.sub \
  36.   configure depcomp install-sh missing po/stamp-po \
  37.   src/Makefile.in src/cmdline/Makefile.in src/generic/Makefile.in \
  38.   src/generic/apt/Makefile.in src/generic/problemresolver/Makefile.in \
  39.   src/generic/util/Makefile.in src/mine/Makefile.in src/vscreen/Makefile.in \
  40.   src/vscreen/config/Makefile.in tests/Makefile.in
  41. libtoolize --copy --force
  42. aclocal -I m4
  43. autoheader
  44. automake -a -c
  45. autoconf
  46. CPPFLAGS=-DRPM_VERSION=0x040406
  47. export CPPFLAGS
  48. %configure2_5x --disable-werror
  49. %make
  50.  
  51. make check
  52.  
  53. %install
  54. rm -rf $RPM_BUILD_ROOT
  55. %makeinstall STATEDIR=$RPM_BUILD_ROOT%{_localstatedir}/aptitude
  56. %find_lang %name
  57.  
  58. %clean
  59. rm -rf $RPM_BUILD_ROOT
  60.  
  61. %files -f %name.lang
  62. %defattr(-, root, root)
  63. %dir %{_datadir}/aptitude
  64. %{_datadir}/aptitude/*
  65. %{_bindir}/aptitude
  66. %{_docdir}/aptitude
  67. %{_mandir}/man8/aptitude.8.*
  68. %{_mandir}/*/man8/aptitude.8.*
  69. %dir %{_localstatedir}/aptitude
  70.  
  71.  
  72. %changelog
  73. * Mon Oct 20 2008 Torbjorn Turpeinen (Thac) <tobbe@djura.org> 0.4.4-4
  74. - Rebuild against apt-0.5.15lorg3.94pt
  75.  
  76. * Fri Aug 31 2007 Texstar <texstar@gmail.com> 0.4.4-3pclos2007
  77. - rebuild against updated backdated apt
  78.  
  79. * Thu Aug 02 2007 Texstar <texstar@gmail.com> 0.4.4-2pclos2007
  80. - rebuild against updated apt
  81.  
  82. * Mon Jun 04 2007 Torbjorn Turpeinen <tobbe@nyvall.se> 0.4.4-1
  83. - Initial build for pclos2007
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement