]> git.pld-linux.org Git - packages/Thunar.git/blobdiff - Thunar.spec
- Requires(post,postun): gtk-update-icon-cache
[packages/Thunar.git] / Thunar.spec
index a0c49a824280dd13d1f47c10343089dc7822ace4..322d228dad83fbe9e3f38b858cf498cd91d1fd80 100644 (file)
@@ -2,21 +2,25 @@
 # Conditional build:
 %bcond_without static_libs     # don't build static library
 #
-%define                xfce_version    4.4.0
+%define                xfce_version    4.6.2
 Summary:       Xfce file manager
 Summary(pl.UTF-8):     Zarządca plików Xfce
 Name:          Thunar
-Version:       0.8.0
-Release:       1
+Version:       1.0.2
+Release:       2
 License:       GPL v2 / LGPL v2
 Group:         X11/Applications
 Source0:       http://www.xfce.org/archive/xfce-%{xfce_version}/src/%{name}-%{version}.tar.bz2
-# Source0-md5: 9f7b0945d6a235391049f6818fb4d188
+# Source0-md5: c91073202d373a1f9951a1240083c36d
+Patch0:                %{name}-desktop.patch
 URL:           http://thunar.xfce.org/
 BuildRequires: GConf2-devel >= 2.16.0
+BuildRequires: autoconf >= 2.50
+BuildRequires: automake >= 1:1.8
 BuildRequires: dbus-glib-devel >= 0.62
-# XXX: gamin (>= 0.1.0) is preferred over fam
-BuildRequires: fam-devel
+BuildRequires: docbook-dtd412-xml
+BuildRequires: exo-devel >= 0.3.100
+BuildRequires: gamin-devel >= 0.1.0
 BuildRequires: gettext-devel
 BuildRequires: glib2-devel >= 1:2.12.4
 BuildRequires: gtk+2-devel >= 2:2.10.6
@@ -24,21 +28,25 @@ BuildRequires:      gtk-doc >= 1.7
 BuildRequires: hal-devel >= 0.5.7
 BuildRequires: intltool
 BuildRequires: libexif-devel >= 0.6.13
-BuildRequires: libexo-devel >= 0.3.2
 BuildRequires: libjpeg-devel
 BuildRequires: libpng-devel >= 1.2.12
+BuildRequires: libtool
 BuildRequires: libxfce4util-devel >= %{xfce_version}
+BuildRequires: libxfcegui4-devel >= %{xfce_version}
 BuildRequires: pcre-devel >= 6.0
 BuildRequires: perl-base
 BuildRequires: pkgconfig
 BuildRequires: rpmbuild(macros) >= 1.311
 BuildRequires: startup-notification-devel >= 0.8
+BuildRequires: xfce4-dev-tools
 BuildRequires: xfce4-panel-devel >= %{xfce_version}
-Requires(post,postun): gtk+2
+BuildRequires: xfconf-devel >= %{xfce_version}
+Requires(post,postun): desktop-file-utils
+Requires(post,postun): gtk-update-icon-cache
 Requires(post,postun): hicolor-icon-theme
 Requires:      %{name}-libs = %{version}-%{release}
+Requires:      exo >= 0.3.100
 Requires:      hal >= 0.5.7
-Requires:      libexo >= 0.3.2
 Requires:      shared-mime-info >= 0.15
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -64,7 +72,7 @@ Dokumentacja API Thunar.
 %package libs
 Summary:       Thunar libraries
 Summary(pl.UTF-8):     Biblioteki Thunar
-Group:         Libraries
+Group:         X11/Libraries
 
 %description libs
 Thunar libraries.
@@ -75,14 +83,10 @@ Biblioteki Thunar.
 %package devel
 Summary:       Header files for Thunar libraries
 Summary(pl.UTF-8):     Pliki nagłówkowe bibliotek Thunar
-Group:         Development/Libraries
+Group:         X11/Development/Libraries
 Requires:      %{name}-libs = %{version}-%{release}
-Requires:      GConf2-devel >= 2.16.0
-Requires:      dbus-glib-devel >= 0.62
-Requires:      fam-devel
-Requires:      hal-devel >= 0.5.7
-Requires:      libexo-devel >= 0.3.2
-Requires:      libjpeg-devel
+Requires:      exo-devel >= 0.3.100
+Requires:      gtk+2-devel >= 2:2.10.6
 
 %description devel
 This is the package containing the header files for Thunar libraries.
@@ -93,7 +97,7 @@ Ten pakiet zawiera pliki nagłówkowe biblioteki Thunar.
 %package static
 Summary:       Static Thunar libraries
 Summary(pl.UTF-8):     Statyczne biblioteki Thunar
-Group:         Development/Libraries
+Group:         X11/Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
@@ -104,8 +108,16 @@ Statyczne biblioteki Thunar.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
+%{__gtkdocize}
+%{__intltoolize}
+%{__libtoolize}
+%{__aclocal}
+%{__automake}
+%{__autoheader}
+%{__autoconf}
 %configure \
        --enable-dbus \
        --enable-exif \
@@ -126,15 +138,19 @@ rm -rf $RPM_BUILD_ROOT
 
 rm -f $RPM_BUILD_ROOT%{_libdir}/thunarx-1/*.{a,la}
 
+rm -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK
+
 %find_lang %{name} --all-name
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
+%update_desktop_database_post
 %update_icon_cache hicolor
 
 %postun
+%update_desktop_database_postun
 %update_icon_cache hicolor
 
 %post  libs -p /sbin/ldconfig
@@ -174,31 +190,45 @@ rm -rf $RPM_BUILD_ROOT
 %{_docdir}/Thunar/*.txt
 %{_docdir}/Thunar/html/C
 %{_docdir}/Thunar/html/*.css
+%lang(da) %{_docdir}/Thunar/html/da
 %lang(es) %{_docdir}/Thunar/html/es
 %lang(eu) %{_docdir}/Thunar/html/eu
 %lang(fr) %{_docdir}/Thunar/html/fr
+%lang(gl) %{_docdir}/Thunar/html/gl
+%lang(it) %{_docdir}/Thunar/html/it
 %lang(ja) %{_docdir}/Thunar/html/ja
+%lang(nl) %{_docdir}/Thunar/html/nl
 %lang(pl) %{_docdir}/Thunar/html/pl
 %lang(ru) %{_docdir}/Thunar/html/ru
+%lang(tr) %{_docdir}/Thunar/html/tr
 %lang(zh_TW) %{_docdir}/Thunar/html/zh_TW
 
 %files apidocs
 %defattr(644,root,root,755)
-%{_gtkdocdir}/thunar*
+%{_gtkdocdir}/thunar-vfs
+%{_gtkdocdir}/thunarx
 
 %files libs
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%attr(755,root,root) %{_libdir}/libthunar-vfs-1.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libthunar-vfs-1.so.2
+%attr(755,root,root) %{_libdir}/libthunarx-1.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libthunarx-1.so.2
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.so
-%{_libdir}/lib*.la
-%{_includedir}/thunar*
-%{_pkgconfigdir}/*.pc
+%attr(755,root,root) %{_libdir}/libthunar-vfs-1.so
+%attr(755,root,root) %{_libdir}/libthunarx-1.so
+%{_libdir}/libthunar-vfs-1.la
+%{_libdir}/libthunarx-1.la
+%{_includedir}/thunar-vfs-1
+%{_includedir}/thunarx-1
+%{_pkgconfigdir}/thunar-vfs-1.pc
+%{_pkgconfigdir}/thunarx-1.pc
 
 %if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/*.a
+%{_libdir}/libthunar-vfs-1.a
+%{_libdir}/libthunarx-1.a
 %endif
This page took 0.072738 seconds and 4 git commands to generate.