]> git.pld-linux.org Git - packages/pcmanfm.git/blob - pcmanfm.spec
6ffc81ca4217e4435cfbaeda7f017ce2745ced60
[packages/pcmanfm.git] / pcmanfm.spec
1 %define         libfm   0.1.17
2 Summary:        File manager for GTK
3 Summary(pl.UTF-8):      Zarządca plików dla GTK
4 Name:           pcmanfm
5 Version:        0.9.10
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:  d34a3530a6c5dcd674d23021d71c3e95
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:  intltool
20 BuildRequires:  libfm-devel >= %{libfm}
21 BuildRequires:  libtool
22 BuildRequires:  menu-cache-devel >= 0.3.2
23 BuildRequires:  pkgconfig
24 BuildRequires:  startup-notification-devel
25 Requires(post,postun):  desktop-file-utils
26 Requires(post,postun):  shared-mime-info
27 Requires:       libfm >= %{libfm}
28 Suggests:       gnome-icon-theme
29 Suggests:       lxde-icon-theme
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.256542 seconds and 2 git commands to generate.