glabels-vl.spec 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  1. Name: glabels
  2. Version: 2.2.8
  3. Release: 3%{?_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 >= 1.8
  14. BuildRequires: gettext
  15. BuildRequires: gtk2-devel >= 2.10
  16. BuildRequires: glib2 >= 2.12
  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 Sep 28 2010 Shu KONNO <owa@bg.wakwak.com> 2.2.8-3
  146. - rebuilt with rpm-4.8.1 for pkg-config
  147. * Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.2.8-2
  148. - rebuild with evolution-data-server-2.30.2
  149. * Thu Apr 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.2.8-1
  150. - new upstream release
  151. - add BuildRequires: gnome-doc-utils >= 0.3.2
  152. * Wed Mar 3 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.2.7-1
  153. - New upstream release
  154. - dropt Patch0
  155. - added BuildRequires: libSM-devel
  156. * Wed Nov 18 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.2.6-1
  157. - New upstream release
  158. - changed BuildRequires: gtk2 to gtk2-devel
  159. - added BuildRequires: intltool
  160. - added Patch1 from Fedora
  161. * Sun Jun 21 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.2.5-1
  162. - initial build for VineSeed
  163. * Wed Jan 07 2009 Peter Gordon <peter@thecodergeek.com> - 2.2.4-1
  164. - Update to new upstream bug-fix release (2.2.4):
  165. * Corrected button order in "Open" and "Save as" dialogs.
  166. * Fixed performance problem when large number of fonts are installed.
  167. * Corrected several i18n problems.
  168. * Fixed "paste" bug that created phantom object views.
  169. * Fixed performance problem when many objects are selected.
  170. * New templates.
  171. * Tue Aug 26 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.2.3-2
  172. - fix license tag (again)
  173. * Thu Aug 21 2008 Peter Gordon <peter@thecodergeek.com> - 2.2.3-1
  174. - Update to new upstream bug-fix release (2.2.3).
  175. - Drop glabels-batch segfault patch (fixed upstream).
  176. - fix-batch-segfault.patch
  177. * Fri Aug 08 2008 Peter Gordon <peter@thecodergeek.com> - 2.2.2-3
  178. - Add patch from Casey Harkins to fix a segfault in glabels-batch:
  179. + fix-batch-segfault.patch
  180. - Resolves: bug #458473.
  181. * Mon Jul 21 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.2.2-2
  182. - fix license tag
  183. * Tue Mar 04 2008 Peter Gordon <peter@thecodergeek.com> - 2.2.2-1
  184. - Update to new upstream bug-fix release (2.2.2).
  185. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.2.1-2
  186. - Autorebuild for GCC 4.3
  187. * Mon Jan 28 2008 Peter Gordon <peter@thecodergeek.com> - 2.2.1-1
  188. - Update to new upstream bug-fix release (2.2.1).
  189. * Mon Jan 14 2008 Peter Gordon <peter@thecodergeek.com> - 2.2.0-1
  190. - Update to new upstream release (2.2.0 Final); Yay!
  191. * Sun Dec 16 2007 Peter Gordon <peter@thecodergeek.com> - 2.1.5-1
  192. - Update to new upstream development snapshot (2.1.5).
  193. * Tue Aug 21 2007 Peter Gordon <peter@thecodergeek.com> - 2.0.4-7
  194. - Rebuild with new BuildID-enabled binutils.
  195. * Fri Aug 03 2007 Peter Gordon <peter@thecodergeek.com> - 2.0.4-6
  196. - Update License tagging (GPLv2+). This necessitates a split of two
  197. subpackages:
  198. (1) glabels-doc: Runtime documentation for gLabels (GFDLv1.1+)
  199. (2) glabels-libs: Shared libraries for gLabels (LGPLv2+)
  200. - Fix version in previous %%changelog entry.
  201. - Lots and lots of aesthetic spec file changes.
  202. - Remove X-Fedora category from desktop-file-install invocation.
  203. - Add TODO to installed %%doc files.
  204. * Sun Aug 27 2006 Peter Gordon <peter@thecodergeek.com> - 2.0.4-5
  205. - Add BR: perl(XML::Parser)
  206. * Sun Aug 27 2006 Peter Gordon <peter@thecodergeek.com> - 2.0.4-4
  207. - Mass FC6 rebuild
  208. * Wed Jul 05 2006 Peter Gordon <peter@thecodergeek.com> - 2.0.4-3
  209. - Add BuildRequires: gettext (#197633)
  210. * Sat Feb 18 2006 Jef Spaleta <jspaleta@gmail.com> - 2.0.4-2
  211. - Bump for fe5 rebuild
  212. * Sat Jan 01 2006 Jef Spaleta <jspaleta@gmail.com> - 2.0.4-1
  213. - Update to new stable upstream version
  214. * Thu Aug 18 2005 Jef Spaleta <jspaleta@gmail.com> - 2.0.3-3
  215. - rebuild
  216. * Thu Jul 7 2005 Jef Spaleta <jspaleta@gmail.com> - 2.0.3-2
  217. - use Source0
  218. * Mon Jul 5 2005 Jef Spaleta <jspaleta@gmail.com> - 2.0.3-1
  219. - Initial fedora extras build