]> git.pld-linux.org Git - packages/gnome-panel.git/blob - gnome-panel.spec
- updated dependencies; added apidocs bcond (appropriate gtk-doc not released yet)
[packages/gnome-panel.git] / gnome-panel.spec
1 #
2 # Conditional build:
3 %bcond_without  apidocs # gtk-doc documentation rebuild
4 #
5 Summary:        The core programs for the GNOME GUI desktop environment
6 Summary(pl.UTF-8):      Podstawowe programy środowiska graficznego GNOME
7 Name:           gnome-panel
8 Version:        3.18.0
9 Release:        0.1
10 License:        LGPL v2+ (library), GPL v2+ (the rest)
11 Group:          X11/Applications
12 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-panel/3.18/%{name}-%{version}.tar.xz
13 # Source0-md5:  83726071255423241cda93604b44c828
14 URL:            http://www.gnome.org/
15 BuildRequires:  autoconf >= 2.50
16 BuildRequires:  automake >= 1:1.13
17 BuildRequires:  cairo-devel >= 1.0.0
18 BuildRequires:  dconf-devel >= 0.14.0
19 BuildRequires:  docbook-dtd412-xml
20 BuildRequires:  evolution-data-server-devel >= 3.6.0
21 BuildRequires:  gdk-pixbuf2-devel >= 2.26.0
22 BuildRequires:  gettext-tools >= 0.12
23 BuildRequires:  glib2-devel >= 1:2.45.3
24 BuildRequires:  gnome-common >= 2.24.0
25 BuildRequires:  gnome-desktop-devel >= 3.4.0
26 BuildRequires:  gnome-menus-devel >= 3.8.0
27 BuildRequires:  gobject-introspection-devel >= 0.10.0
28 BuildRequires:  gtk+3-devel >= 3.15.2
29 %{?with_apidocs:BuildRequires:  gtk-doc >= 1.24.1}
30 BuildRequires:  intltool >= 0.40.6
31 BuildRequires:  libgweather-devel >= 3.10.1
32 BuildRequires:  librsvg-devel >= 2.36.2
33 BuildRequires:  libtool >= 2:2.2.6
34 BuildRequires:  libwnck-devel >= 3.4.6
35 BuildRequires:  pango-devel >= 1:1.15.4
36 BuildRequires:  perl-base
37 BuildRequires:  pkgconfig >= 1:0.15.0
38 BuildRequires:  polkit-devel
39 BuildRequires:  rpm-build >= 4.1-10
40 BuildRequires:  rpm-pythonprov
41 BuildRequires:  rpmbuild(find_lang) >= 1.23
42 BuildRequires:  rpmbuild(macros) >= 1.311
43 BuildRequires:  tar >= 1:1.22
44 BuildRequires:  telepathy-glib-devel >= 0.14.0
45 BuildRequires:  xorg-lib-libX11-devel
46 BuildRequires:  xorg-lib-libXau-devel
47 BuildRequires:  xorg-lib-libXrandr-devel >= 1.2.0
48 BuildRequires:  xz
49 BuildRequires:  yelp-tools
50 Requires(post,postun):  glib2 >= 1:2.45.3
51 Requires(post,postun):  gtk-update-icon-cache
52 Requires:       %{name}-libs = %{version}-%{release}
53 Requires:       dconf >= 0.14.0
54 Requires:       gdk-pixbuf2 >= 2.26.0
55 Requires:       gnome-desktop >= 3.4.0
56 Requires:       gnome-icon-theme >= 3.0.0
57 Requires:       gnome-menus >= 3.8.0
58 Requires:       hicolor-icon-theme
59 Requires:       libgweather >= 3.10.1
60 Requires:       libwnck >= 3.4.6
61 Requires:       pango >= 1:1.15.4
62 Requires:       telepathy-glib >= 0.14.0
63 Requires:       tzdata >= 2008b-4
64 Requires:       xdg-menus
65 Requires:       xorg-lib-libXrandr >= 1.2.0
66 Suggests:       evolution-data-server >= 3.6.0
67 Suggests:       gnome-screenshot
68 Suggests:       gnome-search-tool
69 Suggests:       polkit-gnome >= 0.93
70 # sr@Latn vs. sr@latin
71 Conflicts:      glibc-misc < 6:2.7
72 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
73
74 %description
75 GNOME (GNU Network Object Model Environment) is a user-friendly set of
76 applications and desktop tools to be used in conjunction with a window
77 manager for the X Window System. GNOME is similar in purpose and scope
78 to CDE and KDE, but GNOME is based completely on free software.
79
80 The gnome-panel packages provides the GNOME panel, menus and some
81 basic applets for the panel.
82
83 %description -l pl.UTF-8
84 GNOME (GNU Network Object Model Environment) to zestaw przyjaznych dla
85 użytkownika aplikacji i narzędzi do używania w połączeniu z zarządcą
86 okien pod X. GNOME ma podobny cel jak CDE i KDE, ale bazuje całkowicie
87 na wolnym oprogramowaniu.
88
89 Ten pakiet dostarcza panel GNOME2, menu oraz podstawowe aplety dla
90 panelu GNOME2.
91
92 %package libs
93 Summary:        GNOME panel library
94 Summary(pl.UTF-8):      Biblioteka panelu GNOME
95 Group:          X11/Libraries
96 Requires:       cairo >= 1.0.0
97 Requires:       glib2 >= 1:2.45.3
98 Requires:       gtk+3 >= 3.15.2
99 Requires:       librsvg >= 1:2.36.2
100
101 %description libs
102 GNOME panel library.
103
104 %description libs -l pl.UTF-8
105 Biblioteka panelu GNOME.
106
107 %package devel
108 Summary:        GNOME panel includes, and more
109 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki panelu GNOME
110 Group:          X11/Development/Libraries
111 Requires:       %{name}-libs = %{version}-%{release}
112 Requires:       glib2-devel >= 1:2.45.3
113 Requires:       gtk+3-devel >= 3.15.2
114
115 %description devel
116 Panel header files for creating GNOME panels.
117
118 %description devel -l pl.UTF-8
119 Pliki nagłówkowe bibliotek panelu GNOME.
120
121 %package apidocs
122 Summary:        panel-applet API documentation
123 Summary(pl.UTF-8):      Dokumentacja API panel-applet
124 Group:          Documentation
125 Requires:       gtk-doc-common
126 %if "%{_rpmversion}" >= "5"
127 BuildArch:      noarch
128 %endif
129
130 %description apidocs
131 panel-applet API documentation.
132
133 %description apidocs -l pl.UTF-8
134 Dokumentacja API panel-applet.
135
136 %prep
137 %setup -q
138
139 # short circuit stopper (fix me!)
140 mv ChangeLog main-ChangeLog
141 find . -name ChangeLog |awk '{src=$0; dst=$0;sub("^./","",dst);gsub("/","-",dst); print "cp " src " " dst}'|sh
142
143 %build
144 %{__gtkdocize}
145 %{__intltoolize}
146 %{__libtoolize}
147 %{__aclocal} -I m4
148 %{__autoconf}
149 %{__autoheader}
150 %{__automake}
151 %configure \
152         --disable-silent-rules \
153         --disable-static \
154         --enable-eds \
155         %{?with_apidocs:--enable-gtk-doc} \
156         --with-html-dir=%{_gtkdocdir}
157 %{__make}
158
159 %install
160 rm -rf $RPM_BUILD_ROOT
161 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
162
163 %{__make} install \
164         DESTDIR=$RPM_BUILD_ROOT
165
166 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libpanel-applet.la \
167         $RPM_BUILD_ROOT%{_libdir}/gnome-panel/5.0/*.la
168
169 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{sr@ije,sr@ijekavian}
170
171 %find_lang %{name} --with-gnome --all-name
172
173 %clean
174 rm -rf $RPM_BUILD_ROOT
175
176 %post
177 %glib_compile_schemas
178 %update_icon_cache hicolor
179
180 %postun
181 %glib_compile_schemas
182 %update_icon_cache hicolor
183
184 %post   libs -p /sbin/ldconfig
185 %postun libs -p /sbin/ldconfig
186
187 %files -f %{name}.lang
188 %defattr(644,root,root,755)
189 %doc AUTHORS NEWS README *ChangeLog
190 %attr(755,root,root) %{_bindir}/gnome-desktop-item-edit
191 %attr(755,root,root) %{_bindir}/gnome-panel
192 %attr(755,root,root) %{_bindir}/panel-test-applets
193 %dir %{_libdir}/%{name}
194 %dir %{_libdir}/%{name}/5.0
195 %attr(755,root,root) %{_libdir}/%{name}/5.0/libclock-applet.so
196 %attr(755,root,root) %{_libdir}/%{name}/5.0/libfish-applet.so
197 %attr(755,root,root) %{_libdir}/%{name}/5.0/libnotification-area-applet.so
198 %attr(755,root,root) %{_libdir}/%{name}/5.0/libwnck-applet.so
199 %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.applet.clock.gschema.xml
200 %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.applet.fish.gschema.xml
201 %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.applet.window-list.gschema.xml
202 %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.applet.workspace-switcher.gschema.xml
203 %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.enums.xml
204 %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.gschema.xml
205 %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.launcher.gschema.xml
206 %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.menu-button.gschema.xml
207 %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.object.gschema.xml
208 %{_datadir}/glib-2.0/schemas/org.gnome.gnome-panel.toplevel.gschema.xml
209 %{_datadir}/gnome-panel
210 %{_desktopdir}/gnome-panel.desktop
211 %{_iconsdir}/hicolor/*/apps/gnome-panel*.*
212 %{_mandir}/man1/gnome-panel.1*
213
214 %files libs
215 %defattr(644,root,root,755)
216 %attr(755,root,root) %{_libdir}/libpanel-applet.so.*.*.*
217 %attr(755,root,root) %ghost %{_libdir}/libpanel-applet.so.0
218 %{_libdir}/girepository-1.0/PanelApplet-5.0.typelib
219
220 %files devel
221 %defattr(644,root,root,755)
222 %attr(755,root,root) %{_libdir}/libpanel-applet.so
223 %{_includedir}/gnome-panel
224 %{_pkgconfigdir}/libpanel-applet.pc
225 %{_datadir}/gir-1.0/PanelApplet-5.0.gir
226
227 %files apidocs
228 %defattr(644,root,root,755)
229 %{_gtkdocdir}/libpanel-applet
This page took 0.048044 seconds and 4 git commands to generate.