dpkg/dpkg.spec

120 lines
3.1 KiB
RPMSpec
Raw Normal View History

Name: dpkg
Version: 1.19.7
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 %{name} --with-man --all-name || touch %{name}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/dpkg
%{_bindir}/dpkg-*
%{_bindir}/dselect
%dir %{_libexecdir}/dpkg
%dir %{_libexecdir}/dpkg/methods
%{_libexecdir}/dpkg/methods/*
%{_datadir}/polkit-1/actions/org.dpkg.pkexec.update-alternatives.policy
%{perl_vendorlib}/Dpkg.pm
%dir %{perl_vendorlib}/Dpkg
%{perl_vendorlib}/Dpkg/*
%dir %{perl_vendorlib}/Dselect
%{perl_vendorlib}/Dselect/*
%{_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}/man5/dsc.5*
%{_mandir}/man7/deb-version.7*
%{_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)
%dir %{_includedir}/dpkg
%{_includedir}/dpkg/*
%{_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
* Tue Nov 26 2019 Automatic Build System <autodist@mambasoft.it> 1.19.7-1mamba
- automatic version update by autodist
* Tue Dec 12 2017 Automatic Build System <autodist@mambasoft.it> 1.19.0.4-1mamba
- automatic update by autodist
* Fri Mar 18 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.18.4-1mamba
- package created using the webbuild interface