aboutsummaryrefslogtreecommitdiffstats
path: root/shipper/shipper.spec
blob: 3a3646a5221a838626d7803a9f0d1a5593a8f810 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
Name: shipper
Version: 0.5
Release: 1
URL: http://www.catb.org/~esr/shipper/
Source0: %{name}-%{version}.tar.gz
License: GPL
Group: Utilities
Summary: automated shipping of open-source project releases
Requires: lftp, openssh-clients, freshmeat-submit
BuildRoot: %{_tmppath}/%{name}-root
BuildArch: noarch
#Keywords: packaging, distribution

%description 
shipper is a power distribution tool for developers with multiple
projects who do frequent releases.  It automates the tedious process
of shipping a software release to several standard places, including
ibiblio, the Red Hat submission directory, and your own hosted
website.  It also knows how to post a release announcement to
freshmeat.net via freshmeat-submit.  Two auxiliary tools, buildrpms
and rpm2lsm, build RPMs and generate LSM files from them respectively.

%prep 
%setup -q

%build
make %{?_smp_mflags} shipper.1 rpm2lsm.1

%install
[ "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT"
mkdir -p "$RPM_BUILD_ROOT"%{_bindir}
mkdir -p "$RPM_BUILD_ROOT"%{_mandir}/man1/
cp shipper rpm2lsm buildrpms "$RPM_BUILD_ROOT"%{_bindir}
cp shipper.1 rpm2lsm.1 "$RPM_BUILD_ROOT"%{_mandir}/man1/

%clean
[ "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT"

%files
%defattr(-,root,root,-)
%doc README COPYING
%{_bindir}/shipper
%{_bindir}/rpm2lsm
%{_bindir}/buildrpms
%{_mandir}/man1/shipper.1*
%{_mandir}/man1/rpm2lsm.1*

%changelog
* Fri Feb 6 2004 Eric S. Raymond <esr@snark.thyrsus.com> 0.5-1
- Added security check so the ~/.shipper and .shipper files can't be used
  for privilege elevation.  Fixed upload omission bug in case where neither 
  -n nor -f was on and the webpage wasn't being built.  Deliverables 
  created for upload are deleted at end of run.

* Sun Jan 11 2004 Eric S. Raymond <esr@snark.thyrsus.com> 0.4-1
- Correct extraction of freshmeat name.  Build generated deliverables
  only if we know they will be needed. Help is now available at the 
  freshmeat-focus prompt.

* Sat Jan 10 2004 Eric S. Raymond <esr@snark.thyrsus.com> 0.3-1
- First alpha release of unified shipper package.  It can ship itself.

* Wed Dec 17 2003 Eric S. Raymond <esr@snark.thyrsus.com>
- rpm2lsm now grabs an RPM from the current directory if no argument,
  and parses an AUTHORS file if present (GNU convention).  Also,
  this release fixes a bug in USERNAME handling.

* Thu Aug  1 2002 Eric S. Raymond <esr@snark.thyrsus.com>
- Initial release of rpm2lsm, since folded into shipper package.