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

Revision 6933, 10.9 KB checked in by Takemikaduchi, 12 years ago (diff)

NEW: gnome-clocks, gnote, grilo-plugins, seahorse-nautilus
glabels: add Patch
others: new upstream release

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