glabels-vl.spec 11 KB

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