libemf-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. Summary: library for generating Enhanced Metafiles
  2. Summary(ja): EMF作成ライブラリ
  3. Name: libemf
  4. Version: 1.0.12
  5. Release: 1%{?_dist_release}
  6. Group: System Environment/Libraries
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. Packager: Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  10. License: LGPL
  11. Source: https://downloads.sourceforge.net/project/libemf/libemf/%{version}/libemf-%{version}.tar.gz
  12. URL: http://libemf.sourceforge.net/
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. %description
  15. libEMF is a library for generating Enhanced Metafiles on systems which
  16. do not natively support the ECMA-234 Graphics Device Interface
  17. (GDI). The library is intended to be used as a driver for other
  18. graphics programs such as Grace or gnuplot. Therefore, it implements a
  19. very limited subset of the GDI.
  20. %description -l ja
  21. libEMFはECMA-234グラフィックディバイスインターフェイス(GDI)をサポート
  22. していないシステムのためのemf作成ライブラリです。このライブラリは、
  23. Grace や gnuplotなど他のグラフィックソフトから利用するようになっており、
  24. GDIサブセットしては機能的制約があります。
  25. %package -n %{name}-devel
  26. Summary: Development files for using the EMF library
  27. Summary(ja): EMFライブラリ開発キット
  28. Group: Development/Libraries
  29. Requires: libemf = %{version}-%{release}
  30. %description -n %{name}-devel
  31. Development files for using the EMF library
  32. %description -n %{name}-devel -l ja
  33. EMFライブラリ開発キット
  34. %prep
  35. %setup -q -n libemf-%{version}
  36. %build
  37. # --enable-static=no, --disable-static does not work...
  38. %configure --disable-static --enable-editing
  39. make %{?_smp_mflags}
  40. %install
  41. rm -rf $RPM_BUILD_ROOT
  42. make install DESTDIR=$RPM_BUILD_ROOT
  43. %clean
  44. rm -rf $RPM_BUILD_ROOT
  45. %post -p /sbin/ldconfig
  46. %postun -p /sbin/ldconfig
  47. %files
  48. %defattr(-,root,root)
  49. %license COPYING.LIB COPYING
  50. %doc README AUTHORS NEWS
  51. %{_libdir}/libEMF.so*
  52. %{_bindir}/printemf
  53. %files -n %{name}-devel
  54. %defattr(-,root,root,-)
  55. %doc doc/html/*
  56. %{_libdir}/libEMF.so
  57. %{_includedir}/libEMF/*.h
  58. %{_includedir}/libEMF/wine/*.h
  59. %exclude %{_libdir}/libEMF.a
  60. %exclude %{_libdir}/libEMF.la
  61. %changelog
  62. * Sun May 17 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.12-1
  63. - new upstream release.
  64. * Sun Jul 10 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.7-2
  65. - rebuild with gcc-5.4.0
  66. * Sun Aug 24 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.7-1
  67. - update to 1.0.7
  68. - remove old patches
  69. * Thu Apr 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.4-1
  70. - updated libEMF to 1.0.4
  71. - built with new toolchain
  72. * Sun Jun 14 2009 Shu KONNO <owa@bg.wakwak.com> 1.0.3-1
  73. - updated libEMF to 1.0.3
  74. - added libEMF-1.0.3-amd64.patch (from fedora)
  75. - dropt *.a *.la
  76. - dropt patch-include+wine+winnt.h
  77. - dropt patch-libemf+libemf.cpp
  78. - dropt patch-libemf+libemf.h
  79. * Mon Sep 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-1
  80. - applied new versioning policy
  81. - spec in UTF-8
  82. * Sun May 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0vl6
  83. - rebuilt with new toolchain
  84. * Thu Aug 17 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0vl5
  85. - rebuilt for VineSeed (4.0)
  86. - added %post, %postun section
  87. * Wed Oct 20 2004 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  88. - Moved html documents to the devel package
  89. * Wed Sep 22 2004 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  90. - Change the name to libemf
  91. - Divided libemf and devel
  92. - Took the patch written by Wirawan Purwanto
  93. - Took the patch from FreeBSD
  94. * Thu Oct 2 2003 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  95. - initial package