]> git.pld-linux.org Git - packages/pcmanfm.git/blobdiff - pcmanfm.spec
- up to 0.9.9
[packages/pcmanfm.git] / pcmanfm.spec
index 494cf9088ac81f4c85070909edbc24ae0ddc0196..7877204a6c8570875648905e8164a1ddb081dd1f 100644 (file)
@@ -1,55 +1,79 @@
+# TODO
+# - unpackaged: /etc/xdg/pcmanfm/default/pcmanfm.conf
+%define                libfm   0.1.16
 Summary:       File manager for GTK
-Summary(pl):   Zarz±dca plików dla GTK
+Summary(pl.UTF-8):     Zarządca plików dla GTK
 Name:          pcmanfm
-Version:       0.1.8.9
+Version:       0.9.9
 Release:       1
-License:       GPL v2
+License:       GPL v2+
 Group:         X11/Applications
-Source0:       http://dl.sourceforge.net/pcmanfm/%{name}-%{version}.tar.gz
-# Source0-md5: eb87fae1cfec9f0835712ee29bd57af5
-Source1:       %{name}.desktop
+Source0:       http://downloads.sourceforge.net/pcmanfm/%{name}-%{version}.tar.gz
+# Source0-md5: f31ed6defb600f7046a456220d8efa3a
+Patch0:                %{name}-werror.patch
 URL:           http://pcmanfm.sourceforge.net/
 BuildRequires: autoconf >= 2.53
 BuildRequires: automake
-BuildRequires: gamin-devel
+BuildRequires: dbus-glib-devel >= 0.31
+BuildRequires: fam-devel
+BuildRequires: gettext-devel
 BuildRequires: gtk+2-devel >= 2:2.8
+BuildRequires: hal-devel >= 0.5.0
+BuildRequires: intltool
+BuildRequires: libfm-devel >= %{libfm}
+BuildRequires: libtool
+BuildRequires: menu-cache-devel >= 0.3.2
 BuildRequires: pkgconfig
+BuildRequires: startup-notification-devel
+Requires(post,postun): desktop-file-utils
+Requires(post,postun): shared-mime-info
+Requires:      gnome-icon-theme
+Requires:      libfm >= %{libfm}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 pcmanfm is a fast and lightweight file manager which features tabbed
 browsing and user-friendly interface.
 
-%description -l pl
-pcmanfm jest szybkim i lekkim zarz±dc± plików z przyjaznym interfejsem
-u¿ytkownika, umo¿liwiaj±cym przegl±danie katalogów w zak³adkach.
+%description -l pl.UTF-8
+pcmanfm jest szybkim i lekkim zarządcą plików z przyjaznym interfejsem
+użytkownika, umożliwiającym przeglądanie katalogów w zakładkach.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
+%{__intltoolize}
+%{__libtoolize}
 %{__aclocal}
 %{__autoconf}
+%{__autoheader}
 %{__automake}
 %configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_desktopdir}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
-
 %find_lang %{name} --all-name
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%update_desktop_database
+
+%postun
+%update_desktop_database_postun
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README TODO
+%doc AUTHORS TODO
 %attr(755,root,root) %{_bindir}/%{name}
-%{_desktopdir}/%{name}.desktop
+%dir %{_datadir}/%{name}
+%{_datadir}/%{name}/ui
+%{_desktopdir}/%{name}*.desktop
This page took 0.043976 seconds and 4 git commands to generate.