[521] | 1 | Summary: modern file manager |
---|
| 2 | Summary(ja): 近代的なファイルマネージャ |
---|
| 3 | Name: Thunar |
---|
[1068] | 4 | Version: 1.0.2 |
---|
[521] | 5 | Release: 1%{?_dist_release} |
---|
| 6 | License: GPLv2 and LGPLv2 |
---|
| 7 | URL: http://www.xfce.org/ |
---|
| 8 | Source0: http://www.xfce.org/archive/xfce-%{version}/src/%{name}-%{version}.tar.bz2 |
---|
| 9 | Group: User Interface/Desktops |
---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 11 | BuildRequires: libexo-devel >= 0.3.100 |
---|
| 12 | BuildRequires: glib2-devel >= 2.12.0 |
---|
| 13 | BuildRequires: gtk2-devel >= 2.10.0 |
---|
| 14 | BuildRequires: libxfce4util-devel >= 4.6.0 |
---|
| 15 | BuildRequires: libpng-devel >= 1.2.0 |
---|
| 16 | BuildRequires: dbus-glib-devel >= 0.34 |
---|
| 17 | BuildRequires: GConf2-devel >= 2.4.0 |
---|
| 18 | BuildRequires: startup-notification-devel >= 0.4 |
---|
| 19 | BuildRequires: freetype2-devel |
---|
| 20 | BuildRequires: gamin-devel >= 0.1.0 |
---|
| 21 | BuildRequires: hal-devel >= 0.5.0 |
---|
| 22 | BuildRequires: libexif-devel >= 0.6.0 |
---|
| 23 | BuildRequires: pcre-devel >= 6.0 |
---|
| 24 | BuildRequires: xfce4-panel-devel >= 4.3.90 |
---|
| 25 | |
---|
| 26 | Obsoletes: xffm |
---|
| 27 | |
---|
| 28 | %description |
---|
| 29 | Thunar is a modern file manager for the Unix/Linux desktop, aiming to be |
---|
| 30 | easy-to-use and fast. |
---|
| 31 | |
---|
| 32 | %package devel |
---|
| 33 | Summary: Development headers for Thunar |
---|
| 34 | Group: Development/Libraries |
---|
| 35 | Requires: %{name} = %{version}-%{release} |
---|
| 36 | Requires: libexo-devel >= 0.3.100 |
---|
| 37 | Requires: gtk2-devel >= 2.10.0 |
---|
| 38 | Requires: pkgconfig |
---|
| 39 | |
---|
| 40 | %description devel |
---|
| 41 | This package includes the header files you will need to build |
---|
| 42 | plugins for Thunar. |
---|
| 43 | |
---|
| 44 | %prep |
---|
| 45 | %setup -q |
---|
| 46 | |
---|
| 47 | %build |
---|
| 48 | %configure |
---|
| 49 | make %{?_smp_mflags} |
---|
| 50 | |
---|
| 51 | %install |
---|
| 52 | rm -rf $RPM_BUILD_ROOT |
---|
| 53 | %makeinstall |
---|
| 54 | |
---|
| 55 | rm -rf docs_to_include |
---|
| 56 | mkdir -p docs_to_include |
---|
| 57 | mv $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}/* docs_to_include |
---|
| 58 | #cp AUTHORS COPYING COPYING.LIB ChangeLog FAQ HACKING NEWS README THANKS TODO $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}-%{version} |
---|
| 59 | |
---|
| 60 | %find_lang %{name} |
---|
| 61 | |
---|
| 62 | ## remove unuse files |
---|
| 63 | rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la |
---|
| 64 | rm -rf $RPM_BUILD_ROOT/%{_libdir}/thunarx-1/*.la |
---|
| 65 | |
---|
| 66 | %clean |
---|
| 67 | rm -rf $RPM_BUILD_ROOT |
---|
| 68 | |
---|
| 69 | %post |
---|
| 70 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 71 | if [ -x %{_bindir}/gtk-update-icon-cache ] ; then |
---|
| 72 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
| 73 | fi |
---|
| 74 | /sbin/ldconfig |
---|
| 75 | |
---|
| 76 | %postun |
---|
| 77 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 78 | if [ -x %{_bindir}/gtk-update-icon-cache ] ; then |
---|
| 79 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
| 80 | fi |
---|
| 81 | /sbin/ldconfig |
---|
| 82 | |
---|
| 83 | %files -f %{name}.lang |
---|
| 84 | %defattr(-,root,root) |
---|
| 85 | %doc AUTHORS COPYING COPYING.LIB ChangeLog FAQ NEWS README THANKS |
---|
| 86 | %doc docs_to_include/* |
---|
| 87 | %{_sysconfdir}/xdg/Thunar |
---|
| 88 | %{_bindir}/* |
---|
| 89 | %{_libdir}/lib*.so.* |
---|
| 90 | %dir %{_libdir}/thunarx-1 |
---|
| 91 | %{_libdir}/thunarx-1/*.so |
---|
| 92 | %{_libexecdir}/* |
---|
| 93 | %{_datadir}/Thunar |
---|
| 94 | %{_datadir}/applications/*.desktop |
---|
| 95 | %{_datadir}/dbus-1/services/*.service |
---|
| 96 | %{_datadir}/icons/hicolor/icon-theme.cache |
---|
| 97 | %{_datadir}/icons/hicolor/*/apps/* |
---|
| 98 | %{_datadir}/icons/hicolor/*/stock/navigation/* |
---|
| 99 | %{_datadir}/pixmaps/Thunar |
---|
| 100 | %{_datadir}/thumbnailers |
---|
| 101 | %{_datadir}/xfce4/panel-plugins/thunar-tpa.desktop |
---|
| 102 | %{_mandir}/man1/Thunar* |
---|
| 103 | |
---|
| 104 | %files devel |
---|
| 105 | %defattr(-,root,root) |
---|
| 106 | %{_includedir}/thunar-vfs-1 |
---|
| 107 | %{_includedir}/thunarx-1 |
---|
| 108 | %{_libdir}/lib*.so |
---|
| 109 | %{_libdir}/pkgconfig/*.pc |
---|
| 110 | %{_datadir}/gtk-doc/html/thunar-vfs |
---|
| 111 | %{_datadir}/gtk-doc/html/thunarx |
---|
| 112 | |
---|
| 113 | %changelog |
---|
[1068] | 114 | * Sun May 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.2-1 |
---|
| 115 | - new upstream release |
---|
| 116 | - built with new toolchain |
---|
| 117 | |
---|
[521] | 118 | * Sat May 23 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.1-1 |
---|
| 119 | - new upstream release |
---|
| 120 | - split devel subpackage |
---|
| 121 | |
---|
| 122 | * Mon Sep 29 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.9.0-3 |
---|
| 123 | - add BuildRequires: xfce4-panel |
---|
| 124 | (needed to build thunar-tpa.desktop) |
---|
| 125 | |
---|
| 126 | * Thu Sep 25 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.0-2vl5 |
---|
| 127 | - added BuildRequires: libexo-devel, dbus-glib-devel, hal-devel |
---|
| 128 | |
---|
| 129 | * Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 0.9.0-1vl5 |
---|
| 130 | - applied new versioning policy |
---|
| 131 | - removed *.la |
---|
| 132 | |
---|
| 133 | * Sun Dec 23 2007 UECHI Yasumasa <uechi@potaway.net> 0.9.0-0vl2 |
---|
| 134 | - new upstream release. |
---|
| 135 | |
---|
| 136 | * Sun Jul 29 2007 UECHI Yasumasa <uechi@potaway.net> 0.8.0-0vl2 |
---|
| 137 | - build for VineSeed |
---|
| 138 | |
---|
| 139 | * Sat Jul 28 2007 UECHI Yasumasa <uechi@potaway.net> 0.8.0-0vl1 |
---|
| 140 | - initial release |
---|
| 141 | |
---|