]>
Commit | Line | Data |
---|---|---|
d961b6c7 MB |
1 | Summary: Graphical directory tree analyzer |
2 | Summary(pl.UTF-8): Graficzny analizator drzew katalogów | |
3 | Name: baobab | |
c5721e98 | 4 | Version: 3.8.2 |
aa08e8c9 | 5 | Release: 1 |
d961b6c7 MB |
6 | License: GPL v2 |
7 | Group: X11/Applications | |
ae9f61ac | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/baobab/3.8/%{name}-%{version}.tar.xz |
c5721e98 | 9 | # Source0-md5: 768edf897d3626140a56a568b7083241 |
ae9f61ac | 10 | Patch0: %{name}-desktop.patch |
d961b6c7 MB |
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 | |
ae9f61ac | 16 | BuildRequires: gtk+3-devel >= 3.8.0 |
d961b6c7 MB |
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 | |
ae9f61ac | 26 | Requires: gtk+3 >= 3.8.0 |
d961b6c7 | 27 | Requires: hicolor-icon-theme |
853cab36 ER |
28 | Provides: gnome-utils-baobab = 1:%{version}-%{release} |
29 | Obsoletes: gnome-utils-baobab < 1:3.3.2-1 | |
d961b6c7 MB |
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 | |
ae9f61ac | 40 | %patch0 -p1 |
d961b6c7 MB |
41 | |
42 | %build | |
43 | %{__intltoolize} | |
aa08e8c9 | 44 | %{__aclocal} -I m4 -I libgd |
d961b6c7 MB |
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 | |
ae9f61ac | 64 | %update_icon_cache HighContrast |
d961b6c7 MB |
65 | %update_icon_cache hicolor |
66 | %glib_compile_schemas | |
67 | ||
68 | %postun | |
ae9f61ac | 69 | %update_icon_cache HighContrast |
d961b6c7 MB |
70 | %update_icon_cache hicolor |
71 | %glib_compile_schemas | |
72 | ||
73 | %files -f %{name}.lang | |
74 | %defattr(644,root,root,755) | |
aa08e8c9 | 75 | %doc AUTHORS ChangeLog NEWS README |
d961b6c7 MB |
76 | %attr(755,root,root) %{_bindir}/baobab |
77 | %{_desktopdir}/baobab.desktop | |
78 | %{_iconsdir}/hicolor/*/*/*.png | |
aa08e8c9 | 79 | %{_iconsdir}/hicolor/*/*/*.svg |
ae9f61ac | 80 | %{_iconsdir}/HighContrast/*/*/*.png |
d961b6c7 MB |
81 | %{_datadir}/glib-2.0/schemas/org.gnome.baobab.gschema.xml |
82 | %{_mandir}/man1/baobab.1* |