libemf-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. Summary: library for generating Enhanced Metafiles
  2. Summary(ja): EMF作成ライブラリ
  3. Name: libemf
  4. Version: 1.0.7
  5. Release: 2%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: LGPL
  8. Source: libEMF-%{version}.tar.gz
  9. URL: http://libemf.sourceforge.net/
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. Vendor: Project Vine
  12. Distribution: Vine Linux
  13. Packager: Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  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. %doc README AUTHORS COPYING.LIB COPYING NEWS
  50. %{_libdir}/libEMF.so*
  51. %{_bindir}/printemf
  52. %files -n %{name}-devel
  53. %defattr(-,root,root,-)
  54. %doc doc/html/*
  55. %{_libdir}/libEMF.so
  56. %{_includedir}/libEMF/*.h
  57. %{_includedir}/libEMF/wine/*.h
  58. %exclude %{_libdir}/libEMF.a
  59. %exclude %{_libdir}/libEMF.la
  60. %changelog
  61. * Sun Jul 10 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.7-2
  62. - rebuild with gcc-5.4.0
  63. * Sun Aug 24 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.7-1
  64. - update to 1.0.7
  65. - remove old patches
  66. * Thu Apr 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.4-1
  67. - updated libEMF to 1.0.4
  68. - built with new toolchain
  69. * Sun Jun 14 2009 Shu KONNO <owa@bg.wakwak.com> 1.0.3-1
  70. - updated libEMF to 1.0.3
  71. - added libEMF-1.0.3-amd64.patch (from fedora)
  72. - dropt *.a *.la
  73. - dropt patch-include+wine+winnt.h
  74. - dropt patch-libemf+libemf.cpp
  75. - dropt patch-libemf+libemf.h
  76. * Mon Sep 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-1
  77. - applied new versioning policy
  78. - spec in UTF-8
  79. * Sun May 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0vl6
  80. - rebuilt with new toolchain
  81. * Thu Aug 17 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0vl5
  82. - rebuilt for VineSeed (4.0)
  83. - added %post, %postun section
  84. * Wed Oct 20 2004 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  85. - Moved html documents to the devel package
  86. * Wed Sep 22 2004 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  87. - Change the name to libemf
  88. - Divided libemf and devel
  89. - Took the patch written by Wirawan Purwanto
  90. - Took the patch from FreeBSD
  91. * Thu Oct 2 2003 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  92. - initial package