]>
Commit | Line | Data |
---|---|---|
d961b6c7 MB |
1 | Summary: Graphical directory tree analyzer |
2 | Summary(pl.UTF-8): Graficzny analizator drzew katalogów | |
3 | Name: baobab | |
c1477070 | 4 | Version: 3.12.0 |
aa08e8c9 | 5 | Release: 1 |
d961b6c7 MB |
6 | License: GPL v2 |
7 | Group: X11/Applications | |
c1477070 MB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/baobab/3.12/%{name}-%{version}.tar.xz |
9 | # Source0-md5: d4a66371304e3ee4387723cbf091be31 | |
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 | |
953bc39f AF |
15 | BuildRequires: glib2-devel >= 1:2.37.5 |
16 | BuildRequires: gtk+3-devel >= 3.9.10 | |
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 | |
c1477070 | 22 | BuildRequires: vala >= 0.24.0 |
d961b6c7 MB |
23 | BuildRequires: yelp-tools |
24 | Requires(post,postun): glib2 >= 1:2.26.0 | |
25 | Requires(post,postun): gtk-update-icon-cache | |
26 | Requires: glib2 >= 1:2.30.0 | |
ae9f61ac | 27 | Requires: gtk+3 >= 3.8.0 |
d961b6c7 | 28 | Requires: hicolor-icon-theme |
853cab36 ER |
29 | Provides: gnome-utils-baobab = 1:%{version}-%{release} |
30 | Obsoletes: gnome-utils-baobab < 1:3.3.2-1 | |
d961b6c7 MB |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
32 | ||
33 | %description | |
34 | baobab is a graphical directory tree analyzer. | |
35 | ||
36 | %description -l pl.UTF-8 | |
37 | baobab jest graficznym analizatorem drzew katalogów. | |
38 | ||
39 | %prep | |
40 | %setup -q | |
ae9f61ac | 41 | %patch0 -p1 |
d961b6c7 MB |
42 | |
43 | %build | |
44 | %{__intltoolize} | |
953bc39f | 45 | %{__aclocal} -I m4 |
d961b6c7 MB |
46 | %{__autoheader} |
47 | %{__autoconf} | |
48 | %{__automake} | |
49 | %configure \ | |
50 | --disable-silent-rules | |
51 | %{__make} | |
52 | ||
53 | %install | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %{__make} install \ | |
57 | DESTDIR=$RPM_BUILD_ROOT | |
58 | ||
59 | %find_lang %{name} --with-gnome | |
60 | ||
61 | %clean | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %post | |
ae9f61ac | 65 | %update_icon_cache HighContrast |
d961b6c7 MB |
66 | %update_icon_cache hicolor |
67 | %glib_compile_schemas | |
68 | ||
69 | %postun | |
ae9f61ac | 70 | %update_icon_cache HighContrast |
d961b6c7 MB |
71 | %update_icon_cache hicolor |
72 | %glib_compile_schemas | |
73 | ||
74 | %files -f %{name}.lang | |
75 | %defattr(644,root,root,755) | |
aa08e8c9 | 76 | %doc AUTHORS ChangeLog NEWS README |
d961b6c7 MB |
77 | %attr(755,root,root) %{_bindir}/baobab |
78 | %{_desktopdir}/baobab.desktop | |
79 | %{_iconsdir}/hicolor/*/*/*.png | |
aa08e8c9 | 80 | %{_iconsdir}/hicolor/*/*/*.svg |
ae9f61ac | 81 | %{_iconsdir}/HighContrast/*/*/*.png |
d961b6c7 MB |
82 | %{_datadir}/glib-2.0/schemas/org.gnome.baobab.gschema.xml |
83 | %{_mandir}/man1/baobab.1* | |
953bc39f | 84 | %{_datadir}/appdata/baobab.appdata.xml |