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