/[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 1541352 - (hide annotations) (download)
Tue Feb 18 17:04:57 2020 UTC (4 years, 2 months ago) by umeabot
Original Path: cauldron/libxpm/current/SPECS/libxpm.spec
File size: 1982 byte(s)
Mageia 8 Mass Rebuild
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 1470016 Version: 3.5.13
8 umeabot 1541352 Release: %mkrel 2
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 ovitters 1144985 BuildRequires: pkgconfig(x11) >= 1.0.0
15     BuildRequires: pkgconfig(xext) >= 1.0.0
16     BuildRequires: pkgconfig(xt) >= 1.0.0
17 blino 1016 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 ovitters 878576 %{_libdir}/libXpm.so.%{major}.*
40 wally 469606
41 blino 1016 #-----------------------------------------------------------
42    
43     %package -n %{develxpm}
44     Summary: Development files for %{name}
45     Group: Development/X11
46 wally 469607 Requires: %{libxpm} = %{version}-%{release}
47 blino 1016 Provides: libxpm-devel = %{version}-%{release}
48     Provides: xpm-devel = %{version}-%{release}
49 wally 469604 Obsoletes: %{_lib}xpm-static-devel < 3.5.10-4
50 blino 1016
51     %description -n %{develxpm}
52     Development files for %{name}
53    
54     %files -n %{develxpm}
55     %{_bindir}/cxpm
56     %{_bindir}/sxpm
57     %{_libdir}/libXpm.so
58     %{_libdir}/pkgconfig/xpm.pc
59     %{_includedir}/X11/xpm.h
60     %{_mandir}/man1/*
61    
62     #-----------------------------------------------------------
63    
64     %prep
65     %setup -q -n libXpm-%{version}
66    
67     %build
68 wally 1479731 %configure --x-includes=%{_includedir}\
69 wally 469604 --x-libraries=%{_libdir} \
70     --disable-static
71 blino 1016
72     %make
73    
74     %install
75 wally 1471300 %make_install
76 blino 1016
77 colin 174149 find %{buildroot} -name "*.la" -delete

  ViewVC Help
Powered by ViewVC 1.1.30