source: projects/specs/trunk/lib/libx/libxshmfence/libxshmfence-vl.spec @ 10229

Revision 10229, 2.5 KB checked in by Takemikaduchi, 8 years ago (diff)

xserver-1.18.3

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Name:           libxshmfence
4Version:        1.2
5Release:        1%{?_dist_release}
6Summary:        X11 shared memory fences
7
8License:        MIT
9URL:            http://www.x.org/
10Group:          System Environment/Libraries
11Source0:        http://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
12
13# upstream tarball has broken libtool because libtool is never not broken
14BuildRequires:  autoconf
15BuildRequires:  automake
16BuildRequires:  libtool
17BuildRequires:  xorg-x11-util-macros
18BuildRequires:  xorg-x11-proto-devel
19
20Vendor: Project Vine
21Distribution: Vine Linux
22Packager: Takemikaduchi
23
24%description
25Shared memory fences for X11, as used in DRI3.
26
27%package        devel
28Summary:        Development files for %{name}
29Group:          Development/Libraries
30Requires:       %{name} = %{version}-%{release}
31
32%description    devel
33The %{name}-devel package contains libraries and header files for
34developing applications that use %{name}.
35
36# compat32
37%package -n compat32-%{name}
38Summary: X11 shared memory fences
39Group: System Environment/Libraries
40Requires: %{name} = %{version}-%{release}
41
42%description -n compat32-%{name}
43This package contains libraries and header files for
44developing applications that use %{name}.
45
46
47%prep
48%setup -q
49
50%build
51autoreconf -v -i -f
52%configure --disable-static
53make %{?_smp_mflags}
54
55%install
56rm -rf $RPM_BUILD_ROOT
57make install DESTDIR=$RPM_BUILD_ROOT
58find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
59
60%post -p /sbin/ldconfig
61
62%postun -p /sbin/ldconfig
63
64%post -n compat32-%{name} -p /sbin/ldconfig
65
66%postun -n compat32-%{name} -p /sbin/ldconfig
67
68%clean
69rm -rf $RPM_BUILD_ROOT
70
71
72%files
73%doc COPYING ChangeLog README
74%defattr(-,root,root,-)
75%{_libdir}/libxshmfence.so.1*
76
77%files devel
78%defattr(-,root,root,-)
79%{_includedir}/*
80%{_libdir}/pkgconfig/xshmfence.pc
81%{_libdir}/*.so
82
83# compat32
84%if %{build_compat32}
85%files -n compat32-%{name}
86%defattr(-,root,root,-)
87%{_libdir}/libxshmfence.so.1*
88%endif
89
90%changelog
91* Thu May 05 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2-1
92- update to 1.2
93
94* Sat Nov  1 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.1-3
95- added Group tag to devel package
96- added %%clean section to spec file
97
98* Wed May 14 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-2
99- add compat32 subpackage for mesa
100
101* Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1-1
102- initial build for Vine Linux
103
104
105* Thu Dec 12 2013 Adam Jackson <ajax@redhat.com> 1.1-1
106- xshmfence 1.1
107
108* Wed Nov 06 2013 Adam Jackson <ajax@redhat.com> 1.0-1
109- Initial packaging
110
Note: See TracBrowser for help on using the repository browser.