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