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