/[packages]/updates/8/libxpm/current/SPECS/libxpm.spec
ViewVC logotype

Annotation of /updates/8/libxpm/current/SPECS/libxpm.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 469606 - (hide annotations) (download)
Thu Aug 22 14:20:20 2013 UTC (10 years, 8 months ago) by wally
Original Path: cauldron/libxpm/current/SPECS/libxpm.spec
File size: 2024 byte(s)
- clean .spec (SILENT)
1 blino 1016 %define major 4
2     %define libxpm %mklibname xpm %{major}
3     %define develxpm %mklibname -d xpm
4    
5     Name: libxpm
6     Summary: X Pixmap Library
7 tv 222155 Version: 3.5.10
8 luigiwalser 397165 Release: %mkrel 3
9 blino 1016 Group: Development/X11
10     License: MIT
11     URL: http://xorg.freedesktop.org
12     Source0: http://xorg.freedesktop.org/releases/individual/lib/libXpm-%{version}.tar.bz2
13    
14     BuildRequires: libx11-devel >= 1.0.0
15     BuildRequires: libxext-devel >= 1.0.0
16     BuildRequires: libxt-devel >= 1.0.0
17     BuildRequires: x11-proto-devel >= 1.0.0
18     BuildRequires: x11-util-macros >= 1.0.1
19    
20     %description
21     The xpm package contains the XPM pixmap library for the X Window
22     System. The XPM library allows applications to display color,
23     pixmapped images, and is used by many popular X programs.
24    
25     #-----------------------------------------------------------
26    
27     %package -n %{libxpm}
28     Summary: X Pixmap Library
29     Group: Development/X11
30     Provides: %{name} = %{version}
31    
32     %description -n %{libxpm}
33     The xpm package contains the XPM pixmap library for the X Window
34     System. The XPM library allows applications to display color,
35     pixmapped images, and is used by many popular X programs.
36    
37 wally 469606 %files -n %{libxpm}
38     %{_libdir}/libXpm.so.%{major}
39     %{_libdir}/libXpm.so.%{major}.*
40    
41 blino 1016 #-----------------------------------------------------------
42    
43     %package -n %{develxpm}
44     Summary: Development files for %{name}
45     Group: Development/X11
46     Requires: %{libxpm} = %{version}
47     Requires: libx11-devel >= 1.0.0
48     Provides: libxpm-devel = %{version}-%{release}
49     Provides: xpm-devel = %{version}-%{release}
50 wally 469604 Obsoletes: %{_lib}xpm-static-devel < 3.5.10-4
51 blino 1016
52     %description -n %{develxpm}
53     Development files for %{name}
54    
55     %files -n %{develxpm}
56     %{_bindir}/cxpm
57     %{_bindir}/sxpm
58     %{_libdir}/libXpm.so
59     %{_libdir}/pkgconfig/xpm.pc
60     %{_includedir}/X11/xpm.h
61     %{_mandir}/man1/*
62    
63     #-----------------------------------------------------------
64    
65     %prep
66     %setup -q -n libXpm-%{version}
67    
68     %build
69     %configure2_5x --x-includes=%{_includedir}\
70 wally 469604 --x-libraries=%{_libdir} \
71     --disable-static
72 blino 1016
73     %make
74    
75     %install
76     rm -rf %{buildroot}
77     %makeinstall_std
78    
79 colin 174149 find %{buildroot} -name "*.la" -delete

  ViewVC Help
Powered by ViewVC 1.1.30