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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1579146 - (show 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 %define major 1
2 %define libxscrnsaver %mklibname xscrnsaver %{major}
3 %define devxscrnsaver %mklibname xscrnsaver -d
4
5 Name: libxscrnsaver
6 Summary: The XScrnSaver Library
7 Version: 1.2.3
8 Release: %mkrel 4
9 Group: Development/X11
10 License: MIT
11 URL: https://xorg.freedesktop.org
12 Source0: https://xorg.freedesktop.org/releases/individual/lib/libXScrnSaver-%{version}.tar.bz2
13
14 BuildRequires: pkgconfig(x11) >= 1.0.0
15 BuildRequires: pkgconfig(xext) >= 1.0.0
16 BuildRequires: x11-util-macros
17
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 Provides: libXScrnSaver = %{version}
28
29 %description -n %{libxscrnsaver}
30 The XScrnSaver Library
31
32 %files -n %{libxscrnsaver}
33 %{_libdir}/libXss.so.%{major}{,.*}
34
35 #-----------------------------------------------------------
36
37 %package -n %{devxscrnsaver}
38 Summary: Development files for %{name}
39 Group: Development/X11
40 Requires: %{libxscrnsaver} = %{version}-%{release}
41 Provides: libxscrnsaver-devel = %{version}-%{release}
42 Obsoletes: %{_lib}xscrnsaver1-devel < 1.2.2-3
43 Obsoletes: %{_lib}xscrnsaver1-static-devel < 1.2.2-3
44
45 %description -n %{devxscrnsaver}
46 Development files for %{name}
47
48 %files -n %{devxscrnsaver}
49 %{_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 #to recognize aarch64
62 autoreconf -vfi
63 %configure --x-includes=%{_includedir}\
64 --x-libraries=%{_libdir} \
65 --disable-static
66
67 %make_build
68
69 %install
70 %make_install
71
72 #we don't want these
73 find %{buildroot} -name "*.la" -delete
74

  ViewVC Help
Powered by ViewVC 1.1.28