glabels-vl.spec 8.1 KB

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