blob: f9ae070945b884b9647fae9581a64daf70207e57 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
Name: libXTrap
Summary: X.Org X11 libXTrap runtime library
Version: 1.0.0
Release: 10
Group: System/Libraries
License: MIT
URL: http://www.x.org/
Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.gz
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: pkgconfig(xproto)
BuildRequires: pkgconfig(xextproto)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xt)
BuildRequires: pkgconfig(trapproto)
BuildRequires: pkgconfig(xorg-macros)
%description
Description: %{summary}
%package devel
Summary: Development components for the libXTrap library
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
Description: %{summary}
%prep
%setup -q -n %{name}-%{version}
%build
%reconfigure --disable-static
make %{?jobs:-j%jobs}
%install
rm -rf %{buildroot}
%make_install
%clean
rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc COPYING
%{_libdir}/libXTrap.so.6
%{_libdir}/libXTrap.so.6.4.0
%files devel
%defattr(-,root,root,-)
%doc AUTHORS README ChangeLog
%{_libdir}/libXTrap.so
%{_libdir}/pkgconfig/xtrap.pc
|