]> git.pld-linux.org Git - packages/gnome-panel.git/blob - gnome-panel.spec
- fixed crash of notification area at exit; release 2
[packages/gnome-panel.git] / gnome-panel.spec
1 Summary:        The core programs for the GNOME GUI desktop environment
2 Summary(pl):    Podstawowe programy ¶rodowiska graficznego GNOME
3 Name:           gnome-panel
4 Version:        2.2.0.1
5 Release:        2
6 License:        LGPL
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.2/%{name}-%{version}.tar.bz2
9 Patch0:         %{name}-crash.patch
10 URL:            http://www.gnome.org/
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  glib2-devel >= 2.2.0
14 BuildRequires:  gnome-desktop-devel >= 2.2.0
15 BuildRequires:  gtk+2-devel >= 2.2.0
16 BuildRequires:  gtk-doc >= 1.0
17 BuildRequires:  intltool >= 0.23
18 BuildRequires:  libart_lgpl-devel >= 2.3.11
19 BuildRequires:  libglade2-devel >= 2.0.1
20 BuildRequires:  libgnomeui-devel >= 2.1.5
21 BuildRequires:  libtool
22 BuildRequires:  libwnck-devel >= 2.2.0
23 BuildRequires:  ORBit2-devel >= 2.6.0
24 BuildRequires:  pkgconfig >= 0.12.0
25 BuildRequires:  rpm-build >= 4.1-10
26 BuildRequires:  scrollkeeper >= 0.3.11
27 BuildConflicts: GConf-devel < 1.0.9-7
28 Requires(post,postun): scrollkeeper
29 Requires(post,postun): /sbin/ldconfig
30 Requires(post): GConf2
31 Requires:       gnome-desktop >= 2.2.0
32 Requires:       libgnomeui >= 2.1.5
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %description
36 GNOME (GNU Network Object Model Environment) is a user-friendly set of
37 applications and desktop tools to be used in conjunction with a window
38 manager for the X Window System. GNOME is similar in purpose and scope
39 to CDE and KDE, but GNOME is based completely on free software.
40
41 The GNOME panel packages provides the gnome panel, menus and some
42 basic applets for the panel.
43
44 %description -l pl
45 GNOME (GNU Network Object Model Environment) to zestaw przyjaznych
46 dla u¿ytkownika aplikacji i narzêdzi do u¿ywania w po³±czeniu z
47 zarz±dc± okien pod X. GNOME ma podobny cel jak CDE i KDE, ale bazuje
48 ca³kowicie na wolnym oprogramowaniu.
49
50 Ten pakiet dostarcza panel GNOME2, menu oraz podstawowe aplety dla
51 panelu GNOME2.
52
53 %package devel
54 Summary:        GNOME panel includes, and more
55 Summary(pl):    Pliki nag³ówkowe biblioteki panelu GNOME
56 Group:          X11/Development/Libraries
57 Requires:       %{name} = %{version}
58 Requires:       gtk-doc-common
59
60 %description devel
61 Panel header files for creating GNOME panels.
62
63 %description devel -l pl
64 Pliki nag³ówkowe bibliotek panelu GNOME.
65
66 %package static
67 Summary:        GNOME panel static libraries
68 Summary(pl):    Statyczne biblioteki panelu GNOME
69 Group:          X11/Development/Libraries
70 Requires:       %{name}-devel = %{version}
71
72 %description static
73 Panel static libraries.
74
75 %description static -l pl
76 Statyczne biblioteki panelu GNOME.
77
78 %prep
79 %setup -q
80 %patch0 -p1
81
82 %build
83 intltoolize --copy --force
84 %{__libtoolize}
85 glib-gettextize --copy --force
86 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
87 %{__autoconf}
88 %{__automake}
89 %configure \
90         --enable-gtk-doc \
91         --with-html-path=%{_gtkdocdir}
92
93 %{__make}
94
95 %install
96 rm -rf $RPM_BUILD_ROOT
97
98 %{__make} install \
99         DESTDIR=$RPM_BUILD_ROOT \
100         omf_dest_dir=%{_omf_dest_dir}/%{name} \
101         pkgconfigdir=%{_pkgconfigdir} \
102         HTML_DIR=%{_gtkdocdir}
103
104 mv ChangeLog main-ChangeLog
105 find . -name ChangeLog |awk '{src=$0; dst=$0;sub("^./","",dst);gsub("/","-",dst); print "cp " src " " dst}'|sh
106
107 %find_lang %{name} --with-gnome --all-name
108
109 %clean
110 rm -rf $RPM_BUILD_ROOT
111
112 %post
113 /sbin/ldconfig
114 scrollkeeper-update
115 %gconf_schema_install
116
117 %postun 
118 /sbin/ldconfig
119 scrollkeeper-update
120
121 %files -f %{name}.lang
122 %defattr(644,root,root,755)
123 %doc AUTHORS NEWS README *ChangeLog
124 %config %{_sysconfdir}/gconf/schemas/*
125 %config %{_sysconfdir}/sound/events/*
126 %attr(755,root,root) %{_bindir}/*
127 %attr(755,root,root) %{_libdir}/fish-applet-2
128 %attr(755,root,root) %{_libdir}/libpanel-applet*.so.*.*
129 %attr(755,root,root) %{_libdir}/libgen_util_applet*.so
130 %attr(755,root,root) %{_libdir}/notification-area-applet
131 %{_libdir}/libgen_util_applet*.la
132 %{_libdir}/bonobo/servers/*
133 %{_datadir}/control-center-2.0/capplets/*
134 %{_datadir}/fish/*
135 %{_datadir}/gen_util
136 %{_datadir}/gnome/panel
137 %{_datadir}/gnome-2.0/ui/*
138 %{_datadir}/gnome-panel*
139 %{_datadir}/idl/gnome-panel-2.0
140 %{_datadir}/pixmaps/*
141 %{_omf_dest_dir}/%{name}
142 %{_mandir}/man1/*
143
144 %files devel
145 %defattr(644,root,root,755)
146 %attr(755,root,root) %{_libdir}/libpanel-applet*.so
147 %{_libdir}/libpanel-applet*.la
148 %{_gtkdocdir}/panel-applet
149 %{_includedir}/panel-2.0
150 %{_pkgconfigdir}/*.pc
151
152 %files static
153 %defattr(644,root,root,755)
154 %{_libdir}/lib*.a
This page took 0.078652 seconds and 4 git commands to generate.