]> git.pld-linux.org Git - packages/dpkg.git/commitdiff
- initial revision
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 1 Aug 2000 15:05:50 +0000 (15:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dpkg.spec -> 1.1

dpkg.spec [new file with mode: 0644]

diff --git a/dpkg.spec b/dpkg.spec
new file mode 100644 (file)
index 0000000..f61fa7b
--- /dev/null
+++ b/dpkg.spec
@@ -0,0 +1,90 @@
+Summary:       Package maintenance system for Debian Linux
+Name:          dpkg
+Version:       1.6.14
+Release:       1
+License:       GPL
+Group:         Utilities/File
+Group(pl):     Narzêdzia/Pliki
+Source:                ftp://ftp.debian.org/debian/dists/potato/main/source/base/%{name}_%{version}.tar.gz
+Patch0:                dpkg-no-debiandoc.patch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This package contains the programs which handle the installation and
+removal of packages on your system.
+
+The primary interface for the dpkg suite is the `dselect' program; a
+more low-level and less user-friendly interface is available in the
+form of the `dpkg' command.
+
+In order to unpack and build Debian source packages you will need to
+install the developers' package `dpkg-dev' as well as this one.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+gettextize --copy --force
+%configure \
+       --enable-shared \
+       --without-dselect \
+       --with-admindir=/var/lib/%{name}
+
+%{__make} docdir=%{_defaultdocdir}/%{name}-%{version}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_defaultdocdir}/dpkg
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+strip --strip-unneeded $RPM_BUILD_ROOT{%{_bindir},%{_sbindir}}/* || :
+
+gzip -9nf $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/* \
+       $RPM_BUILD_ROOT%{_mandir}/man*/* \
+       $RPM_BUILD_ROOT%{_mandir}/*/man*/*
+
+%find_lang dpkg
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f dpkg.lang
+%defattr(644,root,root,755)
+%doc doc/database-structure.fig doc/internals.sgml
+%doc $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/*
+%attr(755,root,root) %{_bindir}/822-date
+%attr(755,root,root) %{_bindir}/dpkg*
+%dir %{_libdir}/dpkg
+%dir %{_libdir}/dpkg/methods
+%dir %{_libdir}/dpkg/parsechangelog
+%dir %{_libdir}/dpkg/methods/disk
+%dir %{_libdir}/dpkg/methods/floppy
+%{_libdir}/dpkg/controllib.pl
+%attr(755,root,root) %{_libdir}/dpkg/mksplit
+%dir %{_libdir}/dpkg/methods/*/desc*
+%dir %{_libdir}/dpkg/methods/*/names
+%attr(755,root,root) %dir %{_libdir}/dpkg/methods/*/install
+%attr(755,root,root) %dir %{_libdir}/dpkg/methods/*/setup
+%attr(755,root,root) %dir %{_libdir}/dpkg/methods/*/update
+%attr(755,root,root) %dir %{_libdir}/dpkg/parsechangelog/debian
+%attr(755,root,root) %{_sbindir}/start-stop-daemon
+%attr(755,root,root) %{_sbindir}/dpkg-divert
+%attr(755,root,root) %{_sbindir}/update-alternatives
+%attr(755,root,root) %{_sbindir}/update-rc.d
+%dir /var/lib/dpkg
+/var/lib/dpkg/*
+%{_mandir}/man1/822-date.1*
+%{_mandir}/man1/dpkg*
+%{_mandir}/man5/*
+%{_mandir}/man8/dpkg*
+%{_mandir}/man8/start-stop*
+%{_mandir}/man8/update*
+%lang(ja) %{_mandir}/ja/man1/dpkg*
+%lang(ja) %{_mandir}/ja/man5/*
+%lang(ja) %{_mandir}/ja/man8/dpkg*
+%lang(ja) %{_mandir}/ja/man8/start-stop*
+%lang(ja) %{_mandir}/ja/man8/update*
+%lang(sv) %{_mandir}/sv/man5/*
This page took 0.518863 seconds and 4 git commands to generate.