package created using the webbuild interface [release 1.18.4-1mamba;Fri Mar 18 2016]

This commit is contained in:
Silvan Calarco 2024-01-05 21:56:07 +01:00
parent 50baa8e655
commit b34f73a619
3 changed files with 180 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# dpkg
Debian's package maintenance system.

View File

@ -0,0 +1,25 @@
--- dpkg-1.18.4/scripts/dpkg-scansources.pl.orig 2016-03-18 18:32:53.873596468 +0100
+++ dpkg-1.18.4/scripts/dpkg-scansources.pl 2016-03-18 18:33:11.801581679 +0100
@@ -85,9 +85,9 @@
Options:
-n, --no-sort don't sort by package before outputting.
-e, --extra-override <file>
- use extra override file.
+"" use extra override file.
-s, --source-override <file>
- use file for additional source overrides, default
+"" use file for additional source overrides, default
is regular override file with .src appended.
--debug turn debugging on.
-?, --help show this help message.
--- dpkg-1.18.4/scripts/dpkg-scanpackages.pl.orig 2016-03-18 18:38:53.982309042 +0100
+++ dpkg-1.18.4/scripts/dpkg-scanpackages.pl 2016-03-18 18:39:10.454296279 +0100
@@ -78,7 +78,7 @@
-h, --hash <hash-list> only generate hashes for the specified list.
-m, --multiversion allow multiple versions of a single package.
-e, --extra-override <file>
- use extra override file.
+"" use extra override file.
-M, --medium <medium> add X-Medium field for dselect multicd access method
-?, --help show this help message.
--version show the version.

153
dpkg.spec Normal file
View File

@ -0,0 +1,153 @@
Name: dpkg
Version: 1.18.4
Release: 1mamba
Summary: Debian's package maintenance system
Group: System/Management
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://packages.debian.org/search?keywords=dpkg
Source: http://http.debian.net/debian/pool/main/d/dpkg/dpkg_%{version}.tar.xz
Patch0: dpkg-1.18.4-perl-deps-workaround.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libbzip2-devel
BuildRequires: libgcc
BuildRequires: liblzma-devel
BuildRequires: libncurses5
BuildRequires: libpcre-devel
BuildRequires: libperl
BuildRequires: libselinux-devel
BuildRequires: libsepol-devel
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Debian's package maintenance system.
%package alternatives
Group: System/Management
Summary: Alternatives management (Debian version)
%description alternatives
Alternatives management (Debian version).
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%patch0 -p1
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang dselect
%find_lang dpkg-dev
%find_lang %{name} || touch %{name}.lang
cat dselect.lang dpkg-dev.lang >> %{name}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/dpkg
%{_bindir}/dpkg-*
%{_bindir}/dselect
%{_includedir}/dpkg/ar.h
%{_includedir}/dpkg/arch.h
%{_includedir}/dpkg/atomic-file.h
%{_includedir}/dpkg/buffer.h
%{_includedir}/dpkg/c-ctype.h
%{_includedir}/dpkg/command.h
%{_includedir}/dpkg/compress.h
%{_includedir}/dpkg/deb-version.h
%{_includedir}/dpkg/debug.h
%{_includedir}/dpkg/dir.h
%{_includedir}/dpkg/dpkg-db.h
%{_includedir}/dpkg/dpkg.h
%{_includedir}/dpkg/ehandle.h
%{_includedir}/dpkg/error.h
%{_includedir}/dpkg/fdio.h
%{_includedir}/dpkg/file.h
%{_includedir}/dpkg/glob.h
%{_includedir}/dpkg/macros.h
%{_includedir}/dpkg/namevalue.h
%{_includedir}/dpkg/options.h
%{_includedir}/dpkg/parsedump.h
%{_includedir}/dpkg/path.h
%{_includedir}/dpkg/pkg-array.h
%{_includedir}/dpkg/pkg-format.h
%{_includedir}/dpkg/pkg-list.h
%{_includedir}/dpkg/pkg-queue.h
%{_includedir}/dpkg/pkg-show.h
%{_includedir}/dpkg/pkg-spec.h
%{_includedir}/dpkg/pkg.h
%{_includedir}/dpkg/progname.h
%{_includedir}/dpkg/program.h
%{_includedir}/dpkg/progress.h
%{_includedir}/dpkg/report.h
%{_includedir}/dpkg/string.h
%{_includedir}/dpkg/subproc.h
%{_includedir}/dpkg/tarfn.h
%{_includedir}/dpkg/trigdeferred.h
%{_includedir}/dpkg/triglib.h
%{_includedir}/dpkg/varbuf.h
%{_includedir}/dpkg/version.h
%{perl_vendorlib}/Dpkg.pm
%dir %{perl_vendorlib}/Dpkg
%{perl_vendorlib}/Dpkg/*
%dir %{perl_vendorlib}/Dselect
%{perl_vendorlib}/Dselect/*
%dir %{_libdir}/dpkg
%dir %{_libdir}/dpkg/methods
%{_libdir}/dpkg/methods/*
%{_libdir}/dpkg/parsechangelog/debian
%{_sbindir}/start-stop-daemon
%dir %{_datadir}/dpkg
%{_datadir}/dpkg/*
%{_mandir}/man1/dpkg*.1*
%{_mandir}/man1/dselect.1*
%{_mandir}/man1/update-alternatives.1*
%{_mandir}/man5/deb*.5*
%{_mandir}/man5/dpkg.cfg.5*
%{_mandir}/man5/dselect.cfg.5*
%{_mandir}/man8/start-stop-daemon.8*
%doc AUTHORS COPYING THANKS
%files alternatives
%defattr(-,root,root)
%{_sysconfdir}/alternatives/README
%{_bindir}/update-alternatives
%files devel
%defattr(-,root,root)
%{_libdir}/libdpkg.a
%{_libdir}/libdpkg.la
%{_libdir}/pkgconfig/libdpkg.pc
%{_mandir}/man3/Dpkg.3*
%{_mandir}/man3/Dpkg::*.3*
%doc ChangeLog ChangeLog.old NEWS README README.l10n TODO
%changelog
* Fri Mar 18 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.18.4-1mamba
- package created using the webbuild interface