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

Revision 2056, 5.1 KB checked in by yasumichi, 14 years ago (diff)

upstreamの更新と依存関係の整理

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