/[packages]/cauldron/libxscrnsaver/current/SPECS/libxscrnsaver.spec
ViewVC logotype

Annotation of /cauldron/libxscrnsaver/current/SPECS/libxscrnsaver.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1579146 - (hide annotations) (download)
Mon May 4 08:28:02 2020 UTC (20 months, 3 weeks ago) by ovitters
File size: 1791 byte(s)
SILENT change make macro to make_build
1 dmorgan 170174 %define major 1
2     %define libxscrnsaver %mklibname xscrnsaver %{major}
3 wally 469354 %define devxscrnsaver %mklibname xscrnsaver -d
4 dmorgan 170174
5 blino 985 Name: libxscrnsaver
6     Summary: The XScrnSaver Library
7 tv 1246754 Version: 1.2.3
8 umeabot 1524220 Release: %mkrel 4
9 blino 985 Group: Development/X11
10     License: MIT
11 danf 1563126 URL: https://xorg.freedesktop.org
12     Source0: https://xorg.freedesktop.org/releases/individual/lib/libXScrnSaver-%{version}.tar.bz2
13 blino 985
14 ovitters 1144990 BuildRequires: pkgconfig(x11) >= 1.0.0
15     BuildRequires: pkgconfig(xext) >= 1.0.0
16 wally 601360 BuildRequires: x11-util-macros
17 blino 985
18     %description
19     The XScrnSaver Library
20    
21     #-----------------------------------------------------------
22    
23     %package -n %{libxscrnsaver}
24     Summary: The XScrnSaver Library
25     Group: Development/X11
26     Provides: %{name} = %{version}
27 kekepower 1380482 Provides: libXScrnSaver = %{version}
28 blino 985
29     %description -n %{libxscrnsaver}
30 dmorgan 170174 The XScrnSaver Library
31 blino 985
32 dmorgan 170174 %files -n %{libxscrnsaver}
33 ovitters 877479 %{_libdir}/libXss.so.%{major}{,.*}
34 dmorgan 170174
35 blino 985 #-----------------------------------------------------------
36    
37 wally 469354 %package -n %{devxscrnsaver}
38 blino 985 Summary: Development files for %{name}
39     Group: Development/X11
40 wally 469354 Requires: %{libxscrnsaver} = %{version}-%{release}
41 blino 985 Provides: libxscrnsaver-devel = %{version}-%{release}
42 wally 469354 Obsoletes: %{_lib}xscrnsaver1-devel < 1.2.2-3
43 wally 469347 Obsoletes: %{_lib}xscrnsaver1-static-devel < 1.2.2-3
44 blino 985
45 wally 469354 %description -n %{devxscrnsaver}
46 blino 985 Development files for %{name}
47    
48 wally 469354 %files -n %{devxscrnsaver}
49 blino 985 %{_libdir}/libXss.so
50     %{_libdir}/pkgconfig/xscrnsaver.pc
51     %{_mandir}/man3/XScreenSaver*
52     %{_mandir}/man3/Xss*
53     %{_includedir}/X11/extensions/scrnsaver.h
54    
55     #-----------------------------------------------------------
56    
57     %prep
58     %setup -q -n libXScrnSaver-%{version}
59    
60     %build
61 wally 1204877 #to recognize aarch64
62     autoreconf -vfi
63 wally 1479737 %configure --x-includes=%{_includedir}\
64 wally 469347 --x-libraries=%{_libdir} \
65     --disable-static
66 blino 985
67 ovitters 1579146 %make_build
68 blino 985
69     %install
70 wally 1471304 %make_install
71 blino 985
72 dmorgan 170175 #we don't want these
73     find %{buildroot} -name "*.la" -delete
74    

  ViewVC Help
Powered by ViewVC 1.1.28