]> git.pld-linux.org Git - packages/libwmf.git/blob - libwmf.spec
- spec adapterized,
[packages/libwmf.git] / libwmf.spec
1 Summary:        libwmf - library to convert wmf files
2 Summary:        libwmf - biblioteka z funkcjami do konwersji plików wmf
3 Name:           libwmf
4 Version:        0.1.17
5 Release:        2
6 Epoch:          2
7 License:        GPL
8 Vendor:         Caolan McNamara <Caolan.McNamara@ul.ie>
9 Group:          Applications/Text
10 Group(de):      Applikationen/Text
11 Group(fr):      Utilitaires/Texte
12 Group(pl):      Aplikacje/Tekst
13 Source0:        http://www.csn.ul.ie/~caolan/publink/libwmf/%{name}-%{version}.tar.gz
14 Patch0:         %{name}-DESTDIR.patch
15 URL:            http://www.csn.ul.ie/~caolan/docs/libwmf.html
16 BuildRequires:  XFree86-devel
17 BuildRequires:  freetype-devel
18 BuildRequires:  libpng-devel
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 libwmf is a library for unix like machines that can convert wmf files
23 into other formats, currently it supports a gd binding to convert to
24 gif, and an X one to draw direct to an X window or pixmap.
25
26 %prep
27 %setup -q -n %{name}
28 %patch -p1
29
30 %build
31 CFLAGS="%{?debug:-O -g}%{!?debug:$RPM_OPT_FLAGS} -I/usr/include/freetype"
32 %configure
33 %{__make}
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_includedir}}
38
39 %{__make} install DESTDIR=$RPM_BUILD_ROOT
40
41 gzip -9nf winepatches/* CHANGELOG CREDITS README libwmf.lsm
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc doc examples notes winepatches/*.gz *.gz
49 %attr(755,root,root) %{_bindir}/*
50 %{_libdir}/*
51 %{_includedir}/*
This page took 0.034271 seconds and 4 git commands to generate.