author | mattman |
Thu, 19 Feb 2009 16:05:49 +0000 | |
changeset 15164 | 28c7fdbba580 |
parent 14426 | c32d6fa0ccb6 |
child 16280 | 462de9e707f7 |
permissions | -rw-r--r-- |
14426 | 1 |
# |
2 |
# spec file for package SUNWxdg-utils |
|
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 |
# Owner: dkenny |
|
9 |
# |
|
10 |
||
11 |
%include Solaris.inc |
|
12 |
||
13 |
Name: SUNWxdg-utils |
|
14 |
Summary: The Portland Project's desktop integration tools |
|
15 |
Version: 1.0.2 |
|
16 |
Source: http://portland.freedesktop.org/download/xdg-utils-%{version}.tgz |
|
17 |
# date:2008-02-13 owner:dkenny type:bug |
|
18 |
Patch1: xdg-utils-01-bash.diff |
|
19 |
# date:2008-02-13 owner:dkenny type:bug |
|
20 |
Patch2: xdg-utils-02-path.diff |
|
21 |
# date:2008-02-19 owner:dkenny type:bug |
|
22 |
Patch3: xdg-utils-03-nawk.diff |
|
15164
28c7fdbba580
* SUNWxdg-utils.spec : Add man page patch which adds Attributes and ARC
mattman
parents:
14426
diff
changeset
|
23 |
# date:2009-02-19 owner:mattman type:branding |
28c7fdbba580
* SUNWxdg-utils.spec : Add man page patch which adds Attributes and ARC
mattman
parents:
14426
diff
changeset
|
24 |
Patch4: xdg-utils-04-manpages.diff |
14426 | 25 |
SUNW_BaseDir: %{_basedir} |
26 |
SUNW_Copyright: %{name}.copyright |
|
27 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
28 |
%include default-depend.inc |
|
29 |
Requires: SUNWbash |
|
30 |
||
31 |
%prep |
|
32 |
%setup -q -n xdg-utils-%{version} |
|
33 |
%patch1 -p1 |
|
34 |
%patch2 -p1 |
|
35 |
%patch3 -p1 |
|
15164
28c7fdbba580
* SUNWxdg-utils.spec : Add man page patch which adds Attributes and ARC
mattman
parents:
14426
diff
changeset
|
36 |
%patch4 -p1 |
14426 | 37 |
|
38 |
%build |
|
39 |
||
40 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
41 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
42 |
CPUS=1 |
|
43 |
fi |
|
44 |
||
45 |
./configure --prefix=%{_prefix} \ |
|
46 |
--bindir=%{_bindir} \ |
|
47 |
--mandir=%{_mandir} |
|
48 |
||
49 |
make -j$CPUS |
|
50 |
||
51 |
%install |
|
52 |
rm -rf $RPM_BUILD_ROOT |
|
53 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
54 |
||
55 |
%clean |
|
56 |
rm -rf $RPM_BUILD_ROOT |
|
57 |
||
58 |
%files |
|
59 |
%defattr (-, root, bin) |
|
60 |
%{_bindir} |
|
61 |
%{_mandir} |
|
62 |
%dir %attr (0755, root, sys) %{_datadir} |
|
63 |
%doc LICENSE scripts/README tests/debug/README |
|
64 |
%doc(bzip2) ChangeLog README tests/README |
|
65 |
%dir %attr (0755, root, other) %{_datadir}/doc |
|
66 |
||
67 |
%changelog |
|
15164
28c7fdbba580
* SUNWxdg-utils.spec : Add man page patch which adds Attributes and ARC
mattman
parents:
14426
diff
changeset
|
68 |
* Thu Feb 02 2009 - [email protected] |
28c7fdbba580
* SUNWxdg-utils.spec : Add man page patch which adds Attributes and ARC
mattman
parents:
14426
diff
changeset
|
69 |
- Add manpage patch, addds attributes to all delivered manpages |
14426 | 70 |
* Tue Sep 16 2008 - [email protected] |
71 |
- Update copyright |
|
72 |
* Thu Mar 15 2008 - [email protected] |
|
73 |
- Add SUNWbash dependency. |
|
74 |
* Wed Feb 19 2008 - [email protected] |
|
75 |
- Add patch to use nawk instead of awk |
|
76 |
* Wed Feb 13 2008 - [email protected] |
|
77 |
- Add patch to prepend X dirs to PATH. |
|
78 |
* Tue Feb 12 2008 - [email protected] |
|
79 |
- initial version |