| 1 | Name: Thunar |
|---|
| 2 | Summary: modern file manager |
|---|
| 3 | Summary(ja): 近代的なファイルマネージャ |
|---|
| 4 | Version: 1.2.2 |
|---|
| 5 | Release: 1%{?_dist_release} |
|---|
| 6 | |
|---|
| 7 | Group: User Interface/Desktops |
|---|
| 8 | License: GPLv2 and LGPLv2 |
|---|
| 9 | URL: http://www.xfce.org/ |
|---|
| 10 | |
|---|
| 11 | Source0: http://www.xfce.org/archive/xfce-%{version}/src/%{name}-%{version}.tar.bz2 |
|---|
| 12 | |
|---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 14 | BuildRequires: dbus-glib-devel >= 0.34 |
|---|
| 15 | BuildRequires: glib2-devel >= 2.18.0 |
|---|
| 16 | BuildRequires: gtk2-devel >= 2.14.0 |
|---|
| 17 | BuildRequires: libexif-devel >= 0.6.0 |
|---|
| 18 | BuildRequires: libexo-devel >= 0.6.0 |
|---|
| 19 | BuildRequires: libgudev1-devel >= 145 |
|---|
| 20 | BuildRequires: libnotify-devel >= 0.4.0 |
|---|
| 21 | BuildRequires: libSM-devel |
|---|
| 22 | BuildRequires: libxfce4ui-devel >= 4.8.0 |
|---|
| 23 | BuildRequires: libxfce4util-devel >= 4.8.0 |
|---|
| 24 | BuildRequires: pcre-devel >= 6.0 |
|---|
| 25 | BuildRequires: pkgconfig |
|---|
| 26 | BuildRequires: startup-notification-devel >= 0.4 |
|---|
| 27 | BuildRequires: xfce4-panel-devel >= 4.7.0 |
|---|
| 28 | BuildRequires: xfconf |
|---|
| 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} |
|---|
| 40 | Requires: glib2-devel >= 2.18.0 |
|---|
| 41 | Requires: gtk2-devel >= 2.14.0 |
|---|
| 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 |
|---|
| 51 | %configure --enable-silent-rules |
|---|
| 52 | make %{?_smp_mflags} |
|---|
| 53 | |
|---|
| 54 | %install |
|---|
| 55 | rm -rf $RPM_BUILD_ROOT |
|---|
| 56 | make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' |
|---|
| 57 | |
|---|
| 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 |
|---|
| 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 | |
|---|
| 74 | %post |
|---|
| 75 | /sbin/ldconfig |
|---|
| 76 | touch --no-create %{_datadir}/icons/hicolor |
|---|
| 77 | |
|---|
| 78 | %posttrans |
|---|
| 79 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
|---|
| 80 | |
|---|
| 81 | %postun |
|---|
| 82 | /sbin/ldconfig |
|---|
| 83 | if [ $1 -eq 0 ] ; then |
|---|
| 84 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
|---|
| 85 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
|---|
| 86 | fi |
|---|
| 87 | |
|---|
| 88 | %files -f %{name}.lang |
|---|
| 89 | %defattr(-,root,root) |
|---|
| 90 | %doc AUTHORS COPYING COPYING.LIB ChangeLog FAQ NEWS README THANKS |
|---|
| 91 | %doc _docs_to_include/* |
|---|
| 92 | %{_sysconfdir}/xdg/Thunar |
|---|
| 93 | %{_bindir}/* |
|---|
| 94 | %{_libdir}/lib*.so.* |
|---|
| 95 | %dir %{_libdir}/Thunar |
|---|
| 96 | %{_libdir}/Thunar/* |
|---|
| 97 | %dir %{_libdir}/thunarx-2 |
|---|
| 98 | %{_libdir}/thunarx-2/*.so |
|---|
| 99 | %{_libdir}/xfce4/panel/plugins/lib*.so |
|---|
| 100 | %{_datadir}/Thunar |
|---|
| 101 | %{_datadir}/applications/*.desktop |
|---|
| 102 | %{_datadir}/dbus-1/services/*.service |
|---|
| 103 | %{_datadir}/icons/hicolor/* |
|---|
| 104 | %{_datadir}/pixmaps/Thunar |
|---|
| 105 | #{_datadir}/thumbnailers |
|---|
| 106 | %{_datadir}/xfce4/panel-plugins/thunar-tpa.desktop |
|---|
| 107 | %{_mandir}/man1/Thunar* |
|---|
| 108 | |
|---|
| 109 | %files devel |
|---|
| 110 | %defattr(-,root,root) |
|---|
| 111 | %{_includedir}/thunarx-2 |
|---|
| 112 | %{_libdir}/lib*.so |
|---|
| 113 | %{_libdir}/pkgconfig/*.pc |
|---|
| 114 | #%{_datadir}/gtk-doc/html/thunar-vfs |
|---|
| 115 | %{_datadir}/gtk-doc/html/thunarx |
|---|
| 116 | |
|---|
| 117 | %changelog |
|---|
| 118 | * Sun Aug 21 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.2.2-1 |
|---|
| 119 | - new upstream release |
|---|
| 120 | - built with libnotify-0.7.3 (VineSeed) |
|---|
| 121 | |
|---|
| 122 | * Tue Mar 29 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.2.0-1 |
|---|
| 123 | - new upstream release |
|---|
| 124 | |
|---|
| 125 | * Sun May 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.2-1 |
|---|
| 126 | - new upstream release |
|---|
| 127 | - built with new toolchain |
|---|
| 128 | |
|---|
| 129 | * Sat May 23 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.1-1 |
|---|
| 130 | - new upstream release |
|---|
| 131 | - split devel subpackage |
|---|
| 132 | |
|---|
| 133 | * Mon Sep 29 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.9.0-3 |
|---|
| 134 | - add BuildRequires: xfce4-panel |
|---|
| 135 | (needed to build thunar-tpa.desktop) |
|---|
| 136 | |
|---|
| 137 | * Thu Sep 25 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.0-2vl5 |
|---|
| 138 | - added BuildRequires: libexo-devel, dbus-glib-devel, hal-devel |
|---|
| 139 | |
|---|
| 140 | * Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 0.9.0-1vl5 |
|---|
| 141 | - applied new versioning policy |
|---|
| 142 | - removed *.la |
|---|
| 143 | |
|---|
| 144 | * Sun Dec 23 2007 UECHI Yasumasa <uechi@potaway.net> 0.9.0-0vl2 |
|---|
| 145 | - new upstream release. |
|---|
| 146 | |
|---|
| 147 | * Sun Jul 29 2007 UECHI Yasumasa <uechi@potaway.net> 0.8.0-0vl2 |
|---|
| 148 | - build for VineSeed |
|---|
| 149 | |
|---|
| 150 | * Sat Jul 28 2007 UECHI Yasumasa <uechi@potaway.net> 0.8.0-0vl1 |
|---|
| 151 | - initial release |
|---|
| 152 | |
|---|