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