libemf-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. Summary: library for generating Enhanced Metafiles
  2. Summary(ja): EMF作成ライブラリ
  3. Name: libemf
  4. Version: 1.0.7
  5. Release: 1%{?_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 Aug 24 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.7-1
  62. - update to 1.0.7
  63. - remove old patches
  64. * Thu Apr 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.4-1
  65. - updated libEMF to 1.0.4
  66. - built with new toolchain
  67. * Sun Jun 14 2009 Shu KONNO <owa@bg.wakwak.com> 1.0.3-1
  68. - updated libEMF to 1.0.3
  69. - added libEMF-1.0.3-amd64.patch (from fedora)
  70. - dropt *.a *.la
  71. - dropt patch-include+wine+winnt.h
  72. - dropt patch-libemf+libemf.cpp
  73. - dropt patch-libemf+libemf.h
  74. * Mon Sep 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-1
  75. - applied new versioning policy
  76. - spec in UTF-8
  77. * Sun May 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0vl6
  78. - rebuilt with new toolchain
  79. * Thu Aug 17 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0vl5
  80. - rebuilt for VineSeed (4.0)
  81. - added %post, %postun section
  82. * Wed Oct 20 2004 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  83. - Moved html documents to the devel package
  84. * Wed Sep 22 2004 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  85. - Change the name to libemf
  86. - Divided libemf and devel
  87. - Took the patch written by Wirawan Purwanto
  88. - Took the patch from FreeBSD
  89. * Thu Oct 2 2003 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
  90. - initial package