/[packages]/backports/4/libxshmfence/current/SPECS/libxshmfence.spec
ViewVC logotype

Contents of /backports/4/libxshmfence/current/SPECS/libxshmfence.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 650780 - (show annotations) (download)
Tue Jul 8 20:58:56 2014 UTC (9 years, 9 months ago) by tv
File size: 1425 byte(s)
branch

1 %define major 1
2 %define libname %mklibname xshmfence %major
3 %define devname %mklibname -d xshmfence
4
5 Name: libxshmfence
6 Version: 1.1
7 Release: %mkrel 1
8 Summary: X11 shared memory fences
9 Group: System/X11
10
11 License: MIT
12 URL: http://www.x.org/
13 Source0: http://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
14
15 # upstream tarball has broken libtool because libtool is never not broken
16 BuildRequires: autoconf
17 BuildRequires: automake
18 BuildRequires: libtool
19 BuildRequires: x11-util-macros
20 BuildRequires: pkgconfig(xproto)
21 #Requires:
22
23 %description
24 Shared memory fences for X11, as used in DRI3.
25
26 %package -n %libname
27 Summary: X11 shared memory fences
28 Group: System/X11
29
30 %description -n %libname
31 Shared memory fences for X11, as used in DRI3.
32
33 %package -n %devname
34 Summary: Development files for %{name}
35 Group: Development/X11
36 Requires: %{libname} = %{version}-%{release}
37
38 %description -n %devname
39 The %devname package contains libraries and header files for
40 developing applications that use %{name}.
41
42 %prep
43 %setup -q
44
45 %build
46 autoreconf -v -i -f
47 %configure --disable-static
48 %make
49
50 %install
51 %make_install
52 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
53
54
55 %files -n %libname
56 %doc
57 %{_libdir}/libxshmfence.so.%{major}*
58
59 %files -n %devname
60 %doc
61 %{_includedir}/*
62 %{_libdir}/pkgconfig/xshmfence.pc
63 %{_libdir}/*.so
64

  ViewVC Help
Powered by ViewVC 1.1.30