]> git.pld-linux.org Git - packages/pcmanfm.git/blame - pcmanfm.spec
- fix locales, package config dirs and file; rel 2
[packages/pcmanfm.git] / pcmanfm.spec
CommitLineData
332f94d4 1%define libfm 0.1.16
ad1c0913 2Summary: File manager for GTK
067c21a0 3Summary(pl.UTF-8): Zarządca plików dla GTK
ad1c0913 4Name: pcmanfm
332f94d4 5Version: 0.9.9
775bc6ee 6Release: 2
56c8c30b 7License: GPL v2+
ad1c0913 8Group: X11/Applications
332f94d4
ER
9Source0: http://downloads.sourceforge.net/pcmanfm/%{name}-%{version}.tar.gz
10# Source0-md5: f31ed6defb600f7046a456220d8efa3a
56c8c30b 11Patch0: %{name}-werror.patch
ad1c0913
MG
12URL: http://pcmanfm.sourceforge.net/
13BuildRequires: autoconf >= 2.53
14BuildRequires: automake
e5b49385 15BuildRequires: dbus-glib-devel >= 0.31
aeba780c 16BuildRequires: fam-devel
46b02937 17BuildRequires: gettext-devel
a0c93ea2 18BuildRequires: gtk+2-devel >= 2:2.8
e5b49385
MB
19BuildRequires: hal-devel >= 0.5.0
20BuildRequires: intltool
332f94d4 21BuildRequires: libfm-devel >= %{libfm}
e5b49385 22BuildRequires: libtool
56c8c30b 23BuildRequires: menu-cache-devel >= 0.3.2
ad1c0913 24BuildRequires: pkgconfig
bb04c256 25BuildRequires: startup-notification-devel
e5b49385
MB
26Requires(post,postun): desktop-file-utils
27Requires(post,postun): shared-mime-info
4b1b646f 28Requires: gnome-icon-theme
332f94d4 29Requires: libfm >= %{libfm}
ad1c0913
MG
30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32%description
33pcmanfm is a fast and lightweight file manager which features tabbed
34browsing and user-friendly interface.
35
4203178a
JR
36%description -l pl.UTF-8
37pcmanfm jest szybkim i lekkim zarządcą plików z przyjaznym interfejsem
38użytkownika, umożliwiającym przeglądanie katalogów w zakładkach.
ad1c0913
MG
39
40%prep
332f94d4 41%setup -q
56c8c30b 42%patch0 -p1
ad1c0913
MG
43
44%build
e5b49385
MB
45%{__intltoolize}
46%{__libtoolize}
ad1c0913
MG
47%{__aclocal}
48%{__autoconf}
e5b49385 49%{__autoheader}
ad1c0913
MG
50%{__automake}
51%configure
52%{__make}
53
54%install
55rm -rf $RPM_BUILD_ROOT
ad1c0913
MG
56%{__make} install \
57 DESTDIR=$RPM_BUILD_ROOT
58
775bc6ee
ER
59# see lxde-common
60install -d $RPM_BUILD_ROOT/etc/xdg/pcmanfm/LXDE
61
62%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/tt_RU
63
ad1c0913
MG
64%find_lang %{name} --all-name
65
66%clean
67rm -rf $RPM_BUILD_ROOT
68
e5b49385 69%post
e5b49385
MB
70%update_desktop_database
71
72%postun
e5b49385
MB
73%update_desktop_database_postun
74
ad1c0913
MG
75%files -f %{name}.lang
76%defattr(644,root,root,755)
888447d2 77%doc AUTHORS TODO
775bc6ee
ER
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
ad1c0913 82%attr(755,root,root) %{_bindir}/%{name}
9733be84 83%dir %{_datadir}/%{name}
f0b995ca 84%{_datadir}/%{name}/ui
767db7a9 85%{_desktopdir}/%{name}*.desktop
This page took 0.080603 seconds and 4 git commands to generate.