glabels-vl.spec 11 KB

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