]> git.pld-linux.org Git - packages/gnome-panel.git/blob - gnome-panel.spec
- added clock patch (set first day of the week depending on locales)
[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.6.1
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:  3a90cb8ab07b7f169e295a6774cc08ba
10 Patch0:         %{name}-clock.patch
11 URL:            http://www.gnome.org/
12 BuildRequires:  GConf2-devel >= 2.3.3
13 BuildRequires:  ORBit2-devel >= 2.7.5-1
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  glib2-devel >= 2.2.1
17 BuildRequires:  gnome-common >= 2.3.0
18 BuildRequires:  gnome-desktop-devel >= 2.3.6
19 BuildRequires:  gtk+2-devel >= 2.2.1
20 BuildRequires:  gtk-doc >= 1.0
21 BuildRequires:  intltool >= 0.23
22 BuildRequires:  libart_lgpl-devel >= 2.3.13
23 BuildRequires:  libglade2-devel >= 2.0.1
24 BuildRequires:  libgnomeui-devel >= 2.3.3.1-2
25 BuildRequires:  libtool
26 BuildRequires:  libwnck-devel >= 2.3.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): /sbin/ldconfig
32 Requires(post,postun): scrollkeeper
33 Requires(post): GConf2 >= 2.3.3
34 Requires:       gnome-desktop >= 2.3.6
35 Requires:       libgnomeui >= 2.3.3.1-2
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.3.1-2
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 %build
87 intltoolize --copy --force
88 %{__libtoolize}
89 glib-gettextize --copy --force
90 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
91 %{__autoheader}
92 %{__autoconf}
93 %{__automake}
94 %configure \
95         --enable-gtk-doc \
96         --with-html-dir=%{_gtkdocdir}
97
98 %{__make}
99
100 %install
101 rm -rf $RPM_BUILD_ROOT
102
103 %{__make} install \
104         DESTDIR=$RPM_BUILD_ROOT 
105
106 install %{name}/panel-default-setup.entries $RPM_BUILD_ROOT%{_datadir}/%{name}
107
108 mv ChangeLog main-ChangeLog
109 find . -name ChangeLog |awk '{src=$0; dst=$0;sub("^./","",dst);gsub("/","-",dst); print "cp " src " " dst}'|sh
110
111 %find_lang %{name} --with-gnome --all-name
112
113 %clean
114 rm -rf $RPM_BUILD_ROOT
115
116 %post
117 /sbin/ldconfig
118 scrollkeeper-update
119 %gconf_schema_install
120 %{_bindir}/gconftool-2 --direct \
121 --config-source="`%{_bindir}/gconftool-2 --get-default-source`" \
122 --load %{_datadir}/%{name}/panel-default-setup.entries > /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 %{_libdir}/bonobo/servers/*
139 %{_datadir}/control-center-2.0/capplets/*
140 %{_datadir}/gnome/panel
141 %{_datadir}/gnome-2.0/ui/*
142 %{_datadir}/gnome-panel
143 %{_datadir}/gnome-panelrc
144 %{_datadir}/idl/gnome-panel-2.0
145 %{_pixmapsdir}/*
146 %{_omf_dest_dir}/%{name}
147 %{_mandir}/man1/*
148
149 %files devel
150 %defattr(644,root,root,755)
151 %attr(755,root,root) %{_libdir}/libpanel-applet*.so
152 %{_libdir}/*.la
153 %{_gtkdocdir}/panel-applet
154 %{_includedir}/panel-2.0
155 %{_pkgconfigdir}/*.pc
156
157 %files static
158 %defattr(644,root,root,755)
159 %{_libdir}/lib*.a
This page took 0.040018 seconds and 4 git commands to generate.