]> git.pld-linux.org Git - packages/libwmf.git/blob - libwmf.spec
- updated to 0.2.2, removed obsolete gd patch
[packages/libwmf.git] / libwmf.spec
1 Summary:        libwmf - library to convert wmf files
2 Summary(pl):    libwmf - biblioteka z funkcjami do konwersji plików wmf
3 Name:           libwmf
4 Version:        0.2.2
5 Release:        1
6 Epoch:          2
7 License:        GPL
8 Vendor:         Caolan McNamara <Caolan.McNamara@ul.ie>
9 Group:          Applications/Text
10 Group(cs):      Aplikace/Text
11 Group(da):      Programmer/Tekst
12 Group(de):      Applikationen/Text
13 Group(es):      Aplicaciones/Texto
14 Group(fr):      Applications/Texte
15 Group(is):      Forrit/Texti
16 Group(it):      Applicazioni/Testo
17 Group(ja):      ¥¢¥×¥ê¥±¡¼¥·¥ç¥ó/¥Æ¥­¥¹¥È
18 Group(no):      Applikasjoner/Tekst
19 Group(pl):      Aplikacje/Tekst
20 Group(pt):      Aplicações/Texto
21 Group(ru):      ðÒÉÌÏÖÅÎÉÑ/ôÅËÓÔÏ×ÙÅ ÕÔÉÌÉÔÙ
22 Group(sl):      Programi/Besedilo
23 Group(sv):      Tillämpningar/Text
24 Group(uk):      ðÒÉËÌÁÄΦ ðÒÏÇÒÁÍÉ/ôÅËÓÔÏצ ÕÔÉ̦ÔÉ
25 Source0:        ftp://download.sourceforge.net/pub/sourceforge/wvware/%{name}-%{version}.tar.gz
26 Patch0:         %{name}-fontmap-pld.patch
27 Patch1:         %{name}-includes.patch
28 Patch2:         %{name}-segv.patch
29 URL:            http://wvware.sourceforge.net/
30 BuildRequires:  libpng-devel
31 BuildRequires:  libjpeg-devel
32 BuildRequires:  freetype-devel >= 2.0
33 BuildRequires:  XFree86-devel
34 BuildRequires:  expat-devel
35 BuildRequires:  libplot-devel
36 BuildRequires:  autoconf
37 BuildRequires:  automake
38 BuildRequires:  libtool
39 BuildRequires:  plotutils
40 Prereq:         /sbin/ldconfig
41 Prereq:         sed
42 Prereq:         ghostscript-fonts-std
43 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44
45 %description
46 libwmf is a library for unix like machines that can convert wmf files
47 into other formats, currently it supports fig, eps, a gd binding to
48 convert to png, and an X one to draw direct to an X window or pixmap.
49
50 %description -l pl
51 libwmf jest bibliotek± dla systemów uniksowych, która konwertuje pliki
52 wmf na inne formaty. Aktualnie obs³uguje formaty fig i eps, format png
53 poprzez bibliotekê gd oraz - poprzez biblioteki X Window - rysowanie w
54 okienku oraz format xpm.
55
56 %package devel
57 Summary:        libwmf - header files
58 Summary(pl):    libwmf - pliki nag³ówkowe
59 Group:          Development/Libraries
60 Group(cs):      Vývojové prostøedky/Knihovny
61 Group(da):      Udvikling/Biblioteker
62 Group(de):      Entwicklung/Bibliotheken
63 Group(es):      Desarrollo/Bibliotecas
64 Group(fr):      Development/Librairies
65 Group(is):      Þróunartól/Aðgerðasöfn
66 Group(it):      Sviluppo/Librerie
67 Group(ja):      ³«È¯/¥é¥¤¥Ö¥é¥ê
68 Group(no):      Utvikling/Bibliotek
69 Group(pl):      Programowanie/Biblioteki
70 Group(pt_BR):   Desenvolvimento/Bibliotecas
71 Group(pt):      Desenvolvimento/Bibliotecas
72 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
73 Group(sl):      Razvoj/Knji¾nice
74 Group(sv):      Utveckling/Bibliotek
75 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
76 Requires:       %{name} = %{version}
77
78 %description devel
79 This package contains libwmf header files.
80
81 %description devel -l pl
82 Pakiet zawiera pliki nag³ówkowe do biblioteki libwmf.
83
84 %package static
85 Summary:        libwmf - static libraries
86 Summary(pl):    libwmf - biblioteki statyczne
87 Group:          Development/Libraries
88 Group(cs):      Vývojové prostøedky/Knihovny
89 Group(da):      Udvikling/Biblioteker
90 Group(de):      Entwicklung/Bibliotheken
91 Group(es):      Desarrollo/Bibliotecas
92 Group(fr):      Development/Librairies
93 Group(is):      Þróunartól/Aðgerðasöfn
94 Group(it):      Sviluppo/Librerie
95 Group(ja):      ³«È¯/¥é¥¤¥Ö¥é¥ê
96 Group(no):      Utvikling/Bibliotek
97 Group(pl):      Programowanie/Biblioteki
98 Group(pt_BR):   Desenvolvimento/Bibliotecas
99 Group(pt):      Desenvolvimento/Bibliotecas
100 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
101 Group(sl):      Razvoj/Knji¾nice
102 Group(sv):      Utveckling/Bibliotek
103 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
104 Requires:       %{name}-devel = %{version}
105
106 %description static
107 This package contains libwmf static libraries.
108
109 %description static -l pl
110 Pakiet zawiera statyczn± wersjê biblioteki libwmf.
111
112 %prep
113 %setup -q
114 %patch0 -p1
115 %patch1 -p1
116 %patch2 -p1
117
118 %build
119 libtoolize --copy --force
120 aclocal
121 automake -a -c
122 autoconf
123 %configure \
124         --with-plot \
125         --enable-magick
126 %{__make}
127
128 %install
129 rm -rf $RPM_BUILD_ROOT
130
131 %{__make} install DESTDIR=$RPM_BUILD_ROOT
132
133 mv -f $RPM_BUILD_ROOT%{_datadir}/doc ./html-doc
134 gzip -9nf CREDITS ChangeLog README TODO
135
136 %clean
137 rm -rf $RPM_BUILD_ROOT
138
139 %post
140 /sbin/ldconfig
141 %{_bindir}/libwmf-fontmap >/dev/null
142
143 %postun -p /sbin/ldconfig
144
145 %files
146 %defattr(644,root,root,755)
147 %doc *.gz
148 %attr(755,root,root) %{_bindir}/libwmf-fontmap
149 %attr(755,root,root) %{_bindir}/wmf2eps
150 %attr(755,root,root) %{_bindir}/wmf2fig
151 %attr(755,root,root) %{_bindir}/wmf2gd
152 %attr(755,root,root) %{_bindir}/wmf2magick
153 %attr(755,root,root) %{_bindir}/wmf2plot
154 %attr(755,root,root) %{_bindir}/wmf2svg
155 %attr(755,root,root) %{_bindir}/wmf2x
156 %attr(755,root,root) %{_libdir}/*.so.*.*
157 %dir %{_datadir}/libwmf
158 %dir %{_datadir}/libwmf/fonts
159 %ghost %{_datadir}/libwmf/fonts/fontmap
160
161 %files devel
162 %defattr(644,root,root,755)
163 %doc html-doc examples
164 %attr(755,root,root) %{_bindir}/libwmf-config
165 %attr(755,root,root) %{_libdir}/*.so
166 %attr(755,root,root) %{_libdir}/*.la
167 %{_includedir}/*
168
169 %files static
170 %defattr(644,root,root,755)
171 %{_libdir}/*.a
This page took 0.052319 seconds and 4 git commands to generate.