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