glabels-vl.spec 8.6 KB

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