Fixed package groups
[platform/upstream/libXpm.git] / packaging / libXpm.spec
1 Name:           libXpm
2 Version:        3.5.10
3 Release:        1
4 License:        MIT
5 Summary:        XPM format pixmap library
6 Url:            http://www.x.org
7 Group:          Graphics/X Window System
8
9 Source:         %{name}-%{version}.tar.bz2
10
11 BuildRequires:  gettext
12 BuildRequires:  pkgconfig(xau)
13 BuildRequires:  pkgconfig(xext)
14 BuildRequires:  pkgconfig(xorg-macros)
15 BuildRequires:  pkgconfig(xproto)
16 BuildRequires:  pkgconfig(xt)
17
18 %description
19 X.Org X11 libXpm runtime library
20
21 %package devel
22 Summary:        XPM format pixmap library
23 Group:          Development/Libraries
24 Requires:       %{name} = %{version}
25 Provides:       libxpm-devel
26
27 %description devel
28 X.Org X11 libXpm development package
29
30 %prep
31 %setup -q
32
33 %build
34 %configure --disable-static
35 make %{?_smp_mflags}
36
37 %install
38 %make_install
39
40 %remove_docs
41
42 %post -p /sbin/ldconfig
43
44 %postun -p /sbin/ldconfig
45
46 %files
47 %defattr(-,root,root,-)
48 %license COPYING
49 %{_libdir}/libXpm.so.4
50 %{_libdir}/libXpm.so.4.11.0
51
52 %files devel
53 %defattr(-,root,root,-)
54 %{_bindir}/cxpm
55 %{_bindir}/sxpm
56 %{_includedir}/X11/xpm.h
57 %{_libdir}/libXpm.so
58 %{_libdir}/pkgconfig/xpm.pc