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