[521] | 1 | Summary: A GNOME po file editor with many bells and whistles. |
---|
| 2 | Summary(ja): GNOME po ファイルエディタ |
---|
| 3 | Name: gtranslator |
---|
[7651] | 4 | Version: 2.91.6 |
---|
[7681] | 5 | Release: 2%{?_dist_release} |
---|
[521] | 6 | License: GPL |
---|
| 7 | Group: Applications/Development |
---|
| 8 | URL: http://www.gtranslator.org/ |
---|
[7681] | 9 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gtranslator/2.91/%{name}-%{version}.tar.xz |
---|
| 10 | Source1: gtranslator.master.ja.po |
---|
[521] | 11 | |
---|
| 12 | Vendor: Project Vine |
---|
| 13 | Distribution: Vine Linux |
---|
| 14 | Packager: inagaki,yasumichi |
---|
| 15 | |
---|
| 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[2056] | 17 | |
---|
| 18 | BuildRequires: libxml2-devel >= 2.4.12 |
---|
| 19 | BuildRequires: glib2-devel >= 2.25.10 |
---|
[5094] | 20 | BuildRequires: gtk3-devel >= 3.0.3 |
---|
| 21 | BuildRequires: gtksourceview3-devel >= 3.0.0 |
---|
| 22 | BuildRequires: gdl-devel >= 2.91.1 |
---|
[7651] | 23 | BuildRequires: libgda-devel >= 5.0.0 |
---|
[5094] | 24 | BuildRequires: libpeas-devel >= 1.0.0 |
---|
[6078] | 25 | BuildRequires: gsettings-desktop-schemas-devel |
---|
[5094] | 26 | BuildRequires: iso-codes |
---|
[7651] | 27 | BuildRequires: yelp-tools |
---|
[521] | 28 | |
---|
[2056] | 29 | Requires(post): scrollkeeper |
---|
[521] | 30 | Requires(postun): scrollkeeper |
---|
| 31 | |
---|
[2056] | 32 | Requires: libxml2 >= 2.4.12 |
---|
| 33 | Requires: glib2 >= 2.25.10 |
---|
| 34 | Requires: gtk2 >= 2.21.5 |
---|
[521] | 35 | Requires: gtksourceview2 >= 2.4.0 |
---|
[2056] | 36 | Requires: gdl >= 2.26.0 |
---|
[2111] | 37 | Requires: gda-sqlite |
---|
| 38 | Requires: gsettings-desktop-schemas |
---|
[2056] | 39 | |
---|
| 40 | # for documentation |
---|
| 41 | BuildRequires: gtk-doc |
---|
| 42 | BuildRequires: gnome-doc-utils >= 0.20.2 |
---|
| 43 | |
---|
| 44 | # for open-tran plugin |
---|
[5094] | 45 | BuildRequires: json-glib-devel >= 0.12.0 |
---|
[2056] | 46 | |
---|
| 47 | # for dictionary plugin |
---|
| 48 | Requires: gnome-utils |
---|
[5094] | 49 | BuildRequires: gnome-utils-devel |
---|
[2056] | 50 | |
---|
| 51 | # for spell support |
---|
[5094] | 52 | #Requires: gtkspell >= 2.0.16 |
---|
| 53 | #BuildRequires: gtkspell-devel >= 2.0.16 |
---|
[2056] | 54 | |
---|
| 55 | |
---|
[521] | 56 | %description |
---|
| 57 | gtranslator is a comfortable po file editor with many bells and whistles. |
---|
| 58 | It features many useful function which ease the work of translators of po |
---|
| 59 | files imminently. |
---|
| 60 | |
---|
| 61 | %package devel |
---|
| 62 | Summary: Headers for developing programs that will use %{name} |
---|
| 63 | Summary(ja): %{name} の開発用ファイル |
---|
| 64 | Group: Development/Libraries |
---|
| 65 | Requires: %{name} = %{version}-%{release} |
---|
| 66 | Requires: libglade2-devel |
---|
| 67 | Requires: gtksourceview2-devel |
---|
| 68 | |
---|
| 69 | %description devel |
---|
| 70 | This package contains the headers that programmers will need to develop |
---|
| 71 | applications which will use %{name}. |
---|
| 72 | |
---|
| 73 | %prep |
---|
| 74 | %setup -q |
---|
[7681] | 75 | cp %{SOURCE1} po/ja.po |
---|
[521] | 76 | |
---|
| 77 | %build |
---|
| 78 | %configure --disable-static \ |
---|
| 79 | --disable-debug \ |
---|
| 80 | --disable-scrollkeeper \ |
---|
[7651] | 81 | --disable-schemas-compile \ |
---|
| 82 | --with-gda=5.0 |
---|
[521] | 83 | |
---|
| 84 | make %{?_smp_mflags} |
---|
| 85 | |
---|
| 86 | %install |
---|
| 87 | rm -rf $RPM_BUILD_ROOT |
---|
[2056] | 88 | make DESTDIR=$RPM_BUILD_ROOT UPDATE_DESKTOP= install |
---|
[521] | 89 | |
---|
[5094] | 90 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 91 | |
---|
[7651] | 92 | %find_lang %{name} --with-gnome |
---|
[521] | 93 | |
---|
| 94 | %post |
---|
| 95 | scrollkeeper-update -q > /dev/null 2>&1 || : |
---|
| 96 | |
---|
[2056] | 97 | %posttrans |
---|
| 98 | glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : |
---|
| 99 | update-desktop-database %{_datadir}/applications/ |
---|
[521] | 100 | |
---|
| 101 | %postun |
---|
| 102 | scrollkeeper-update -q > /dev/null 2>&1 || : |
---|
[2056] | 103 | if [ $1 -eq 0 ]; then |
---|
| 104 | glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : |
---|
| 105 | update-desktop-database %{_datadir}/applications/ |
---|
| 106 | fi |
---|
[521] | 107 | |
---|
| 108 | %clean |
---|
| 109 | rm -rf $RPM_BUILD_ROOT |
---|
| 110 | |
---|
| 111 | %files -f %{name}.lang |
---|
| 112 | %defattr(-, root, root, 0755) |
---|
[2056] | 113 | %doc AUTHORS ChangeLog COPYING NEWS README THANKS |
---|
[521] | 114 | %{_bindir}/* |
---|
| 115 | %{_libdir}/gtranslator |
---|
| 116 | %{_datadir}/applications/*.desktop |
---|
[2056] | 117 | %{_datadir}/glib-2.0/schemas/org.gnome.gtranslator.*gschema.xml |
---|
[521] | 118 | %{_datadir}/gtranslator |
---|
[623] | 119 | %{_datadir}/icons/hicolor/*/apps/gtranslator.* |
---|
[521] | 120 | %{_mandir}/man?/* |
---|
| 121 | |
---|
| 122 | %files devel |
---|
| 123 | %defattr(-, root, root, -) |
---|
[5094] | 124 | %{_includedir}/gtranslator-3.0 |
---|
| 125 | %{_libdir}/pkgconfig/*.pc |
---|
[521] | 126 | %{_datadir}/gtk-doc/html/gtranslator |
---|
| 127 | |
---|
| 128 | %changelog |
---|
[7681] | 129 | * Wed May 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.91.6-2 |
---|
| 130 | - add Source1 (gtranslator.master.ja.po) |
---|
| 131 | |
---|
[7651] | 132 | * Mon May 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.91.6-1 |
---|
| 133 | - new upstream release |
---|
| 134 | - remove Patch0 (gtranslator-2.91.5-gdl.patch) |
---|
| 135 | - add BuildRequires: yelp-tools |
---|
| 136 | |
---|
[7119] | 137 | * Thu Nov 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.91.5-3 |
---|
| 138 | - add Patch0 (gtranslator-2.91.5-gdl.patch) |
---|
| 139 | |
---|
[6898] | 140 | * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.91.5-2 |
---|
| 141 | - rebuild with gdl-3.6.0 |
---|
| 142 | |
---|
[6682] | 143 | * Sun Aug 05 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.91.5-1 |
---|
| 144 | - new upstream release |
---|
| 145 | |
---|
[6141] | 146 | * Sun May 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.91.4-1 |
---|
| 147 | - new upstream release |
---|
| 148 | |
---|
[6084] | 149 | * Mon Apr 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.91.3-1 |
---|
| 150 | - new upstream release |
---|
| 151 | |
---|
[6078] | 152 | * Sat Apr 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.91.2-1 |
---|
| 153 | - new upstream release |
---|
| 154 | |
---|
[5094] | 155 | * Thu Nov 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.90.7-1 |
---|
| 156 | - new upstream release |
---|
| 157 | - change BuildRequires: gtk3-devel instead of gtk2-devel |
---|
| 158 | - change BuildRequires: gtksourceview3-devel instead of gtksourceview2-devel |
---|
| 159 | - add BuildRequires: libpeas-devel, iso-codes, json-glib-devel |
---|
| 160 | |
---|
[2111] | 161 | * Wed Oct 20 2010 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.9.12-2 |
---|
| 162 | - add (Build)Requires gsettings-desktop-schemas. |
---|
| 163 | - add Requires gda-sqlite instead of libgda. |
---|
| 164 | |
---|
[2056] | 165 | * Wed Oct 13 2010 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.9.12-1 |
---|
| 166 | - new upstream release |
---|
| 167 | - rebuild dependency |
---|
| 168 | - replace GConf2 by glib-compile-schemas |
---|
| 169 | - care desktop-files |
---|
| 170 | |
---|
[623] | 171 | * Thu Mar 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.9.9-1 |
---|
| 172 | - new upstream release |
---|
| 173 | - add BuildRequires: unique-devel |
---|
| 174 | - drop Patch0 |
---|
| 175 | |
---|
[521] | 176 | * Thu Nov 19 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.9.6-2 |
---|
| 177 | - add libuuid to Requires. |
---|
| 178 | - add libuuid-devel and gnome-doc-utils to BR. |
---|
| 179 | - add Patch0 (https://bugzilla.gnome.org/show_bug.cgi?id=591587) |
---|
| 180 | - export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 when install. |
---|
| 181 | |
---|
| 182 | * Thu Nov 19 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.9.6-1 |
---|
| 183 | - new upstream release |
---|
| 184 | - add Requires glib2,gtksourceview2,gdl,gtkspell,gucharmap,apr,apr-util,neon,subversion |
---|
| 185 | |
---|
| 186 | * Sat May 16 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.9.5-1 |
---|
| 187 | - applied new versioning policy, spec in UTF-8 |
---|
| 188 | - new upstream release |
---|
| 189 | - updated BuildRequires: |
---|
| 190 | - split devel subpackage |
---|
| 191 | - changed Group to Applications/Development |
---|
| 192 | |
---|
| 193 | * Sat Oct 8 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.6-0vl1 |
---|
| 194 | - new upstream release |
---|
| 195 | - added BuildRequires: gtkspell-devel |
---|
| 196 | |
---|
| 197 | * Thu Jan 29 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.4-0vl1 |
---|
| 198 | - new upstream snapshot, tarball is taken from debian pool |
---|
| 199 | - add Patch10 from debian package |
---|
| 200 | |
---|
| 201 | * Tue Sep 09 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0-1vl1 |
---|
| 202 | - build for VineSeedPlus |
---|
| 203 | |
---|
| 204 | * Thu Sep 04 2003 Dag Wieers <dag@wieers.com> - 1.0-1 |
---|
| 205 | - Updated to release 1.0. |
---|
| 206 | |
---|
| 207 | * Tue Sep 02 2003 Dag Wieers <dag@wieers.com> - 1.0-0.pre1 |
---|
| 208 | - Updated to release 1.0pre1. |
---|
| 209 | |
---|
| 210 | * Fri Jun 27 2003 Dag Wieers <dag@wieers.com> - 1.0-0.cvs20030626 |
---|
| 211 | - Updated to release 1.0CVS-20030626. |
---|
| 212 | |
---|
| 213 | * Sat Jun 14 2003 Dag Wieers <dag@wieers.com> - 0.99-0 |
---|
| 214 | - Updated to release 0.99. |
---|
| 215 | |
---|
| 216 | * Tue Mar 18 2003 Dag Wieers <dag@wieers.com> - 0.43-0 |
---|
| 217 | - Initial package. (using DAR) |
---|