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