]> git.pld-linux.org Git - packages/gnome-panel.git/blob - gnome-panel.spec
- BuildRequires XFree86-xrender-devel added as it's in separate pkg now
[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.3
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 # Source0-md5:  531922aec5c75ad3e697fc6192fee16c
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.3
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 BuildRequires:  XFree86-xrender-devel
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.3
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
85 %build
86 #intltoolize --copy --force
87 #$%{__libtoolize}
88 #glib-gettextize --copy --force
89 #$%{__aclocal} -I %{_aclocaldir}/gnome2-macros
90 #$%{__autoheader}
91 #$%{__autoconf}
92 #$%{__automake}
93 %configure \
94         --enable-gtk-doc \
95         --with-html-dir=%{_gtkdocdir}
96
97 %{__make}
98
99 %install
100 rm -rf $RPM_BUILD_ROOT
101
102 %{__make} install \
103         DESTDIR=$RPM_BUILD_ROOT 
104
105 install %{name}/panel-default-setup.entries $RPM_BUILD_ROOT%{_datadir}/%{name}
106
107 mv ChangeLog main-ChangeLog
108 find . -name ChangeLog |awk '{src=$0; dst=$0;sub("^./","",dst);gsub("/","-",dst); print "cp " src " " dst}'|sh
109
110 %find_lang %{name} --with-gnome --all-name
111
112 %clean
113 rm -rf $RPM_BUILD_ROOT
114
115 %post
116 /sbin/ldconfig
117 scrollkeeper-update
118 %gconf_schema_install
119 %{_bindir}/gconftool-2 --direct \
120 --config-source="`%{_bindir}/gconftool-2 --get-default-source`" \
121 --load %{_datadir}/%{name}/panel-default-setup.entries > /dev/null
122
123 %postun 
124 /sbin/ldconfig
125 scrollkeeper-update
126
127 %files -f %{name}.lang
128 %defattr(644,root,root,755)
129 %doc AUTHORS NEWS README *ChangeLog
130 %config %{_sysconfdir}/gconf/schemas/*
131 %attr(755,root,root) %{_bindir}/*
132 %attr(755,root,root) %{_libdir}/fish-applet-2
133 %attr(755,root,root) %{_libdir}/libpanel-applet*.so.*.*
134 %attr(755,root,root) %{_libdir}/libclock-applet*.so
135 %attr(755,root,root) %{_libdir}/wnck-applet
136 %attr(755,root,root) %{_libdir}/notification-area-applet
137 %{_libdir}/bonobo/servers/*
138 %{_datadir}/control-center-2.0/capplets/*
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.178997 seconds and 4 git commands to generate.