]> git.pld-linux.org Git - packages/libwmf.git/blob - libwmf.spec
- modyfications for using neew rpm automation.
[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 %configure
28 %{__make}
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_includedir}}
33
34 %{__make} install DESTDIR=$RPM_BUILD_ROOT
35
36 gzip -9nf winepatches/* CHANGELOG CREDITS README TODO libwmf.lsm
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 %doc doc examples notes winepatches {CHANGELOG,CREDITS,README,TODO,libwmf.lsm}.gz
44 %attr(755,root,root) %{_bindir}/*
45 %{_libdir}/*
46 %{_includedir}/*
This page took 0.033102 seconds and 4 git commands to generate.