source: projects/specs/branches/6/lib/libe/libemf/libemf-vl.spec @ 901

Revision 901, 3.4 KB checked in by inagaki, 14 years ago (diff)

updated: libemf

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