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