]>
Commit | Line | Data |
---|---|---|
1 | Summary: Graphical directory tree analyzer | |
2 | Summary(pl.UTF-8): Graficzny analizator drzew katalogów | |
3 | Name: baobab | |
4 | Version: 3.8.2 | |
5 | Release: 1 | |
6 | License: GPL v2 | |
7 | Group: X11/Applications | |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/baobab/3.8/%{name}-%{version}.tar.xz | |
9 | # Source0-md5: 768edf897d3626140a56a568b7083241 | |
10 | Patch0: %{name}-desktop.patch | |
11 | URL: http://live.gnome.org/GnomeUtils | |
12 | BuildRequires: autoconf >= 2.63 | |
13 | BuildRequires: automake >= 1:1.11 | |
14 | BuildRequires: gettext-devel >= 0.17 | |
15 | BuildRequires: glib2-devel >= 1:2.30.0 | |
16 | BuildRequires: gtk+3-devel >= 3.8.0 | |
17 | BuildRequires: intltool >= 0.40.0 | |
18 | BuildRequires: libgtop-devel | |
19 | BuildRequires: pkgconfig >= 1:0.22 | |
20 | BuildRequires: rpmbuild(find_lang) >= 1.35 | |
21 | BuildRequires: rpmbuild(macros) >= 1.592 | |
22 | BuildRequires: yelp-tools | |
23 | Requires(post,postun): glib2 >= 1:2.26.0 | |
24 | Requires(post,postun): gtk-update-icon-cache | |
25 | Requires: glib2 >= 1:2.30.0 | |
26 | Requires: gtk+3 >= 3.8.0 | |
27 | Requires: hicolor-icon-theme | |
28 | Provides: gnome-utils-baobab = 1:%{version}-%{release} | |
29 | Obsoletes: gnome-utils-baobab < 1:3.3.2-1 | |
30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
31 | ||
32 | %description | |
33 | baobab is a graphical directory tree analyzer. | |
34 | ||
35 | %description -l pl.UTF-8 | |
36 | baobab jest graficznym analizatorem drzew katalogów. | |
37 | ||
38 | %prep | |
39 | %setup -q | |
40 | %patch0 -p1 | |
41 | ||
42 | %build | |
43 | %{__intltoolize} | |
44 | %{__aclocal} -I m4 -I libgd | |
45 | %{__autoheader} | |
46 | %{__autoconf} | |
47 | %{__automake} | |
48 | %configure \ | |
49 | --disable-silent-rules | |
50 | %{__make} | |
51 | ||
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %{__make} install \ | |
56 | DESTDIR=$RPM_BUILD_ROOT | |
57 | ||
58 | %find_lang %{name} --with-gnome | |
59 | ||
60 | %clean | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %post | |
64 | %update_icon_cache HighContrast | |
65 | %update_icon_cache hicolor | |
66 | %glib_compile_schemas | |
67 | ||
68 | %postun | |
69 | %update_icon_cache HighContrast | |
70 | %update_icon_cache hicolor | |
71 | %glib_compile_schemas | |
72 | ||
73 | %files -f %{name}.lang | |
74 | %defattr(644,root,root,755) | |
75 | %doc AUTHORS ChangeLog NEWS README | |
76 | %attr(755,root,root) %{_bindir}/baobab | |
77 | %{_desktopdir}/baobab.desktop | |
78 | %{_iconsdir}/hicolor/*/*/*.png | |
79 | %{_iconsdir}/hicolor/*/*/*.svg | |
80 | %{_iconsdir}/HighContrast/*/*/*.png | |
81 | %{_datadir}/glib-2.0/schemas/org.gnome.baobab.gschema.xml | |
82 | %{_mandir}/man1/baobab.1* |