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