2073
|
1 |
#
|
|
2 |
# spec file for package SUNWgnome-display-mgr
|
|
3 |
#
|
|
4 |
# includes module(s): gdm
|
|
5 |
#
|
|
6 |
# Copyright (c) 2004 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 |
|
|
11 |
%include Solaris.inc
|
|
12 |
|
|
13 |
%use gdm = gdm.spec
|
|
14 |
|
|
15 |
Name: SUNWgnome-display-mgr
|
|
16 |
Summary: GNOME Display Manager
|
|
17 |
Version: 2.6.0
|
|
18 |
SUNW_BaseDir: %{_prefix}
|
|
19 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
20 |
|
|
21 |
%include default-depend.inc
|
2487
|
22 |
BuildRequires: SUNWgnome-javahelp-convert
|
2073
|
23 |
Requires: SUNWgnome-base-libs
|
|
24 |
Requires: SUNWgnome-libs
|
2094
|
25 |
Requires: SUNWgnome-display-mgr-share
|
|
26 |
Requires: SUNWgnome-display-mgr-root
|
|
27 |
|
|
28 |
%package share
|
|
29 |
Summary: GNOME Display Manager - platform independent files, /usr/share
|
|
30 |
SUNW_BaseDir: %{_prefix}
|
|
31 |
%include default-depend.inc
|
|
32 |
|
|
33 |
%package root
|
|
34 |
Summary: GNOME Display Manager - platform dependent files, / filesystem
|
2500
|
35 |
SUNW_BaseDir: /
|
2094
|
36 |
%include default-depend.inc
|
2073
|
37 |
|
|
38 |
%prep
|
|
39 |
rm -rf %name-%version
|
|
40 |
mkdir %name-%version
|
|
41 |
%gdm.prep -d %name-%version
|
2094
|
42 |
chmod -R u+w %{_builddir}/%name-%version/gdm-%{gdm.version}
|
2073
|
43 |
|
|
44 |
%build
|
2094
|
45 |
export LDFLAGS="-L/usr/openwin/lib -lXau -R/usr/openwin/lib -L%{_libdir} -R%{_libdir}"
|
2073
|
46 |
export PKG_CONFIG_PATH=%{_libdir}/pkgconfig:/usr/lib/pkgconfig
|
|
47 |
export MSGFMT="/usr/bin/msgfmt"
|
|
48 |
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
|
2094
|
49 |
export PERL5LIB=%{_prefix}/perl5/site_perl/5.6.1/sun4-solaris-64int
|
2073
|
50 |
%gdm.build -d %name-%version
|
|
51 |
|
|
52 |
%install
|
2094
|
53 |
export PERL5LIB=%{_prefix}/perl5/site_perl/5.6.1/sun4-solaris-64int
|
2073
|
54 |
%gdm.install -d %name-%version
|
|
55 |
|
|
56 |
%clean
|
|
57 |
rm -rf $RPM_BUILD_ROOT
|
|
58 |
|
|
59 |
%files
|
|
60 |
%defattr (-, root, other)
|
2094
|
61 |
%dir %attr (0755, root, bin) %{_bindir}
|
|
62 |
%{_bindir}/*
|
|
63 |
%dir %attr (0755, root, bin) %{_sbindir}
|
|
64 |
%{_sbindir}/*
|
|
65 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
66 |
%dir %{_libdir}/gtk-2.0
|
|
67 |
%dir %{_libdir}/gtk-2.0/modules
|
|
68 |
%{_libdir}/gtk-2.0/modules/*.so
|
|
69 |
%{_libexecdir}/gdmtranslate
|
2073
|
70 |
|
2094
|
71 |
%files share
|
|
72 |
%defattr (-, root, other)
|
|
73 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
74 |
%{_datadir}/applications
|
|
75 |
%{_datadir}/gdm
|
|
76 |
%dir %{_datadir}/gnome
|
|
77 |
%dir %{_datadir}/gnome/help
|
|
78 |
%dir %{_datadir}/gnome/help/gdm
|
|
79 |
%{_datadir}/gnome/help/gdm/C
|
|
80 |
%dir %{_datadir}/omf
|
|
81 |
%dir %{_datadir}/omf/gdm
|
|
82 |
%{_datadir}/omf/gdm/*-C.omf
|
|
83 |
%{_datadir}/pixmaps
|
|
84 |
%{_datadir}/xsessions
|
|
85 |
|
|
86 |
%files root
|
2502
|
87 |
%attr (0755, root, sys) %dir %{_sysconfdir}
|
2094
|
88 |
%defattr (-, root, other)
|
|
89 |
%{_sysconfdir}/*
|
2502
|
90 |
%defattr (0755, root, sys)
|
2094
|
91 |
|
|
92 |
%changelog
|
|
93 |
* Mon Mar 01 2004 - <[email protected]>
|
|
94 |
- define PERL5LIB.
|
|
95 |
- add share and root subpkgs
|