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