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