]> git.pld-linux.org Git - packages/pcmanfm.git/blob - pcmanfm.spec
7eec415d35f6b295ae42b5f14ee286bf44653f76
[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:        3
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:       libfm >= %{libfm}
29 Suggests:       gnome-icon-theme
30 Suggests:       lxde-icon-theme
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 pcmanfm is a fast and lightweight file manager which features tabbed
35 browsing and user-friendly interface.
36
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.
40
41 %prep
42 %setup -q
43 %patch0 -p1
44
45 %build
46 %{__intltoolize}
47 %{__libtoolize}
48 %{__aclocal}
49 %{__autoconf}
50 %{__autoheader}
51 %{__automake}
52 %configure
53 %{__make}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 # see lxde-common
61 install -d $RPM_BUILD_ROOT/etc/xdg/pcmanfm/LXDE
62
63 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/tt_RU
64
65 %find_lang %{name} --all-name
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %post
71 %update_desktop_database
72
73 %postun
74 %update_desktop_database_postun
75
76 %files -f %{name}.lang
77 %defattr(644,root,root,755)
78 %doc AUTHORS TODO
79 %dir /etc/xdg/pcmanfm
80 %dir /etc/xdg/pcmanfm/default
81 %dir /etc/xdg/pcmanfm/LXDE
82 %config(noreplace) %verify(not md5 mtime size) /etc/xdg/pcmanfm/default/pcmanfm.conf
83 %attr(755,root,root) %{_bindir}/%{name}
84 %dir %{_datadir}/%{name}
85 %{_datadir}/%{name}/ui
86 %{_desktopdir}/%{name}*.desktop
This page took 0.054242 seconds and 3 git commands to generate.