]> git.pld-linux.org Git - packages/pcmanfm.git/blob - pcmanfm.spec
b6d02684c533117e50577788e5eea6afb3b98e00
[packages/pcmanfm.git] / pcmanfm.spec
1 %define         libfm   0.1.16
2 Summary:        File manager for GTK
3 Summary(pl.UTF-8):      Zarządca plików dla GTK
4 Name:           pcmanfm
5 Version:        0.9.9
6 Release:        2
7 License:        GPL v2+
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)
31
32 %description
33 pcmanfm is a fast and lightweight file manager which features tabbed
34 browsing and user-friendly interface.
35
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.
39
40 %prep
41 %setup -q
42 %patch0 -p1
43
44 %build
45 %{__intltoolize}
46 %{__libtoolize}
47 %{__aclocal}
48 %{__autoconf}
49 %{__autoheader}
50 %{__automake}
51 %configure
52 %{__make}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 # see lxde-common
60 install -d $RPM_BUILD_ROOT/etc/xdg/pcmanfm/LXDE
61
62 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/tt_RU
63
64 %find_lang %{name} --all-name
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %post
70 %update_desktop_database
71
72 %postun
73 %update_desktop_database_postun
74
75 %files -f %{name}.lang
76 %defattr(644,root,root,755)
77 %doc AUTHORS TODO
78 %dir /etc/xdg/pcmanfm
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
This page took 0.100659 seconds and 3 git commands to generate.