[521] | 1 | %define srcname exo |
---|
| 2 | |
---|
| 3 | Summary: extension library to Xfce |
---|
[1880] | 4 | Summary(ja): Xfce の拡張ライブラリ |
---|
[521] | 5 | Name: libexo |
---|
[3253] | 6 | Version: 0.6.0 |
---|
[3330] | 7 | Release: 2%{?_dist_release} |
---|
[1880] | 8 | |
---|
| 9 | Group: System Environment/Libraries |
---|
[3253] | 10 | License: LGPLv2 |
---|
[521] | 11 | URL: http://www.xfce.org/ |
---|
| 12 | |
---|
[1880] | 13 | Source0: http://www.xfce.org/archive/xfce-%{version}/src/%{srcname}-%{version}.tar.bz2 |
---|
[3253] | 14 | # FIXME: upstream this patch |
---|
| 15 | Patch0: exo-0.5.4-x86_64-build.patch |
---|
[1880] | 16 | |
---|
[521] | 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[3253] | 18 | BuildRequires: glib2-devel >= 2.27.0 |
---|
| 19 | BuildRequires: gtk2-devel >= 2.14.0 |
---|
[3330] | 20 | BuildRequires: libSM-devel |
---|
[3253] | 21 | BuildRequires: intltool >= 0.31 |
---|
| 22 | BuildRequires: libxfce4util-devel >= 4.8.0 |
---|
[521] | 23 | BuildRequires: libnotify-devel >= 0.4.0 |
---|
[3253] | 24 | BuildRequires: python-devel |
---|
| 25 | BuildRequires: pygtk2-devel |
---|
[521] | 26 | BuildRequires: perl-URI |
---|
[3253] | 27 | BuildRequires: chrpath |
---|
[521] | 28 | Requires(post): gtk2 |
---|
| 29 | Requires(postun): gtk2 |
---|
| 30 | |
---|
| 31 | Provides: %{srcname} = %{version}-%{release} |
---|
| 32 | |
---|
| 33 | Vendor: Project Vine |
---|
| 34 | Distribution: Vine Linux |
---|
| 35 | |
---|
| 36 | %description |
---|
| 37 | libexo is the extension library to Xfce developed by os-cillation. |
---|
| 38 | While Xfce ships with quite a few libraries that are primarly targeted |
---|
| 39 | at desktop development, libexo is targeted at application development, |
---|
| 40 | with a focus on applications for Xfce. |
---|
| 41 | |
---|
| 42 | %description -l ja |
---|
[1880] | 43 | libexo は os-cillation により開発された Xfce の拡張ライブラリです. |
---|
| 44 | Xfce はデスクトップ環境の開発を第一の目的としたごくわずかのライブラリ |
---|
| 45 | と共に作成されていますが,libexo はアプリケーションの開発,それも |
---|
| 46 | Xfce 用のアプリケーション開発に焦点を定めています. |
---|
[521] | 47 | |
---|
| 48 | %package -n %{name}-devel |
---|
[1880] | 49 | Summary: Header files and libraries for developing apps which will use %{name} |
---|
| 50 | Summary(ja): libexo の開発用ヘッダファイル及びライブラリ |
---|
[521] | 51 | Group: Development/Libraries |
---|
| 52 | Requires: %{name} = %{version}-%{release} |
---|
[1068] | 53 | Requires: gtk2-devel >= 2.6.0 |
---|
[521] | 54 | Requires: libxfce4util-devel >= 4.2.2 |
---|
| 55 | Provides: %{srcname}-devel = %{version}-%{release} |
---|
| 56 | |
---|
| 57 | %description -n %{name}-devel |
---|
| 58 | The libexo-devel package contains the header files and libraries needed |
---|
| 59 | to develop programs that use the libexo library. |
---|
| 60 | |
---|
| 61 | %description -n %{name}-devel -l ja |
---|
| 62 | libexo-develはlibexoライブラリを用いるプログラムの開発に |
---|
| 63 | 必要なヘッダファイル及びライブラリを含むパッケージです。 |
---|
| 64 | |
---|
| 65 | %prep |
---|
| 66 | %setup -q -n %{srcname}-%{version} |
---|
[3253] | 67 | %patch0 -p1 -b .x86_64-build |
---|
[521] | 68 | |
---|
| 69 | %build |
---|
| 70 | %configure --disable-static |
---|
| 71 | %__make |
---|
| 72 | |
---|
| 73 | %install |
---|
| 74 | rm -rf $RPM_BUILD_ROOT |
---|
[3253] | 75 | make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' |
---|
[521] | 76 | |
---|
| 77 | rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la |
---|
| 78 | rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache |
---|
| 79 | |
---|
[3253] | 80 | chrpath --delete $RPM_BUILD_ROOT%{_bindir}/exo-desktop-item-edit |
---|
| 81 | chrpath --delete $RPM_BUILD_ROOT%{_bindir}/exo-open |
---|
| 82 | chrpath --delete $RPM_BUILD_ROOT%{_libdir}/xfce4/exo-*/exo-helper-* |
---|
| 83 | chrpath --delete $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/exo-*/_exo.so |
---|
| 84 | #chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gio/modules/libexo-module-*.so |
---|
| 85 | |
---|
| 86 | rm -rf _docs_to_include |
---|
| 87 | mkdir -p _docs_to_include |
---|
| 88 | mv $RPM_BUILD_ROOT%{_docdir}/exo/html _docs_to_include/ |
---|
| 89 | rm -rf $RPM_BUILD_ROOT%{_docdir}/exo |
---|
| 90 | |
---|
| 91 | %find_lang exo-1 |
---|
| 92 | |
---|
[521] | 93 | %clean |
---|
| 94 | rm -rf $RPM_BUILD_ROOT |
---|
| 95 | |
---|
| 96 | %post |
---|
[3253] | 97 | /sbin/ldconfig |
---|
[521] | 98 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 99 | |
---|
| 100 | %postun |
---|
[3253] | 101 | /sbin/ldconfig |
---|
| 102 | if [ $1 -eq 0 ]; then |
---|
| 103 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 104 | /usr/bin/gtk-update-icon-cache -qf %{_datadir}/icons/hicolor; |
---|
[521] | 105 | fi |
---|
| 106 | |
---|
[3253] | 107 | %posttrans |
---|
| 108 | gtk-update-icon-cache %{_iconsdir}/icons/hicolor &> /dev/null || : |
---|
| 109 | |
---|
| 110 | |
---|
| 111 | %files -f exo-1.lang |
---|
[521] | 112 | %defattr(-,root,root) |
---|
[1068] | 113 | %doc AUTHORS COPYING ChangeLog README THANKS TODO |
---|
[3253] | 114 | %doc _docs_to_include/* |
---|
| 115 | %config(noreplace) %{_sysconfdir}/xdg/xfce4/helpers.rc |
---|
[521] | 116 | %{_bindir}/* |
---|
| 117 | %{_libdir}/lib*.so.* |
---|
| 118 | %{_libdir}/python?.?/site-packages/* |
---|
[3253] | 119 | %{_libdir}/xfce4/* |
---|
[521] | 120 | %{_datadir}/applications/*.desktop |
---|
| 121 | %{_datadir}/icons/hicolor/*/apps/*.png |
---|
[3253] | 122 | %{_datadir}/pixmaps/exo-1 |
---|
[521] | 123 | %{_datadir}/pygtk/2.0/* |
---|
| 124 | %{_datadir}/xfce4/helpers |
---|
| 125 | %{_mandir}/man1/* |
---|
| 126 | |
---|
| 127 | %files -n %{name}-devel |
---|
| 128 | %defattr(-,root,root) |
---|
| 129 | %{_libdir}/lib*.so |
---|
| 130 | %{_libdir}/pkgconfig/*.pc |
---|
[3253] | 131 | %{_includedir}/exo-1 |
---|
| 132 | %{_datadir}/gtk-doc/html/exo-1 |
---|
[521] | 133 | |
---|
| 134 | %changelog |
---|
[3330] | 135 | * Sun Apr 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.0-2 |
---|
| 136 | - add BuildRequires: libSM-devel |
---|
| 137 | |
---|
[3253] | 138 | * Mon Mar 28 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.0-1 |
---|
| 139 | - new upstrem release |
---|
| 140 | |
---|
[1880] | 141 | * Thu Sep 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.107-2 |
---|
| 142 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
| 143 | |
---|
[1068] | 144 | * Sun May 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.107-1 |
---|
| 145 | - new upstrem release |
---|
| 146 | - built with new toolchain |
---|
| 147 | |
---|
[521] | 148 | * Mon Feb 8 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.106-1 |
---|
| 149 | - new upstrem release |
---|
| 150 | - added BR: perl-URI |
---|
| 151 | |
---|
| 152 | * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.3.105-2 |
---|
| 153 | - rebuilt with python-2.6.4 |
---|
| 154 | |
---|
| 155 | * Sun Nov 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.105-1 |
---|
| 156 | - new upstrem release |
---|
| 157 | |
---|
| 158 | * Fri May 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.101-1 |
---|
| 159 | - new upstrem release |
---|
| 160 | - removed lib*.a from devel package |
---|
| 161 | |
---|
| 162 | * Sun Aug 17 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.4-1 |
---|
| 163 | - applied with new versioning policy |
---|
| 164 | - spec in UTF-8 |
---|
| 165 | |
---|
| 166 | * Fri Jan 25 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.3.4-0vl3 |
---|
| 167 | - add BuildRequires: libnotify >= 0.4.0, xfce-mcs-plugins >= 4.2.2 |
---|
| 168 | |
---|
| 169 | * Sun Dec 23 2007 UECHI Yasumasa <uechi@potaway.net> 0.3.4-0vl2 |
---|
| 170 | - new upstream release. |
---|
| 171 | |
---|
| 172 | * Sun Jul 29 2007 UECHI Yasumasa <uechi@potaway.net> 0.3.2-0vl2 |
---|
| 173 | - build for VineSeed |
---|
| 174 | |
---|
| 175 | * Sat Jul 28 2007 UECHI Yasumasa <uechi@potaway.net> 0.3.2-0vl1 |
---|
| 176 | - new upstream version |
---|
| 177 | - add %{_sysconfdir}/xdg/xfce4/helpers.rc in files section. |
---|
| 178 | - add %{_bindir}/* in files section. |
---|
| 179 | - add %{_libdir}/xfce4 in files section. |
---|
| 180 | - add %{_libexecdir}/* in files section. |
---|
| 181 | - add %{_datadir}/icons/hicolor/*/apps/*.png in files section. |
---|
| 182 | - add %{_mandir}/man1/* in files section. |
---|
| 183 | - add %{_datadir}/xfce4/doc/*/* in files section. |
---|
| 184 | - add %{_datadir}/xfce4/helpers in files section. |
---|
| 185 | - remove %{_datadir}/gtk-doc/html/exo in files section. |
---|
| 186 | - update icon-cache in %post and %postun. |
---|
| 187 | |
---|
| 188 | * Fri Aug 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.0-0vl3 |
---|
| 189 | - changed Group to System Environment/Libraires |
---|
| 190 | - changed devel Group to Development/Libraries |
---|
| 191 | - added %post and %postun section |
---|
| 192 | |
---|
| 193 | * Fri Apr 22 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.3.0-0vl2 |
---|
| 194 | - rebuild for VineSeed |
---|
| 195 | |
---|
| 196 | * Sun Apr 17 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.3.0-0vl1 |
---|
| 197 | - initial build for Vine Linux |
---|