SPECS: urpmdiff.spec (NEW), rpmtools.spec (NEW), perl-URPM.spec (N...

glen glen at pld-linux.org
Wed Jul 6 07:47:45 CEST 2005


Author: glen                         Date: Wed Jul  6 05:47:45 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rpm tools from mandrake/mandriva

---- Files affected:
SPECS:
   urpmdiff.spec (NONE -> 1.1)  (NEW), rpmtools.spec (NONE -> 1.1)  (NEW), perl-URPM.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/urpmdiff.spec
diff -u /dev/null SPECS/urpmdiff.spec:1.1
--- /dev/null	Wed Jul  6 07:47:45 2005
+++ SPECS/urpmdiff.spec	Wed Jul  6 07:47:40 2005
@@ -0,0 +1,53 @@
+# $Revision$, $Date$
+%include	/usr/lib/rpm/macros.perl
+Summary:	A tool to show diffs between rpms
+Name:		urpmdiff
+Version:	1.1
+Release:	0.2
+Epoch:		0
+License:	GPL
+Group:		Development
+Source0:	%{name}-%{version}.tar.bz2
+# Source0-md5:	eca3b2f8fbc1f46a225fc769f669c30b
+Patch0:		%{name}-no-MDK.patch
+URL:		http://cvs.mandrakesoft.com/cgi-bin/cvsweb.cgi/soft/urpmdiff
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+urpmdiff shows the differences between two rpms. It's intended to help
+packagers to know what has changed between an old and a new version of
+an rpm. Its output is reminiscent of the unified diff format.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man1/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/07/06 05:47:40  glen
+- rpm tools from mandrake/mandriva
+

================================================================
Index: SPECS/rpmtools.spec
diff -u /dev/null SPECS/rpmtools.spec:1.1
--- /dev/null	Wed Jul  6 07:47:45 2005
+++ SPECS/rpmtools.spec	Wed Jul  6 07:47:40 2005
@@ -0,0 +1,93 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests	# do not perform "make test"
+#
+%define rpm_version %(rpm -q --queryformat '%{version}-%{release}' rpm)
+Name:		rpmtools
+Summary:	Contains various rpm command-line tools
+Version:	5.0.20
+Release:	0.1
+# get the source from mdk cvs repository (see http://www.linuxmandrake.com/en/cvs.php3)
+Source0:	%{name}-%{version}.tar.bz2
+Patch0:		%{name}-no-MDK.patch
+License:	GPL
+Group:		Base/Utilities
+URL:		http://cvs.mandrakesoft.com/cgi-bin/cvsweb.cgi/soft/rpmtools
+BuildRequires:	rpm-devel >= 4.0.3
+BuildRequires:	bzip2-devel
+BuildRequires:	perl-devel
+BuildRequires:	perl-Compress-Zlib
+Requires:	rpm >= %{rpm_version}
+Requires:	bzip2 >= 1.0
+Requires:	perl-URPM >= 0.94
+Conflicts:	rpmtools-compat <= 2.0
+Conflicts:	rpmtools-devel <= 2.0
+Conflicts:	packdrake < 5.0.10
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+# perl-Compress-Zlib is only "suggested"
+%define		_noautoreq	'perl(Compress::Zlib)'
+
+%description
+Various tools needed by urpmi and drakxtools for handling rpm files.
+
+%package -n packdrake
+Summary:	A simple Archive Extractor/Builder
+Group:		Base/Utilities
+Conflicts:	rpmtools <= 5.0.0
+Provides:	perl(packdrake)
+
+%description -n packdrake
+Packdrake is a simple indexed archive builder and extractor using
+standard compression methods.
+
+Packadrakeng is a from scratch rewrite of the original packdrake. Its
+format is fully compatible with old packdrake.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__make} OPTIMIZE="%{rpmcflags}"
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/parsehdlist
+%attr(755,root,root) %{_bindir}/rpm2header
+%attr(755,root,root) %{_bindir}/gendistrib
+%attr(755,root,root) %{_bindir}/genhdlist
+%attr(755,root,root) %{_bindir}/rpm2cpio.pl
+%attr(755,root,root) %{_bindir}/dumpdistribconf
+%{perl_vendorlib}/Distribconf*
+%{_mandir}/man1/*
+%{_mandir}/man3/Distribconf*
+
+%files -n packdrake
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/packdrake
+%{perl_vendorlib}/packdrake.pm
+%{perl_vendorlib}/Packdrakeng.pm
+%{perl_vendorlib}/Packdrakeng/zlib.pm
+%{_mandir}/man3/[pP]ackdrake*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/07/06 05:47:40  glen
+- rpm tools from mandrake/mandriva
+

================================================================
Index: SPECS/perl-URPM.spec
diff -u /dev/null SPECS/perl-URPM.spec:1.1
--- /dev/null	Wed Jul  6 07:47:45 2005
+++ SPECS/perl-URPM.spec	Wed Jul  6 07:47:40 2005
@@ -0,0 +1,65 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests	# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define		pnam	URPM
+Summary:	URPM module for perl
+Name:		perl-URPM
+Version:	1.24
+Release:	0.1
+License:	GPL or Artistic
+Group:		Development/Languages/Perl
+# downloaded from http://fr2.rpmfind.net/linux/MandrakeCooker/cooker/SRPMS/main/
+Source0:	%{pnam}-%{version}.tar.bz2
+# Source0-md5:	c7c66a97aa64eac5371cdd1af7c82439
+URL:		http://cvs.mandriva.com/cgi-bin/cvsweb.cgi/soft/perl-URPM/
+BuildRequires:	bzip2-devel
+BuildRequires:	rpm-devel >= 4.2.3
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	packdrake
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The URPM module allows you to manipulate rpm files, rpm header files
+and hdlist files and manage them in memory.
+
+%prep
+%setup -q -n %{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make}
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README ChangeLog
+%{_mandir}/man3/*
+%{perl_vendorarch}/URPM
+%{perl_vendorarch}/URPM.pm
+%dir %{perl_vendorarch}/auto/URPM
+%{perl_vendorarch}/auto/URPM/URPM.so
+%{perl_vendorarch}/auto/URPM/URPM.bs
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/07/06 05:47:40  glen
+- rpm tools from mandrake/mandriva
+
================================================================



More information about the pld-cvs-commit mailing list