2 Summary: File manager for GTK
3 Summary(pl.UTF-8): Zarządca plików dla GTK
8 Group: X11/Applications
9 Source0: http://downloads.sourceforge.net/pcmanfm/%{name}-%{version}.tar.gz
10 # Source0-md5: f31ed6defb600f7046a456220d8efa3a
11 Patch0: %{name}-werror.patch
12 URL: http://pcmanfm.sourceforge.net/
13 BuildRequires: autoconf >= 2.53
14 BuildRequires: automake
15 BuildRequires: dbus-glib-devel >= 0.31
16 BuildRequires: fam-devel
17 BuildRequires: gettext-devel
18 BuildRequires: gtk+2-devel >= 2:2.8
19 BuildRequires: hal-devel >= 0.5.0
20 BuildRequires: intltool
21 BuildRequires: libfm-devel >= %{libfm}
22 BuildRequires: libtool
23 BuildRequires: menu-cache-devel >= 0.3.2
24 BuildRequires: pkgconfig
25 BuildRequires: startup-notification-devel
26 Requires(post,postun): desktop-file-utils
27 Requires(post,postun): shared-mime-info
28 Requires: gnome-icon-theme
29 Requires: libfm >= %{libfm}
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 pcmanfm is a fast and lightweight file manager which features tabbed
34 browsing and user-friendly interface.
36 %description -l pl.UTF-8
37 pcmanfm jest szybkim i lekkim zarządcą plików z przyjaznym interfejsem
38 użytkownika, umożliwiającym przeglądanie katalogów w zakładkach.
55 rm -rf $RPM_BUILD_ROOT
57 DESTDIR=$RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT/etc/xdg/pcmanfm/LXDE
62 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/tt_RU
64 %find_lang %{name} --all-name
67 rm -rf $RPM_BUILD_ROOT
70 %update_desktop_database
73 %update_desktop_database_postun
75 %files -f %{name}.lang
76 %defattr(644,root,root,755)
79 %dir /etc/xdg/pcmanfm/default
80 %dir /etc/xdg/pcmanfm/LXDE
81 %config(noreplace) %verify(not md5 mtime size) /etc/xdg/pcmanfm/default/pcmanfm.conf
82 %attr(755,root,root) %{_bindir}/%{name}
83 %dir %{_datadir}/%{name}
84 %{_datadir}/%{name}/ui
85 %{_desktopdir}/%{name}*.desktop