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