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