]> git.pld-linux.org Git - packages/gnome-panel.git/blob - gnome-panel.spec
- initial release (based on RH)
[packages/gnome-panel.git] / gnome-panel.spec
1 Summary:        The core programs for the GNOME GUI desktop environment.
2 Name:           gnome-panel
3 Version:        1.5.18
4 Release:        0.1
5 License:        LGPL
6 Group:          X11/Applications
7 Source0:        ftp://ftp.gnome.org/pub/gnome/pre-gnome2/sources/%{name}/%{name}-%{version}.tar.bz2
8 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
9 URL:            http://www.gnome.org/
10 BuildRequires:  pkgconfig
11 BuildRequires:  ORBit2-devel
12 BuildRequires:  gtk+2-devel
13 BuildRequires:  libgnomeui-devel
14 BuildRequires:  libwnck-devel
15 BuildRequires:  gnome-desktop-devel
16 BuildRequires:  libglade2-devel
17 BuildRequires:  gnome-vfs2-devel
18
19 %define         _prefix         /usr/X11R6
20 %define         _mandir         %{_prefix}/man
21 %define         _sysconfdir     /etc/X11/GNOME2
22 %define         _omf_dest_dir   %(scrollkeeper-config --omfdir)
23
24 %description
25 GNOME (GNU Network Object Model Environment) is a user-friendly set of
26 applications and desktop tools to be used in conjunction with a window
27 manager for the X Window System. GNOME is similar in purpose and scope
28 to CDE and KDE, but GNOME is based completely on free software. The
29 gnome-core package includes the basic programs and libraries that are
30 needed to install GNOME.
31
32 The GNOME panel packages provides the gnome panel, menu's and some
33 basic applets for the panel.
34
35 %package devel
36 Summary:        GNOME panel libraries, includes, and more.
37 Group:          Development/Libraries
38 Requires:       %{name} = %{version}
39
40 %description devel
41 Panel libraries and header files for creating GNOME panels.
42
43 %package static
44 Summary:        GNOME panel libraries, includes, and more.
45 Group:          Development/Libraries
46 Requires:       %{name} = %{version}-devel
47
48 %description static
49 Panel libraries and header files for creating GNOME panels.
50
51 %prep
52 %setup -q
53
54 %build
55 %configure \
56         --enable-gtk-doc=no
57 %{__make}
58
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62
63 %{__make} install \
64         DESTDIR=$RPM_BUILD_ROOT \
65         omf_dest_dir=%{_omf_dest_dir}/%{name} \
66         pkgconfigdir=%{_pkgconfigdir}
67
68 gzip -9nf AUTHORS ChangeLog NEWS README
69
70 %find_lang %{name} --with-gnome --all-name
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %post
76 /sbin/ldconfig
77 export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
78 for SCHEMAS in clock.schemas fish.schemas mailcheck.schemas pager.schemas panel-global-config.schemas panel-per-panel-config.schemas tasklist.schemas; do
79         /usr/X11R6/bin/gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$SCHEMAS > /dev/null 2>&1
80 done
81
82 %postun
83 /sbin/ldconfig
84 /usr/bin/scrollkeeper-update
85
86 %files -f %{name}.lang
87 %defattr(644,root,root,755)
88 %doc *.gz
89 %config %{_sysconfdir}/gconf/schemas/*
90 %config %{_sysconfdir}/sound/events/*
91 %attr(755,root,root) %{_bindir}/*
92 %attr(755,root,root) %{_libdir}/lib*.so.*.*
93 %{_libdir}/bonobo/servers/*
94 %{_datadir}/applications/*
95 %{_datadir}/control-center-2.0/capplets/*
96 %{_datadir}/gen_util
97 %{_datadir}/gnome/panel
98 %{_datadir}/gnome-2.0
99 %{_datadir}/gnome-panel
100 %{_datadir}/gtk-doc/html/panel-applet
101 %{_datadir}/idl/gnome-panel-2.0
102 %{_datadir}/pixmaps/fish
103 %{_datadir}/pixmaps/mailcheck
104 %{_datadir}/pixmaps/*.png
105 %{_omf_dest_dir}/%{name}
106 %{_mandir}/man1/*
107
108 %files devel
109 %defattr(644,root,root,755)
110 %attr(755,root,root) %{_libdir}/lib*.??
111 %{_includedir}/panel-2.0
112 %{_pkgconfigdir}/*.pc
113
114 %files static
115 %defattr(644,root,root,755)
116 %{_libdir}/*.a
This page took 0.232381 seconds and 4 git commands to generate.