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