1
|
1 |
#
|
|
2 |
# spec file for package CBErsync
|
|
3 |
#
|
|
4 |
# Copyright 2008 Sun Microsystems, Inc.
|
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
|
8 |
|
|
9 |
%include CBE.inc
|
|
10 |
|
|
11 |
Name: CBErsync
|
|
12 |
License: GPL
|
|
13 |
Group: system/cbe
|
|
14 |
Version: 3.0.2
|
|
15 |
Distribution: JDS CBE
|
|
16 |
Vendor: Sun Microsystems, Inc.
|
|
17 |
Summary: JDS CBE: Rsync
|
|
18 |
Source: http://samba.anu.edu.au/ftp/rsync/rsync-%{version}.tar.gz
|
|
19 |
URL: http://samba.anu.edu.au/rsync/
|
|
20 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
21 |
SUNW_BaseDir: %{_prefix}
|
|
22 |
SUNW_Category: JDS,CBE,application
|
|
23 |
SUNW_Rev: @CBE_VERSION@
|
|
24 |
Requires: SUNWcsl
|
|
25 |
|
|
26 |
%description
|
|
27 |
rsync for the JDS build environment
|
|
28 |
|
|
29 |
%prep
|
|
30 |
%setup -q -n rsync-%{version}
|
|
31 |
|
|
32 |
%build
|
|
33 |
export CFLAGS="%optflags -I/usr/gnu/include"
|
|
34 |
export LDFLAGS="-L/usr/gnu/lib -R/usr/gnu/lib"
|
|
35 |
./configure \
|
|
36 |
--prefix=%{_prefix} \
|
|
37 |
--mandir=%{_mandir}
|
|
38 |
make
|
|
39 |
|
|
40 |
%install
|
|
41 |
rm -rf $RPM_BUILD_ROOT
|
|
42 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
43 |
|
|
44 |
%clean
|
|
45 |
rm -rf $RPM_BUILD_ROOT
|
|
46 |
|
|
47 |
%files
|
|
48 |
%defattr(-, root, bin)
|
|
49 |
%dir %attr (0755, root, bin) %{_bindir}
|
|
50 |
%{_bindir}/*
|
|
51 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
52 |
%{_mandir}
|
|
53 |
|
|
54 |
%changelog
|
|
55 |
* Tue Aug 22 2006 <[email protected]>
|
|
56 |
- fix %files attributes
|
|
57 |
- move to /opt/jdsbld by default
|
|
58 |
* Wed Aug 16 2006 <[email protected]>
|
|
59 |
- add missing deps
|
|
60 |
- bump to 2.6.8
|
|
61 |
* Fri Sep 02 2005 <[email protected]>
|
|
62 |
- add man pages to %files
|
|
63 |
* Tue Jul 12 2005 <[email protected]>
|
|
64 |
- New CBE rsync package
|