]> git.pld-linux.org Git - packages/gnome-panel.git/blob - gnome-panel.spec
- updated server file location, release 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.1.2
5 Release:        2
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:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  glib2-devel >= 2.1.0
14 BuildRequires:  gnome-desktop-devel >= 2.1.2
15 BuildRequires:  gtk-doc >= 0.9-4
16 BuildRequires:  gtk+2-devel >= 2.1.0
17 BuildRequires:  intltool >= 0.23
18 BuildRequires:  libglade2-devel >= 2.0.1
19 BuildRequires:  libgnomeui-devel >= 2.1.2
20 BuildRequires:  libtool
21 BuildRequires:  libwnck-devel >= 2.1.3
22 BuildRequires:  pkgconfig >= 0.12.0
23 BuildRequires:  scrollkeeper >= 0.3.11
24 BuildConflicts: GConf-devel < 1.0.9-7
25 Requires(post,postun): scrollkeeper
26 Requires(post,postun): /sbin/ldconfig
27 Requires(post): GConf2
28 Requires:       gnome-desktop >= 2.1.2
29 Requires:       libgnomeui >= 2.1.2
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %define         _prefix         /usr/X11R6
33 %define         _mandir         %{_prefix}/man
34 %define         _sysconfdir     /etc/X11/GNOME2
35 %define         _gtkdocdir      %{_defaultdocdir}/gtk-doc/html
36 %define         _omf_dest_dir   %(scrollkeeper-config --omfdir)
37 %define         _serverdir      /usr/lib/bonobo/servers
38
39 %description
40 GNOME (GNU Network Object Model Environment) is a user-friendly set of
41 applications and desktop tools to be used in conjunction with a window
42 manager for the X Window System. GNOME is similar in purpose and scope
43 to CDE and KDE, but GNOME is based completely on free software.
44
45 The GNOME panel packages provides the gnome panel, menus and some
46 basic applets for the panel.
47
48 %description -l pl
49 GNOME (GNU Network Object Model Environment) to zestaw przyjaznych
50 dla u¿ytkownika aplikacji i narzêdzi do u¿ywania w po³±czeniu z
51 zarz±dc± okien pod X. GNOME ma podobny cel jak CDE i KDE, ale bazuje
52 ca³kowicie na wolnym oprogramowaniu.
53
54 Ten pakiet dostarcza panel GNOME2, menu oraz podstawowe aplety dla
55 panelu GNOME2.
56
57 %package devel
58 Summary:        GNOME panel includes, and more
59 Summary(pl):    Pliki nag³ówkowe biblioteki panelu GNOME
60 Group:          X11/Development/Libraries
61 Requires:       %{name} = %{version}
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 %{__autoconf}
91 %{__automake}
92 %configure \
93         --enable-gtk-doc \
94         --with-html-path=%{_gtkdocdir}
95
96 %{__make}
97
98 %install
99 rm -rf $RPM_BUILD_ROOT
100
101 %{__make} install \
102         DESTDIR=$RPM_BUILD_ROOT \
103         omf_dest_dir=%{_omf_dest_dir}/%{name} \
104         pkgconfigdir=%{_pkgconfigdir} \
105         HTML_DIR=%{_gtkdocdir} \
106         serverdir=%{_serverdir}
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_CONFIG_SOURCE="`%{_bindir}/gconftool-2 --get-default-source`" \
120 %{_bindir}/gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/*.schemas > /dev/null 
121
122 %postun 
123 /sbin/ldconfig
124 scrollkeeper-update
125
126 %files -f %{name}.lang
127 %defattr(644,root,root,755)
128 %doc AUTHORS *ChangeLog NEWS README
129 %config %{_sysconfdir}/gconf/schemas/*
130 %config %{_sysconfdir}/sound/events/*
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}/libgen_util_applet*.so
135 %attr(755,root,root) %{_libdir}/%{name}/libnotification-area-applet.so
136 %{_serverdir}/*
137 %{_datadir}/control-center-2.0/capplets/*
138 %{_datadir}/gen_util
139 %{_datadir}/gnome/panel
140 %{_datadir}/gnome-2.0/ui/*
141 %{_datadir}/gnome-panel*
142 %{_datadir}/idl/gnome-panel-2.0
143 %{_datadir}/pixmaps/*
144 %{_omf_dest_dir}/%{name}
145 %{_mandir}/man1/*
146
147 %files devel
148 %defattr(644,root,root,755)
149 %attr(755,root,root) %{_libdir}/libpanel-applet*.??
150 %{_gtkdocdir}/panel-applet
151 %{_includedir}/panel-2.0
152 %{_pkgconfigdir}/*.pc
153 %{_libdir}/libgen_util_applet*.la
154 %{_libdir}/%{name}/libnotification-area-applet.la
155
156 %files static
157 %defattr(644,root,root,755)
158 %{_libdir}/lib*.a
159 %{_libdir}/%{name}/*.a
This page took 0.085452 seconds and 4 git commands to generate.