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