Name: apt Version: 0.5.15lorg3.94a Epoch: 1 Release: 4mamba Summary: A port of Debian's APT tools to a RPM based distribution Group: System/Management Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://apt-rpm.org/ Source0: http://apt-rpm.org/releases/apt-%{version}.tar.bz2 Source1: apt-conf Source2: apt-sources.list Source3: apt-configure-index Source4: apt-rpmpriorities Patch0: %{name}-0.5.15lorg3.2-comps.patch Patch1: %{name}-0.5.15cnc6-list-nodeps-help.patch Patch4: %{name}-0.5.15cnc6-sgml-docbook.patch Patch5: %{name}-0.5.15lorg3.2-hal_support.patch Patch6: %{name}-0.5.15lorg3.2-rpm_4.4.6.patch Patch7: %{name}-0.5.15lorg3.2-rpm_4.4.7.patch Patch8: %{name}-0.5.15lorg3.93-rpmsense.patch Patch9: %{name}-0.5.15lorg3.2-gcc43.patch Patch10: %{name}-0.5.15lorg3.94a-have_callback.patch Patch11: %{name}-0.5.15lorg3.94a-gcc-4.3.patch Patch12: %{name}-0.5.15lorg3.94a-rpm-5.patch Patch13: %{name}-0.5.15lorg3.94a-gcc45.patch Patch14: %{name}-0.5.15lorg3.94a-lua.patch Patch15: apt-0.5.15lorg3.94a-gcc47.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libbeecrypt-devel BuildRequires: libbzip2-devel BuildRequires: libe2fs-devel BuildRequires: libelf-devel BuildRequires: libexpat-devel BuildRequires: libgcc BuildRequires: libkrb5-devel BuildRequires: liblzma-devel BuildRequires: libncurses-devel BuildRequires: libneon-devel BuildRequires: libopenssl-devel BuildRequires: libpopt-devel BuildRequires: libproxy-devel BuildRequires: libreadline-devel BuildRequires: libsqlite-devel BuildRequires: libstdc++6-devel BuildRequires: libxml2-devel BuildRequires: libz-devel BuildRequires: rpm-devel ## AUTOBUILDREQ-END BuildRequires: pkgconfig >= 0.9.0 BuildRequires: docbook2X BuildRequires: gnupg BuildRequires: gettext-devel BuildRequires: docbook2man-sgmlspl >= 1.0 BuildRequires: OpenSP >= 1.5.1-3 BuildRequires: docbook-dtds BuildRequires: docbook-xsl BuildRequires: sgml-common BuildRequires: dbus-devel >= 0.50 #Requires: python-rhpl >= 0.153 Requires: lua Requires: libapt-pkg = %{epoch}:%{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-root %description APT-RPM is a port of Debian's APT tools to a RPM based distribution (Conectiva, Red Hat, SuSE, ALT-Linux, etc). APT is an advanced package management utility front-end which allows you to easily perform package installation, upgrading and removal. Dependencies are automatically handled, so if you try to install a package that needs others to be installed, it will download all needed packages and install them. %package -n libapt-pkg Group: System/Libraries Summary: Shared libraries for %{name} %description -n libapt-pkg This package contains shared libraries for %{name}. %package -n libapt-pkg-devel Summary: Devel package for %{name} Group: Development/Libraries Provides: apt-devel Obsoletes: apt-devel Requires: libapt-pkg = %{epoch}:%{version}-%{release} Requires: %{name} = %{epoch}:%{version}-%{release} %description -n libapt-pkg-devel APT-RPM is a port of Debian's APT tools to a RPM based distribution (Conectiva, Red Hat, SuSE, ALT-Linux, etc). APT is an advanced package management utility front-end which allows you to easily perform package installation, upgrading and removal. Dependencies are automatically handled, so if you try to install a package that needs others to be installed, it will download all needed packages and install them. This package contains static libraries and header files need for development. %package repository-tools Summary: %{name} repository tools genpkglist, gensrclist and genbasedir Group: System/Tools Requires: %{name} = %{epoch}:%{version}-%{release} %description repository-tools APT-RPM is a port of Debian's APT tools to a RPM based distribution (Conectiva, Red Hat, SuSE, ALT-Linux, etc). APT is an advanced package management utility front-end which allows you to easily perform package installation, upgrading and removal. Dependencies are automatically handled, so if you try to install a package that needs others to be installed, it will download all needed packages and install them. This package contains the repository tools genpkglist, gensrclist and genbasedir. %prep %setup -q -n %{name}-%{version} %patch0 -p1 -b .openmamba_comps %patch1 -p1 -b .list-nodeps-help #%patch4 -p1 -b .sgml-docbook #%patch5 -p1 -b .hal_support %patch6 -p1 -b .rpm_4.4.6 #%patch7 -p1 -b .rpm_4.4.7 %patch8 -p1 -b .rpmsense #%patch9 -p1 %patch10 -p1 %patch11 -p1 %patch12 -p1 %patch13 -p1 %patch14 -p1 %patch15 -p1 %build # patch#5 modify the configure.in file autoreconf -f libtoolize -f %configure \ --disable-selinux \ --disable-scripts %make -j1 CPPFLAGS="-I%{_includedir}/rpm -I%{_includedir}/libxml2" %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} %makeinstall %{find_lang} %{name} install -D -m 0644 %{S:1} \ %{buildroot}%{_sysconfdir}/apt/apt.conf install -D -m 0644 %{S:2} \ %{buildroot}%{_sysconfdir}/apt/sources.list install -D -m 0644 %{S:3} \ %{buildroot}%{_sysconfdir}/apt/configure-index install -D -m 0644 %{S:4} \ %{buildroot}%{_sysconfdir}/apt/rpmpriorities install -d %{buildroot}%{_sysconfdir}/apt/apt.conf.d install -d %{buildroot}%{_sysconfdir}/apt/sources.list.d install -d %{buildroot}%{_datadir}/apt/scripts install -d %{buildroot}/var/cache/apt/archives/partial install -d %{buildroot}/var/lib/apt/lists/partial install -d %{buildroot}/var/lib/apt/cdrom ## install groupinstall additional script #install -m 0644 contrib/apt-groupinstall/apt-groupinstall.conf \ # %{buildroot}%{_sysconfdir}/apt/apt.conf.d/ #install -m 0755 contrib/apt-groupinstall/apt-groupinstall.lua \ # %{buildroot}%{_datadir}/apt/scripts/ #install -m 0755 contrib/apt-groupinstall/groupinstall-backend-comps.py \ # %{buildroot}%{_datadir}/apt/scripts/ ## install list-nodeps additional script #install -m 0644 contrib/list-nodeps/list-nodeps.conf \ # %{buildroot}%{_sysconfdir}/apt/apt.conf.d/ #install -m 0755 contrib/list-nodeps/list-nodeps.lua \ # %{buildroot}%{_datadir}/apt/scripts/ ## install list-extras additional script #install -m 0644 contrib/list-extras/list-extras.conf \ # %{buildroot}%{_sysconfdir}/apt/apt.conf.d/ #install -m 0755 contrib/list-extras/list-extras.lua \ # %{buildroot}%{_datadir}/apt/scripts/ %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f %{name}.lang %defattr(-,root,root) %config %{_sysconfdir}/apt/apt.conf %config %{_sysconfdir}/apt/configure-index %config %{_sysconfdir}/apt/rpmpriorities %config %{_sysconfdir}/apt/sources.list %dir %{_sysconfdir}/apt/sources.list.d %dir %{_sysconfdir}/apt/apt.conf.d %config %{_sysconfdir}/apt/apt.conf.d/* %{_bindir}/apt-cache %{_bindir}/apt-cdrom %{_bindir}/apt-config %{_bindir}/apt-get %{_bindir}/apt-shell %{_bindir}/countpkglist %{_libdir}/apt/methods/* #%dir %{_datadir}/apt/scripts #%{_datadir}/apt/scripts/* %dir /var/lib/apt/lists/partial %dir /var/lib/apt/cdrom %dir /var/cache/apt/archives/partial %{_mandir}/man5/* %{_mandir}/man8/* %files -n libapt-pkg %defattr(-,root,root) %{_libdir}/libapt-pkg.so.* %doc AUTHORS COPYING %files -n libapt-pkg-devel %defattr(-,root,root) %dir %{_includedir}/apt-pkg %{_includedir}/apt-pkg/*.h %{_libdir}/*.a %{_libdir}/*.la %{_libdir}/*.so %{_libdir}/pkgconfig/libapt-pkg.pc %doc TODO %files repository-tools %defattr(-,root,root) %{_bindir}/gensrclist %{_bindir}/genpkglist %{_bindir}/genbasedir %changelog * Tue Mar 26 2013 Silvan Calarco 0.5.15lorg3.94a-4mamba - don't install old group-install script ti remove requirement for python-rhpl - move library to libapt-pkg subpackage; rename apt-devel to libapt-pkg-devel - disable lua scripts (not building and unused) * Thu Dec 30 2010 Silvan Calarco 0.5.15lorg3.94a-3mamba - move repository tools into a separate package to avoid a conflict with apt-repo-tools * Wed Dec 29 2010 Silvan Calarco 0.5.15lorg3.94a-2mamba - rebuilt with rpm 5.2.1 * Sat Jan 24 2009 Silvan Calarco 0.5.15lorg3.94a-1mamba - update to 0.5.15lorg3.94a * Tue Jan 13 2009 Silvan Calarco 0.5.15lorg3.2-8mamba - removed patches for lua scripts (moved to openmamba-release) * Sat May 31 2008 Silvan Calarco 0.5.15lorg3.2-7mamba - fixed apt scripts installation path (use /usr/share/apt instead of /usr/lib/apt) * Wed Feb 13 2008 Silvan Calarco 0.5.15lorg3.2-6mamba - disable RunTimeDeps management to make upgrades and installations faster * Sun Feb 03 2008 Silvan Calarco 0.5.15lorg3.2-5mamba - remove the hal support patch * Fri Dec 14 2007 Silvan Calarco 0.5.15lorg3.2-4mamba - added patch to support API changes in rpm 4.4.6 - added patch to support API changes in rpm 4.4.7 * Tue Jul 03 2007 Aleph0 0.5.15lorg3.2-3mamba - updated Acquire::DistroID in apt.conf * Wed Feb 21 2007 Silvan Calarco 0.5.15lorg3.2-2qilnx - removed QiLinux stable and unstable repositories - fix hal patch for dbus 1.0 * Wed Oct 18 2006 Davide Madrisan 0.5.15lorg3.2-1qilnx - update to version 0.5.15lorg3.2 by autospec - updated patches * Wed May 31 2006 Silvan Calarco 0.5.15cnc7-19qilnx - default sources.list file update for QiLinux 2.0 release * Tue May 16 2006 Silvan Calarco 0.5.15cnc7-18qilnx - hal patch: keep MountCdrom prototype compatibility with unpatched APIs * Fri May 04 2006 Silvan Calarco 0.5.15cnc7-17qilnx - install-virtual: add support for smppreemp and std kernels * Wed Apr 26 2006 Silvan Calarco 0.5.15cnc7-16qilnx - hal patch: support for -m option in apt-cdrom * Thu Apr 20 2006 Silvan Calarco 0.5.15cnc7-15qilnx - hal patch: fix a check when changing CD, unset CurrentID when CD is not mounted * Wed Apr 19 2006 Silvan Calarco 0.5.15cnc7-14qilnx - hal patch: fix a segmentation fault when looking for cdrom * Fri Apr 14 2006 Silvan Calarco 0.5.15cnc7-13qilnx - fix hal support: mount cdrom if not already mounted, major modifications * Thu Mar 23 2006 Davide Madrisan 0.5.15cnc7-12qilnx - updated install-extras script (patch by Silvan Calarco) * Tue Mar 21 2006 Silvan Calarco 0.5.15cnc7-11qilnx - remove qilinux-release from rpmpriorities * Tue Mar 07 2006 Silvan Calarco 0.5.15cnc7-10qilnx - install-extras.lua: fix install of additional lang files for new installed pkgs * Fri Mar 03 2006 Silvan Calarco 0.5.15cnc7-9qilnx - install-extras.lua: add kde localization by default if missing * Thu Feb 16 2006 Silvan Calarco 0.5.15cnc7-8qilnx - HAL: fix CDROM fetch function for install * Tue Feb 14 2006 Silvan Calarco 0.5.15cnc7-7qilnx - added patch for HAL support * Fri Feb 03 2006 Silvan Calarco 0.5.15cnc7-6qilnx - update sources list for QiLinux 2.0 * Mon Jan 09 2006 Davide Madrisan 0.5.15cnc7-5qilnx - rebuilt against librpm-4.4 * Mon Oct 17 2005 Davide Madrisan 0.5.15cnc7-4qilnx - added missing build requirements to build man pages * Sun Oct 09 2005 Silvan Calarco 0.5.15cnc7-3qilnx - add version check to install extras script * Mon Sep 19 2005 Silvan Calarco 0.5.15cnc7-2qilnx - fix rpmpriorities (modutils -> module-init-tools) - cross platform build support * Wed Jun 01 2005 Silvan Calarco 0.5.15cnc7-1qilnx - update to version 0.5.15cnc7 by autospec - removed Duplicated Warning * Fri May 13 2005 Silvan Calarco 0.5.15cnc6-16qilnx - rebuilt with man pages * Fri May 06 2005 Silvan Calarco 0.5.15cnc6-15qilnx - install-virtual script: fix code for standard kernel * Thu May 05 2005 Silvan Calarco 0.5.15cnc6-14qilnx - install-virtual script: removed wrong configuration line for synaptic * Thu May 05 2005 Silvan Calarco 0.5.15cnc6-13qilnx - fixed some /etc/apt/sources.list entry for 1.2 stable release * Mon May 02 2005 Silvan Calarco 0.5.15-12qilnx - move unstable sources entries to sources.list.d/unstable.list * Sat Apr 30 2005 Silvan Calarco 0.5.15-11qilnx - install-virtual update: select any kernel virtual package, not only sources * Fri Apr 29 2005 Silvan Calarco 0.5.15-10qilnx - add install-virtual lua script * Wed Apr 27 2005 Silvan Calarco 0.5.15-9qilnx - comment 1.1 base and updates repository from default source.list file * Wed Mar 10 2005 Silvan Calarco 0.5.15-8qilnx - added install-extras script for internalization and help automatic install * Sun Feb 27 2005 Silvan Calarco 0.5.15-7qilnx - sources.list: disable SRPMs list by default - add list-nodeps and list-extras scripts * Thu Feb 24 2005 Silvan Calarco 0.5.15-6qilnx - fixes for default sources.list * Wed Feb 23 2005 Silvan Calarco 0.5.15-5qilnx - added support for package groups * Wed Feb 23 2005 Silvan Calarco 0.5.15-5qilnx - added support for package groups * Wed Feb 23 2005 Silvan Calarco 0.5.15-4qilnx - added a more complete sources.list default file * Fri Jan 21 2005 Silvan Calarco 0.5.15-3qilnx - modified sources list for QiLinux apt repository * Wed Jan 19 2005 Silvan Calarco 0.5.15-2qilnx - added cache and lib directories - added initial configuration files * Tue Oct 19 2004 Silvan Calarco 0.5.15-1qilnx - package created by autospec