source: projects/specs/trunk/g/glabels/glabels-vl.spec @ 4632

Revision 4632, 8.7 KB checked in by Takemikaduchi, 13 years ago (diff)

colord,gnokii,gnome-phone-manager: new upstream release, others: rebuild with evolution-data-server-3.1.4

Line 
1Name:           glabels
2Version:        2.2.8
3Release:        5%{?_dist_release}
4Summary:        A program for creating labels and business cards for GNOME
5Summary(ja):    GNOME 用のラベルと名刺を作成するためのプログラム
6
7Group:          Applications/Publishing
8License:        GPLv2+
9URL:            http://glabels.sf.net
10
11Source0:        http://dl.sf.net/%{name}/%{name}-%{version}.tar.bz2
12#Patch0:        %{name}-libxml-XML_PARSE_HUGE.patch
13
14BuildRoot:      %{_tmppath}/%{name}-%{version}-root
15
16BuildRequires:  desktop-file-utils
17BuildRequires:  evolution-data-server-devel >= 2.32.0
18BuildRequires:  gettext
19BuildRequires:  gtk2-devel >= 2.22.0
20BuildRequires:  glib2 >= 2.26.0
21BuildRequires:  libglade2-devel >= 2.6
22BuildRequires:  libgnomeui-devel >= 2.16
23BuildRequires:  libSM-devel
24BuildRequires:  libxml2 >= 2.6
25BuildRequires:  perl-XML-Parser
26BuildRequires:  scrollkeeper
27BuildRequires:  intltool
28BuildRequires:  gnome-doc-utils >= 0.3.2
29
30Requires(post): desktop-file-utils
31Requires(post): /sbin/ldconfig
32Requires(post): shared-mime-info
33
34Requires(postun):       desktop-file-utils
35Requires(postun):       /sbin/ldconfig
36Requires(postun):       shared-mime-info
37
38Requires:       %{name}-libs = %{version}-%{release}
39Requires:       %{name}-doc = %{version}-%{release}
40       
41%description
42gLabels is a lightweight program for creating labels and
43business cards for the GNOME desktop environment.
44It is designed to work with various laser/ink-jet peel-off
45label and business card sheets that you'll find at most office
46supply stores.
47
48%description -l ja
49gLabels はGNOME デスクトップ環境用のラベルや名刺を
50作成するための軽量のプログラムです。
51殆どのオフィス用品店で見つけることができる様々な
52レーザー/インクジェット用のラベルや名刺用紙に対応するよう
53設計されています。
54
55%package        devel
56Summary:        Development files for %{name}
57Summary(ja):    %{name} の開発ファイル
58License:        LGPLv2+
59Group:          Development/Libraries
60Requires:       %{name}-libs = %{version}-%{release}
61
62%description    devel
63This package contains the header files and development documentation for
64libglabels.
65
66%description -l ja devel
67このパッケージは libglabels のヘッダファイルと
68開発ドキュメントを含んでいます。
69
70
71%package        libs
72License:        LGPLv2+
73Summary:        Shared liblaries for %{name}
74Summary(ja):    %{name} の共有ライブラリ
75Group:          Development/Libraries
76
77%description    libs
78This package contains the shared libraries for %{name}.
79
80%description -l ja libs
81このパッケージは %{name} の共有ライブラリを含んでいます。
82
83
84%package        doc
85License:        GFDL
86Summary:        Runtime documentation for %{name}
87Summary(ja):    %{name} の実行ドキュメント
88Group:          Development/Libraries
89Requires(post): scrollkeeper
90Requires(postun):       scrollkeeper
91
92%description    doc
93This package contains the runtime documentation and manual pages for %{name}.
94
95%description -l ja doc
96このパッケージは %{name} の実行ドキュメントとマニュアルを含んでいます。 
97
98%prep
99%setup -q
100#%patch0 -p1 -b .libxml-XML_PARSE_HUGE
101
102
103%build
104%configure --disable-update-mimedb --disable-update-desktopdb --disable-static
105make %{?_smp_mflags}
106
107
108%install
109rm -rf %{buildroot}
110make install DESTDIR=%{buildroot}
111desktop-file-install                                    \
112        --vendor=vine                                   \
113        --dir %{buildroot}%{_datadir}/applications      \
114        --delete-original                               \
115        %{buildroot}%{_datadir}/applications/%{name}.desktop
116%find_lang %{name}
117## Fix encodings.
118for DOC_FILE in AUTHORS ChangeLog NEWS; do
119        %{_bindir}/iconv -f iso8859-1 -t utf-8 ${DOC_FILE} > ${DOC_FILE}.conv;
120        mv -f ${DOC_FILE}.conv ${DOC_FILE};
121done
122
123rm -rf %{buildroot}%{_libdir}/libglabels.la
124rm -rf %{buildroot}%{_libdir}/libglabels.a
125
126
127%post
128update-desktop-database &> /dev/null ||:
129update-mime-database %{_datadir}/mime &> /dev/null ||:
130
131%postun
132update-desktop-database &> /dev/null ||:
133update-mime-database %{_datadir}/mime &> /dev/null ||:
134
135
136%post   libs -p /sbin/ldconfig
137
138%postun libs -p /sbin/ldconfig
139
140
141%post   doc
142scrollkeeper-update -q -o %{_datadir}/omf/%{name} ||:
143
144%postun doc
145scrollkeeper-update -q ||:
146
147
148%clean
149rm -rf %{buildroot}
150
151
152%files -f %{name}.lang
153%defattr(-,root,root,-)
154%doc AUTHORS ChangeLog COPYING COPYING.README_FIRST NEWS README TODO
155%{_bindir}/glabels*
156%{_datadir}/application-registry/glabels.applications
157%{_datadir}/applications/vine-glabels.desktop
158%{_datadir}/glabels/
159%{_datadir}/mime/packages/glabels.xml
160%{_datadir}/mime-info/glabels.*
161%{_datadir}/pixmaps/glabels/
162%{_datadir}/pixmaps/glabels*.png
163
164%files  devel
165%defattr(-,root,root,-)
166%doc AUTHORS COPYING-LIBGLABELS
167%doc %{_datadir}/gtk-doc/html/libglabels
168#%exclude %{_libdir}/libglabels.la
169#%exclude %{_libdir}/libglabels.a
170%{_includedir}/libglabels/
171%{_libdir}/libglabels.so
172%{_libdir}/pkgconfig/libglabels.pc
173
174%files  libs
175%defattr(-,root,root,-)
176%doc AUTHORS COPYING-LIBGLABELS
177%{_libdir}/libglabels.so.*
178
179%files  doc
180%defattr(-,root,root,-)
181## Manual ("man") pages are automatically marked as %%doc by RPM.
182%doc AUTHORS COPYING-DOCS
183%doc %{_datadir}/gnome/help/glabels/
184%{_datadir}/omf/glabels/
185%{_mandir}/man?/glabels.*
186
187
188%changelog
189* Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.8-5
190- rebuild with evolution-data-server-3.1.4
191
192* Tue Oct 12 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.8-4
193- rebuild with evolution-data-server-2.32.0
194
195* Tue Sep 28 2010 Shu KONNO <owa@bg.wakwak.com> 2.2.8-3
196- rebuilt with rpm-4.8.1 for pkg-config
197
198* Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.2.8-2
199- rebuild with evolution-data-server-2.30.2
200
201* Thu Apr 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.2.8-1
202- new upstream release
203- add BuildRequires: gnome-doc-utils >= 0.3.2
204
205* Wed Mar 3 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.2.7-1
206- New upstream release
207- dropt Patch0
208- added BuildRequires: libSM-devel
209
210* Wed Nov 18 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.2.6-1
211- New upstream release
212- changed BuildRequires: gtk2 to gtk2-devel
213- added BuildRequires: intltool
214- added Patch1 from Fedora
215
216* Sun Jun 21 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.2.5-1
217- initial build for VineSeed
218
219* Wed Jan 07 2009 Peter Gordon <peter@thecodergeek.com> - 2.2.4-1
220- Update to new upstream bug-fix release (2.2.4):
221  * Corrected button order in "Open" and "Save as" dialogs.
222  * Fixed performance problem when large number of fonts are installed.
223  * Corrected several i18n problems.
224  * Fixed "paste" bug that created phantom object views.
225  * Fixed performance problem when many objects are selected.
226  * New templates. 
227
228* Tue Aug 26 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.2.3-2
229- fix license tag (again)
230
231* Thu Aug 21 2008 Peter Gordon <peter@thecodergeek.com> - 2.2.3-1
232- Update to new upstream bug-fix release (2.2.3).
233- Drop glabels-batch segfault patch (fixed upstream).
234  - fix-batch-segfault.patch
235
236* Fri Aug 08 2008 Peter Gordon <peter@thecodergeek.com> - 2.2.2-3
237- Add patch from Casey Harkins to fix a segfault in glabels-batch:
238  + fix-batch-segfault.patch
239- Resolves: bug #458473.
240
241* Mon Jul 21 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.2.2-2
242- fix license tag
243
244* Tue Mar 04 2008 Peter Gordon <peter@thecodergeek.com> - 2.2.2-1
245- Update to new upstream bug-fix release (2.2.2).
246
247* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.2.1-2
248- Autorebuild for GCC 4.3
249
250* Mon Jan 28 2008 Peter Gordon <peter@thecodergeek.com> - 2.2.1-1
251- Update to new upstream bug-fix release (2.2.1).
252
253* Mon Jan 14 2008 Peter Gordon <peter@thecodergeek.com> - 2.2.0-1
254- Update to new upstream release (2.2.0 Final); Yay!
255
256* Sun Dec 16 2007 Peter Gordon <peter@thecodergeek.com> - 2.1.5-1
257- Update to new upstream development snapshot (2.1.5).
258
259* Tue Aug 21 2007 Peter Gordon <peter@thecodergeek.com> - 2.0.4-7
260- Rebuild with new BuildID-enabled binutils.
261
262* Fri Aug 03 2007 Peter Gordon <peter@thecodergeek.com> - 2.0.4-6
263- Update License tagging (GPLv2+). This necessitates a split of two
264  subpackages:
265  (1) glabels-doc: Runtime documentation for gLabels (GFDLv1.1+)
266  (2) glabels-libs: Shared libraries for gLabels (LGPLv2+)
267- Fix version in previous %%changelog entry.
268- Lots and lots of aesthetic spec file changes.
269- Remove X-Fedora category from desktop-file-install invocation.
270- Add TODO to installed %%doc files.
271
272* Sun Aug 27 2006 Peter Gordon <peter@thecodergeek.com> - 2.0.4-5
273- Add BR: perl(XML::Parser)
274 
275* Sun Aug 27 2006 Peter Gordon <peter@thecodergeek.com> - 2.0.4-4
276- Mass FC6 rebuild
277
278* Wed Jul 05 2006 Peter Gordon <peter@thecodergeek.com> - 2.0.4-3
279- Add BuildRequires: gettext (#197633)
280
281* Sat Feb 18 2006 Jef Spaleta <jspaleta@gmail.com> - 2.0.4-2
282- Bump for fe5 rebuild
283
284* Sat Jan 01 2006 Jef Spaleta <jspaleta@gmail.com> - 2.0.4-1
285- Update to new stable upstream version
286
287* Thu Aug 18 2005 Jef Spaleta <jspaleta@gmail.com> - 2.0.3-3
288- rebuild
289
290* Thu Jul 7 2005 Jef Spaleta <jspaleta@gmail.com> - 2.0.3-2
291- use Source0
292
293* Mon Jul 5 2005 Jef Spaleta <jspaleta@gmail.com> - 2.0.3-1
294- Initial fedora extras build
295
Note: See TracBrowser for help on using the repository browser.