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