]> git.pld-linux.org Git - packages/pcmanfm.git/blobdiff - pcmanfm.spec
- up to 0.9.9
[packages/pcmanfm.git] / pcmanfm.spec
index 18c3d83b4aa3e36b82dc1e2a68884ee1fb385da7..7877204a6c8570875648905e8164a1ddb081dd1f 100644 (file)
@@ -1,23 +1,34 @@
+# TODO
+# - unpackaged: /etc/xdg/pcmanfm/default/pcmanfm.conf
+%define                libfm   0.1.16
 Summary:       File manager for GTK
 Summary(pl.UTF-8):     Zarządca plików dla GTK
 Name:          pcmanfm
-Version:       0.3.6
+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: 2975a4f7e8f618664b30222365fc36ff
+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: dbus-glib-devel
+BuildRequires: dbus-glib-devel >= 0.31
 BuildRequires: fam-devel
-BuildRequires: hal-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:      shared-mime-info
+Requires:      libfm >= %{libfm}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -30,38 +41,39 @@ 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
 
-cp -a %{name}.desktop $RPM_BUILD_ROOT%{_desktopdir}
-mv $RPM_BUILD_ROOT%{_datadir}/locale/sv{_SE,}
-
 %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 TODO
 %attr(755,root,root) %{_bindir}/%{name}
-%{_desktopdir}/%{name}.desktop
-%{_pixmapsdir}/%{name}.png
 %dir %{_datadir}/%{name}
-%{_datadir}/%{name}/*.rules
-%{_datadir}/%{name}/icons/
-
-%{_datadir}/mime/packages/libmimetype.xml
+%{_datadir}/%{name}/ui
+%{_desktopdir}/%{name}*.desktop
This page took 0.028301 seconds and 4 git commands to generate.