2 # - unpackaged: /etc/xdg/pcmanfm/default/pcmanfm.conf
3 Summary: File manager for GTK
4 Summary(pl.UTF-8): Zarządca plików dla GTK
7 Release: 2.git6240436419
9 Group: X11/Applications
10 #Source0: http://downloads.sourceforge.net/pcmanfm/%{name}-%{version}.tar.gz
11 Source0: https://launchpad.net/ubuntu/+archive/primary/+files/%{name}_%{version}+git-6240436419.orig.tar.gz
12 # Source0-md5: d42c6d9ea8828abf52faae5439fd48c3
13 Patch0: %{name}-werror.patch
14 URL: http://pcmanfm.sourceforge.net/
15 BuildRequires: autoconf >= 2.53
16 BuildRequires: automake
17 BuildRequires: dbus-glib-devel >= 0.31
18 BuildRequires: fam-devel
19 BuildRequires: gettext-devel
20 BuildRequires: gtk+2-devel >= 2:2.8
21 BuildRequires: hal-devel >= 0.5.0
22 BuildRequires: intltool
23 BuildRequires: libfm-devel >= 0.1.15
24 BuildRequires: libtool
25 BuildRequires: menu-cache-devel >= 0.3.2
26 BuildRequires: pkgconfig
27 BuildRequires: startup-notification-devel
28 Requires(post,postun): desktop-file-utils
29 Requires(post,postun): shared-mime-info
30 Requires: gnome-icon-theme
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 pcmanfm is a fast and lightweight file manager which features tabbed
35 browsing and user-friendly interface.
37 %description -l pl.UTF-8
38 pcmanfm jest szybkim i lekkim zarządcą plików z przyjaznym interfejsem
39 użytkownika, umożliwiającym przeglądanie katalogów w zakładkach.
56 rm -rf $RPM_BUILD_ROOT
59 DESTDIR=$RPM_BUILD_ROOT
61 %find_lang %{name} --all-name
64 rm -rf $RPM_BUILD_ROOT
67 %update_desktop_database
70 %update_desktop_database_postun
72 %files -f %{name}.lang
73 %defattr(644,root,root,755)
75 %attr(755,root,root) %{_bindir}/%{name}
76 %dir %{_datadir}/%{name}
77 %{_datadir}/%{name}/ui
78 %{_desktopdir}/%{name}*.desktop