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