[521] | 1 | Summary: A GNOME po file editor with many bells and whistles. |
---|
| 2 | Summary(ja): GNOME po ファイルエディタ |
---|
| 3 | Name: gtranslator |
---|
[623] | 4 | Version: 1.9.9 |
---|
| 5 | Release: 1%{?_dist_release} |
---|
[521] | 6 | License: GPL |
---|
| 7 | Group: Applications/Development |
---|
| 8 | URL: http://www.gtranslator.org/ |
---|
| 9 | Source: http://ftp.gnome.org/pub/GNOME/sources/gtranslator/1.9/%{name}-%{version}.tar.bz2 |
---|
| 10 | Patch0: po_header_set_field_wrapper.patch |
---|
| 11 | |
---|
| 12 | Vendor: Project Vine |
---|
| 13 | Distribution: Vine Linux |
---|
| 14 | Packager: inagaki,yasumichi |
---|
| 15 | |
---|
| 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 17 | BuildRequires: glib2-devel >= 2.15.5 |
---|
| 18 | BuildRequires: gtksourceview2-devel >= 2.4.0 |
---|
| 19 | BuildRequires: GConf2-devel >= 2.18.0 |
---|
| 20 | BuildRequires: gdl-devel >= 0.6.0 |
---|
| 21 | BuildRequires: gtkspell-devel >= 2.0.0 |
---|
| 22 | BuildRequires: gucharmap-devel |
---|
| 23 | BuildRequires: apr-devel apr-util-devel neon-devel |
---|
| 24 | BuildRequires: subversion-devel |
---|
| 25 | |
---|
| 26 | BuildRequires: gnome-doc-utils >= 0.3.2 |
---|
| 27 | BuildRequires: libuuid-devel |
---|
[623] | 28 | BuildRequires: unique-devel |
---|
[521] | 29 | |
---|
| 30 | Requires(post): scrollkeeper GConf2 |
---|
| 31 | Requires(pre): GConf2 |
---|
| 32 | Requires(preun): GConf2 |
---|
| 33 | Requires(postun): scrollkeeper |
---|
| 34 | |
---|
| 35 | Requires: glib2 >= 2.15.5 |
---|
| 36 | Requires: gtksourceview2 >= 2.4.0 |
---|
| 37 | Requires: gdl >= 0.6.0 |
---|
| 38 | Requires: gtkspell >= 2.0.0 |
---|
| 39 | Requires: gucharmap |
---|
| 40 | Requires: apr apr-util neon |
---|
| 41 | Requires: subversion |
---|
| 42 | Requires: libuuid |
---|
| 43 | |
---|
| 44 | %description |
---|
| 45 | gtranslator is a comfortable po file editor with many bells and whistles. |
---|
| 46 | It features many useful function which ease the work of translators of po |
---|
| 47 | files imminently. |
---|
| 48 | |
---|
| 49 | %package devel |
---|
| 50 | Summary: Headers for developing programs that will use %{name} |
---|
| 51 | Summary(ja): %{name} の開発用ファイル |
---|
| 52 | Group: Development/Libraries |
---|
| 53 | Requires: %{name} = %{version}-%{release} |
---|
| 54 | Requires: libglade2-devel |
---|
| 55 | Requires: gtksourceview2-devel |
---|
| 56 | |
---|
| 57 | %description devel |
---|
| 58 | This package contains the headers that programmers will need to develop |
---|
| 59 | applications which will use %{name}. |
---|
| 60 | |
---|
| 61 | %prep |
---|
| 62 | %setup -q |
---|
[623] | 63 | # %patch0 -p1 |
---|
[521] | 64 | |
---|
| 65 | %build |
---|
| 66 | %configure --disable-static \ |
---|
| 67 | --disable-debug \ |
---|
| 68 | --disable-scrollkeeper \ |
---|
| 69 | --disable-schemas-install |
---|
| 70 | |
---|
| 71 | make %{?_smp_mflags} |
---|
| 72 | |
---|
| 73 | %install |
---|
| 74 | rm -rf $RPM_BUILD_ROOT |
---|
| 75 | export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
---|
| 76 | %makeinstall |
---|
| 77 | unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
---|
| 78 | |
---|
| 79 | %find_lang %{name} |
---|
| 80 | |
---|
| 81 | rm -f $RPM_BUILD_ROOT%{_libdir}/gtranslator/*/*.la |
---|
| 82 | |
---|
| 83 | %post |
---|
| 84 | scrollkeeper-update -q > /dev/null 2>&1 || : |
---|
| 85 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 86 | gconftool-2 --makefile-install-rule \ |
---|
| 87 | %{_sysconfdir}/gconf/schemas/gtranslator.schemas >& /dev/null ||: |
---|
| 88 | |
---|
| 89 | %pre |
---|
| 90 | if [ "$1" -gt 1 ]; then |
---|
| 91 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 92 | gconftool-2 --makefile-uninstall-rule \ |
---|
| 93 | %{_sysconfdir}/gconf/schemas/gtranslator.schemas >& /dev/null ||: |
---|
| 94 | fi |
---|
| 95 | |
---|
| 96 | %preun |
---|
| 97 | if [ "$1" -eq 0 ]; then |
---|
| 98 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 99 | gconftool-2 --makefile-uninstall-rule \ |
---|
| 100 | %{_sysconfdir}/gconf/schemas/gtranslator.schemas >& /dev/null ||: |
---|
| 101 | fi |
---|
| 102 | |
---|
| 103 | %postun |
---|
| 104 | scrollkeeper-update -q > /dev/null 2>&1 || : |
---|
| 105 | |
---|
| 106 | %clean |
---|
| 107 | rm -rf $RPM_BUILD_ROOT |
---|
| 108 | |
---|
| 109 | %files -f %{name}.lang |
---|
| 110 | %defattr(-, root, root, 0755) |
---|
| 111 | %doc AUTHORS ChangeLog COPYING NEWS README THANKS TODO |
---|
| 112 | %{_sysconfdir}/gconf/schemas/* |
---|
| 113 | %{_bindir}/* |
---|
| 114 | %{_libdir}/gtranslator |
---|
| 115 | %{_datadir}/applications/*.desktop |
---|
| 116 | %{_datadir}/gnome/help/gtranslator |
---|
| 117 | %{_datadir}/gtranslator |
---|
| 118 | %{_datadir}/omf/gtranslator |
---|
| 119 | %{_datadir}/pixmaps/* |
---|
[623] | 120 | %{_datadir}/icons/hicolor/*/apps/gtranslator.* |
---|
[521] | 121 | %{_mandir}/man?/* |
---|
| 122 | |
---|
| 123 | %files devel |
---|
| 124 | %defattr(-, root, root, -) |
---|
| 125 | %{_includedir}/gtranslator-2.0 |
---|
| 126 | %{_datadir}/gtk-doc/html/gtranslator |
---|
| 127 | %{_libdir}/pkgconfig/*.pc |
---|
| 128 | |
---|
| 129 | %changelog |
---|
[623] | 130 | * Thu Mar 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.9.9-1 |
---|
| 131 | - new upstream release |
---|
| 132 | - add BuildRequires: unique-devel |
---|
| 133 | - drop Patch0 |
---|
| 134 | |
---|
[521] | 135 | * Thu Nov 19 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.9.6-2 |
---|
| 136 | - add libuuid to Requires. |
---|
| 137 | - add libuuid-devel and gnome-doc-utils to BR. |
---|
| 138 | - add Patch0 (https://bugzilla.gnome.org/show_bug.cgi?id=591587) |
---|
| 139 | - export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 when install. |
---|
| 140 | |
---|
| 141 | * Thu Nov 19 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.9.6-1 |
---|
| 142 | - new upstream release |
---|
| 143 | - add Requires glib2,gtksourceview2,gdl,gtkspell,gucharmap,apr,apr-util,neon,subversion |
---|
| 144 | |
---|
| 145 | * Sat May 16 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.9.5-1 |
---|
| 146 | - applied new versioning policy, spec in UTF-8 |
---|
| 147 | - new upstream release |
---|
| 148 | - updated BuildRequires: |
---|
| 149 | - split devel subpackage |
---|
| 150 | - changed Group to Applications/Development |
---|
| 151 | |
---|
| 152 | * Sat Oct 8 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.6-0vl1 |
---|
| 153 | - new upstream release |
---|
| 154 | - added BuildRequires: gtkspell-devel |
---|
| 155 | |
---|
| 156 | * Thu Jan 29 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.4-0vl1 |
---|
| 157 | - new upstream snapshot, tarball is taken from debian pool |
---|
| 158 | - add Patch10 from debian package |
---|
| 159 | |
---|
| 160 | * Tue Sep 09 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0-1vl1 |
---|
| 161 | - build for VineSeedPlus |
---|
| 162 | |
---|
| 163 | * Thu Sep 04 2003 Dag Wieers <dag@wieers.com> - 1.0-1 |
---|
| 164 | - Updated to release 1.0. |
---|
| 165 | |
---|
| 166 | * Tue Sep 02 2003 Dag Wieers <dag@wieers.com> - 1.0-0.pre1 |
---|
| 167 | - Updated to release 1.0pre1. |
---|
| 168 | |
---|
| 169 | * Fri Jun 27 2003 Dag Wieers <dag@wieers.com> - 1.0-0.cvs20030626 |
---|
| 170 | - Updated to release 1.0CVS-20030626. |
---|
| 171 | |
---|
| 172 | * Sat Jun 14 2003 Dag Wieers <dag@wieers.com> - 0.99-0 |
---|
| 173 | - Updated to release 0.99. |
---|
| 174 | |
---|
| 175 | * Tue Mar 18 2003 Dag Wieers <dag@wieers.com> - 0.43-0 |
---|
| 176 | - Initial package. (using DAR) |
---|