|
1 # |
|
2 # spec file for package SUNWgtkperf |
|
3 # |
|
4 # includes module(s): gtkperf |
|
5 # |
|
6 # Copyright (c) 2005 Sun Microsystems, Inc. |
|
7 # This file and all modifications and additions to the pristine |
|
8 # package are under the same license as the package itself. |
|
9 # |
|
10 # Owner: dermot |
|
11 # |
|
12 %include Solaris.inc |
|
13 |
|
14 %use gtkperf = gtkperf.spec |
|
15 |
|
16 Name: SUNWgtkperf |
|
17 Summary: Gtk+ performance testing application |
|
18 Version: %{gtkperf.version} |
|
19 SUNW_BaseDir: %{_basedir} |
|
20 BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
21 |
|
22 %include default-depend.inc |
|
23 Requires: SUNWgnome-base-libs |
|
24 Requires: SUNWlibms |
|
25 Requires: SUNWmlib |
|
26 BuildRequires: SUNWgnome-base-libs-devel |
|
27 |
|
28 %prep |
|
29 rm -rf %name-%version |
|
30 mkdir %name-%version |
|
31 %gtkperf.prep -d %name-%version |
|
32 |
|
33 %build |
|
34 %gtkperf.build -d %name-%version |
|
35 |
|
36 %install |
|
37 %gtkperf.install -d %name-%version |
|
38 # Delete the unneeded README/COPYING etc files. |
|
39 rm -rf $RPM_BUILD_ROOT%{_prefix}/doc |
|
40 |
|
41 %clean |
|
42 rm -rf $RPM_BUILD_ROOT |
|
43 |
|
44 %files |
|
45 %defattr (-, root, bin) |
|
46 %dir %attr (0755, root, bin) %{_bindir} |
|
47 %{_bindir}/* |
|
48 %dir %attr (0755, root, sys) %{_datadir} |
|
49 %dir %attr (0755, root, other) %{_datadir}/pixmaps |
|
50 %{_datadir}/pixmaps/* |
|
51 |
|
52 |
|
53 %changelog |
|
54 * Sun Jun 11 2006 - [email protected] |
|
55 - change group from other to bin/sys |
|
56 * Mon Feb 20 2006 - [email protected] |
|
57 - Update Build/Requires after running check-deps.pl script. |
|
58 * Mon Oct 21 2005 - [email protected] |
|
59 - Initial spec file created. |