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