source: projects/specs/trunk/g/gtranslator/gtranslator-vl.spec @ 2111

Revision 2111, 5.2 KB checked in by yasumichi, 14 years ago (diff)

ハラダさんのご指摘により、依存関係を修正。

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