]> git.pld-linux.org Git - packages/libEMF.git/blob - libEMF.spec
- updated to 1.0.3, removed obsolete gcc3 patch, updated amd64 patch
[packages/libEMF.git] / libEMF.spec
1 Summary:        A library for generating Enhanced Metafiles
2 Summary(pl):    Biblioteka do generowania plików w formacie Enhanced Metafile
3 Name:           libEMF
4 Version:        1.0.3
5 Release:        1
6 License:        LGPL/GPL
7 Group:          Libraries
8 #Source0:       http://dl.sourceforge.net/libemf/%{name}-%{version}.tar.gz
9 Source0:        http://dl.sourceforge.net/pstoedit/%{name}-%{version}.tar.gz
10 # Source0-md5:  a4e91fd8077ce5f540f569e20e8ef7ff
11 Patch0:         %{name}-amd64.patch
12 URL:            http://libemf.sourceforge.net/
13 BuildRequires:  autoconf >= 2.50
14 BuildRequires:  automake
15 BuildRequires:  libstdc++-devel >= 5:3.0
16 BuildRequires:  libtool >= 2:1.4d
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 libEMF is a library for generating Enhanced Metafiles on systems which
21 don't natively support the ECMA-234 Graphics Device Interface
22 (GDI). The library is intended to be used as a driver for other
23 graphics programs such as Grace or gnuplot. Therefore, it implements a
24 very limited subset of the GDI.
25
26 %description -l pl
27 libEMF to biblioteka do generowania plików w formacie Enhanced
28 Metafile na systemach nie obs³uguj±cych natywnie systemu graficznego
29 ECMA-234 GDI. Biblioteka ma s³u¿yæ jako sterownik dla innych programów
30 graficznych, takich jak Grace czy gnuplot. Z tego powodu ma
31 zaimplementowany bardzo ograniczony podzbiór GDI.
32
33 %package devel
34 Summary:        libEMF header files
35 Summary(pl):    Pliki nag³ówkowe libEMF
36 Group:          Development/Libraries
37 Requires:       %{name} = %{version}-%{release}
38 Requires:       libstdc++-devel
39
40 %description devel
41 libEMF header files.
42
43 %description devel -l pl
44 Pliki nag³ówkowe libEMF.
45
46 %package static
47 Summary:        libEMF static library
48 Summary(pl):    Statyczna biblioteka libEMF
49 Group:          Development/Libraries
50 Requires:       %{name}-devel = %{version}-%{release}
51
52 %description static
53 libEMF static library.
54
55 %description static -l pl
56 Statyczna biblioteka libEMF.
57
58 %prep
59 %setup -q
60 %patch0 -p1
61
62 %build
63 # supplied libtool is broken (no C++ libraries support)
64 %{__libtoolize}
65 %{__aclocal}
66 %{__autoconf}
67 %{__automake}
68 %configure \
69         --enable-editing
70
71 %{__make}
72
73 %install
74 rm -rf $RPM_BUILD_ROOT
75
76 %{__make} install \
77         DESTDIR=$RPM_BUILD_ROOT
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %post   -p /sbin/ldconfig
83 %postun -p /sbin/ldconfig
84
85 %files
86 %defattr(644,root,root,755)
87 %doc AUTHORS ChangeLog NEWS README
88 %attr(755,root,root) %{_bindir}/*
89 %attr(755,root,root) %{_libdir}/lib*.so.*.*
90
91 %files devel
92 %defattr(644,root,root,755)
93 %doc doc/html
94 %attr(755,root,root) %{_libdir}/lib*.so
95 %{_libdir}/lib*.la
96 %{_includedir}/libEMF
97
98 %files static
99 %defattr(644,root,root,755)
100 %{_libdir}/lib*.a
This page took 0.034391 seconds and 3 git commands to generate.