rpms/debmirror/F-10 debmirror.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Ruben Kerkhof ruben at fedoraproject.org
Fri Apr 10 09:28:43 UTC 2009


Author: ruben

Update of /cvs/pkgs/rpms/debmirror/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18810/F-10

Modified Files:
	.cvsignore sources 
Added Files:
	debmirror.spec 
Log Message:
Initial import


--- NEW FILE debmirror.spec ---
Name:		debmirror
Version:	20070123
Release:	8%{?dist}
Summary:	Debian partial mirror script, with ftp and package pool support

Group:		Applications/Internet
License:	GPL+
URL:		http://packages.qa.debian.org/d/%{name}.html
Source:		http://ftp.debian.org/debian/pool/main/d/%{name}/%{name}_%{version}.tar.gz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:	noarch
Requires:	patch, ed, gnupg, rsync, coreutils, findutils, gzip, bzip2

%description
This program downloads and maintains a partial local Debian mirror.
It can mirror any combination of architectures, distributions and
sections. Files are transferred by ftp, http, hftp or rsync, and package
pools are fully supported. It also does locking and updates trace files.


%prep
%setup -q

# filter file dependency on debmirror.conf
cat << \EOF > %{name}-req
#!/bin/sh
%{__perl_requires} $* |\
sed -e '/\/etc\/debmirror.conf/d'
EOF

%global __perl_requires %{_builddir}/%{name}-%{version}/%{name}-req
chmod +x %{__perl_requires}


%build

%install
rm -rf %{buildroot}

%{__install} -Dp -m 0755 %{name} %{buildroot}%{_bindir}/%{name}
%{__install} -Dp -m 0644 %{name}.conf %{buildroot}%{_sysconfdir}/%{name}.conf

# generate a man page
%{__install} -d %{buildroot}%{_mandir}/man1
pod2man %{name} %{buildroot}%{_mandir}/man1/%{name}.1

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc debian/copyright debian/changelog debian/NEWS.Debian doc/design.txt
%{_mandir}/man1/%{name}.1.gz
%{_bindir}/%{name}
%config(noreplace) %{_sysconfdir}/%{name}.conf


%changelog
* Thu Apr 09 2009 Ruben Kerkhof <ruben at rubenkerkhof.com> - 20070123-8
- Use GPL+ as license
- Use main debian url for Source

* Wed Apr 08 2009 Ruben Kerkhof <ruben at rubenkerkhof.com> - 20070123-7
- Change url to a page with more content
- Use %%{name} macro

* Tue Apr 07 2009 Ruben Kerkhof <ruben at rubenkerkhof.com> - 20070123-6
- Generate a man page from the source
- Add explicit Requires on system commands used

* Tue Apr 07 2009 Ruben Kerkhof <ruben at rubenkerkhof.com> - 20070123-5
- Package cleanup for review

* Sat Nov  1 2008 Javier palacios <javiplx at gmail.com>
- 20070123-2
- Added suggestions from the review process

* Sat Oct 11 2008 Javier palacios <javiplx at gmail.com>
- 20070123-1
- First release



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/debmirror/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	9 Apr 2009 21:06:52 -0000	1.1
+++ .cvsignore	10 Apr 2009 09:28:12 -0000	1.2
@@ -0,0 +1 @@
+debmirror_20070123.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/debmirror/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	9 Apr 2009 21:06:52 -0000	1.1
+++ sources	10 Apr 2009 09:28:12 -0000	1.2
@@ -0,0 +1 @@
+e89d7b8aae00fbf0743b2cd6bc99d746  debmirror_20070123.tar.gz




More information about the scm-commits mailing list