]> git.pld-linux.org Git - packages/libwmf.git/blob - libwmf.spec
- added using %%{__make} macro.
[packages/libwmf.git] / libwmf.spec
1 Summary:        libwmf, library to convert wmf files
2 Name:           libwmf
3 Version:        0.1.17
4 Release:        1
5 Serial:         2
6 License:        GPL
7 Group:          Utilities/Text
8 Group(fr):      Utilitaires/Texte
9 Group(pl):      Narzêdzia/Tekst
10 Vendor:         Caolan McNamara <Caolan.McNamara@ul.ie>
11 Source0:        http://www.csn.ul.ie/~caolan/publink/libwmf/%{name}-%{version}.tar.gz
12 Patch0:         libwmf-DESTDIR.patch
13 URL:            http://www.csn.ul.ie/~caolan/docs/libwmf.html
14 Requires:       freetype
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 libwmf is a library for unix like machines that can convert wmf files
19 into other formats, currently it supports a gd binding to convert to
20 gif, and an X one to draw direct to an X window or pixmap.
21
22 %prep
23 %setup -q -n %{name}
24 %patch -p1
25
26 %build
27 LDFLAGS="-s"; export LDFLAGS
28 %configure
29 make
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_includedir}}
34
35 %{__make} install DESTDIR=$RPM_BUILD_ROOT
36
37 gzip -9nf winepatches/* CHANGELOG CREDITS README TODO libwmf.lsm
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %doc doc examples notes winepatches {CHANGELOG,CREDITS,README,TODO,libwmf.lsm}.gz
45 %attr(755,root,root) %{_bindir}/*
46 %{_libdir}/*
47 %{_includedir}/*
This page took 0.039819 seconds and 4 git commands to generate.