]>
Commit | Line | Data |
---|---|---|
933ced22 | 1 | %define xfce_version 4.12.0 |
43868316 | 2 | Summary: Next generation panel for Xfce |
4e64a1c3 | 3 | Summary(pl.UTF-8): Panel nowej generacji dla Xfce |
65aec616 | 4 | Name: xfce4-panel |
933ced22 JR |
5 | Version: 4.12.0 |
6 | Release: 1 | |
47bfbd26 | 7 | License: GPL v2, LGPL v2 |
65aec616 | 8 | Group: X11/Applications |
933ced22 JR |
9 | Source0: http://archive.xfce.org/src/xfce/xfce4-panel/4.12/%{name}-%{version}.tar.bz2 |
10 | # Source0-md5: 5a333af704e386c90ad829b6baf1a758 | |
556bcad2 | 11 | Patch0: %{name}-no-empty-panel.patch |
8c464e23 MB |
12 | URL: http://www.xfce.org/projects/xfce4-panel |
13 | BuildRequires: dbus-glib-devel >= 0.73 | |
c06c38aa KK |
14 | BuildRequires: docbook-dtd412-xml |
15 | BuildRequires: docbook-style-xsl | |
3c822a9e | 16 | BuildRequires: exo-devel >= 0.8.0 |
933ced22 JR |
17 | BuildRequires: garcon-devel >= 0.4.0 |
18 | BuildRequires: garcon-gtk2-devel >= 0.4.0 | |
01bde748 | 19 | BuildRequires: gettext-tools |
933ced22 JR |
20 | BuildRequires: glib2-devel >= 1:2.30.0 |
21 | BuildRequires: gtk+2-devel >= 2:2.24.0 | |
dfa8cf74 | 22 | BuildRequires: gtk+3-devel |
8c464e23 | 23 | BuildRequires: gtk-doc >= 1.9 |
47bfbd26 | 24 | BuildRequires: gtk-doc-automake |
773c5e24 | 25 | BuildRequires: intltool >= 0.35.0 |
921babdb | 26 | BuildRequires: libwnck2-devel >= 2.22.0 |
8c464e23 | 27 | BuildRequires: libxfce4ui-devel >= %{xfce_version} |
c7ca6d5b | 28 | BuildRequires: libxfce4util-devel >= %{xfce_version} |
8264768a | 29 | BuildRequires: libxslt-progs |
67aca298 | 30 | BuildRequires: pkgconfig >= 1:0.9.0 |
8c464e23 MB |
31 | BuildRequires: rpmbuild(macros) >= 1.601 |
32 | BuildRequires: xfce4-dev-tools >= %{xfce_version} | |
933ced22 | 33 | BuildRequires: xfconf-devel >= %{xfce_version} |
57b7c321 | 34 | Requires: %{name}-libs = %{version}-%{release} |
8c464e23 MB |
35 | Requires: gtk-update-icon-cache |
36 | Requires: hicolor-icon-theme | |
37 | # NOTE: xfce4-icon-theme doesn't match XDG specification. | |
38 | # Use Tango as a default icon theme. | |
6b1a7397 | 39 | Requires: tango-icon-theme |
b93f7cae | 40 | Requires: xfce4-dirs >= 4.6 |
8c464e23 | 41 | Suggests: xfce-preferred-applications |
57b7c321 MB |
42 | Obsoletes: xfce4-iconbox |
43 | Obsoletes: xfce4-showdesktop-plugin | |
47bfbd26 | 44 | Obsoletes: xfce4-systray |
57b7c321 | 45 | Obsoletes: xfce4-taskbar-plugin |
3a109395 | 46 | Obsoletes: xfce4-themes |
57b7c321 | 47 | Obsoletes: xfce4-windowlist-plugin |
76984d46 | 48 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
49 | ||
50 | %description | |
43868316 | 51 | xfce4-panel is the panel for the Xfce desktop environment. |
56b6c781 | 52 | |
d0bd5559 JR |
53 | %description -l pl.UTF-8 |
54 | xfce4-panel to panel dla środowiska Xfce. | |
56b6c781 | 55 | |
6fdc689b MB |
56 | %package apidocs |
57 | Summary: Xfce panel API documentation | |
4e64a1c3 | 58 | Summary(pl.UTF-8): Dokumentacja API panelu Xfce |
6fdc689b MB |
59 | Group: Documentation |
60 | Requires: gtk-doc-common | |
61 | ||
62 | %description apidocs | |
63 | Xfce panel API documentation. | |
64 | ||
d0bd5559 | 65 | %description apidocs -l pl.UTF-8 |
6fdc689b MB |
66 | Dokumentacja API panelu Xfce. |
67 | ||
24d83db8 | 68 | %package libs |
47bfbd26 | 69 | Summary: xfce4panel library |
4e64a1c3 | 70 | Summary(pl.UTF-8): Biblioteka xfce4panel |
0eb15afb | 71 | Group: X11/Development/Libraries |
24d83db8 | 72 | |
47bfbd26 | 73 | %description libs |
74 | This package contains xfce4panel library. | |
24d83db8 | 75 | |
d0bd5559 JR |
76 | %description libs -l pl.UTF-8 |
77 | Pakiet ten zawiera bibliotekę xfce4panel. | |
47bfbd26 | 78 | |
56b6c781 | 79 | %package devel |
43868316 | 80 | Summary: Header files for building Xfce panel plugins |
4e64a1c3 | 81 | Summary(pl.UTF-8): Pliki nagłówkowe do budowania wtyczek panelu Xfce |
0eb15afb | 82 | Group: X11/Development/Libraries |
47bfbd26 | 83 | Requires: %{name}-libs = %{version}-%{release} |
933ced22 JR |
84 | Requires: glib2-devel >= 1:2.30.0 |
85 | Requires: gtk+2-devel >= 2:2.24.0 | |
8c464e23 | 86 | Requires: libxfce4ui-devel >= %{xfce_version} |
c7ca6d5b | 87 | Requires: libxfce4util-devel >= %{xfce_version} |
56b6c781 JB |
88 | |
89 | %description devel | |
43868316 | 90 | Header files for building Xfce panel plugins. |
56b6c781 | 91 | |
d0bd5559 JR |
92 | %description devel -l pl.UTF-8 |
93 | Pliki nagłówkowe do budowania wtyczek panelu Xfce. | |
76984d46 | 94 | |
95 | %prep | |
96 | %setup -q | |
ff1a1387 | 97 | %patch0 -p1 |
76984d46 | 98 | |
99 | %build | |
47bfbd26 | 100 | %configure \ |
8c464e23 | 101 | --disable-static \ |
2638d5f9 | 102 | --enable-gtk-doc \ |
8c464e23 | 103 | --with-html-dir=%{_gtkdocdir} \ |
dfa8cf74 JR |
104 | --disable-silent-rules \ |
105 | --enable-gtk3 | |
56b6c781 | 106 | |
76984d46 | 107 | %{__make} |
108 | ||
109 | %install | |
110 | rm -rf $RPM_BUILD_ROOT | |
8c464e23 | 111 | install -d $RPM_BUILD_ROOT{%{_libdir},%{_datadir}}/xfce4/panel-plugins |
56b6c781 JB |
112 | |
113 | %{__make} install \ | |
114 | DESTDIR=$RPM_BUILD_ROOT | |
115 | ||
8c464e23 MB |
116 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.la |
117 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la | |
70bfe955 JR |
118 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK |
119 | ||
56b6c781 | 120 | %find_lang %{name} |
76984d46 | 121 | |
122 | %clean | |
123 | rm -rf $RPM_BUILD_ROOT | |
124 | ||
47bfbd26 | 125 | %post |
773c5e24 | 126 | %update_icon_cache hicolor |
47bfbd26 | 127 | |
128 | %postun | |
773c5e24 | 129 | %update_icon_cache hicolor |
47bfbd26 | 130 | |
131 | %post libs -p /sbin/ldconfig | |
132 | %postun libs -p /sbin/ldconfig | |
133 | ||
56b6c781 | 134 | %files -f %{name}.lang |
76984d46 | 135 | %defattr(644,root,root,755) |
8c464e23 | 136 | %doc AUTHORS ChangeLog NEWS README |
0eb15afb | 137 | %attr(755,root,root) %{_bindir}/xfce4-panel |
8c464e23 MB |
138 | %attr(755,root,root) %{_bindir}/xfce4-popup-applicationsmenu |
139 | %attr(755,root,root) %{_bindir}/xfce4-popup-directorymenu | |
140 | %attr(755,root,root) %{_bindir}/xfce4-popup-windowmenu | |
5fe191b2 | 141 | |
7f6cc512 | 142 | %dir %{_sysconfdir}/xdg/xfce4/panel |
8c464e23 | 143 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/xfce4/panel/default.xml |
0eb15afb | 144 | %dir %{_libdir}/xfce4 |
8c464e23 MB |
145 | %dir %{_libdir}/xfce4/panel |
146 | %attr(755,root,root) %{_libdir}/xfce4/panel/migrate | |
478935a0 | 147 | %attr(755,root,root) %{_libdir}/xfce4/panel/wrapper-1.0 |
dfa8cf74 | 148 | %attr(755,root,root) %{_libdir}/xfce4/panel/wrapper-2.0 |
56b6c781 | 149 | %dir %{_libdir}/xfce4/panel-plugins |
8c464e23 MB |
150 | %dir %{_libdir}/xfce4/panel/plugins |
151 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libactions.so | |
152 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libapplicationsmenu.so | |
153 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libclock.so | |
154 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libdirectorymenu.so | |
155 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/liblauncher.so | |
156 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libpager.so | |
157 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libseparator.so | |
158 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libshowdesktop.so | |
159 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libsystray.so | |
160 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libtasklist.so | |
161 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libwindowmenu.so | |
162 | %{_datadir}/xfce4/panel | |
163 | %dir %{_datadir}/xfce4/panel-plugins | |
5fe191b2 | 164 | %{_iconsdir}/hicolor/*/*/* |
47bfbd26 | 165 | %{_desktopdir}/*.desktop |
5fe191b2 | 166 | |
6fdc689b MB |
167 | %files apidocs |
168 | %defattr(644,root,root,755) | |
8c464e23 | 169 | %{_gtkdocdir}/libxfce4panel-1.0 |
47bfbd26 | 170 | |
171 | %files libs | |
172 | %defattr(644,root,root,755) | |
8c464e23 | 173 | %attr(755,root,root) %{_libdir}/libxfce4panel-1.0.so.*.*.* |
0f8917a7 | 174 | %attr(755,root,root) %ghost %{_libdir}/libxfce4panel-1.0.so.4 |
dfa8cf74 JR |
175 | %attr(755,root,root) %{_libdir}/libxfce4panel-2.0.so.*.*.* |
176 | %attr(755,root,root) %ghost %{_libdir}/libxfce4panel-2.0.so.4 | |
c634f874 | 177 | |
56b6c781 JB |
178 | %files devel |
179 | %defattr(644,root,root,755) | |
8c464e23 | 180 | %attr(755,root,root) %{_libdir}/libxfce4panel-1.0.so |
dfa8cf74 | 181 | %attr(755,root,root) %{_libdir}/libxfce4panel-2.0.so |
8c464e23 | 182 | %{_includedir}/xfce4/libxfce4panel-1.0 |
dfa8cf74 | 183 | %{_includedir}/xfce4/libxfce4panel-2.0 |
0eb15afb | 184 | %{_pkgconfigdir}/libxfce4panel-1.0.pc |
dfa8cf74 | 185 | %{_pkgconfigdir}/libxfce4panel-2.0.pc |