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

Revision 12185, 2.6 KB checked in by tomop, 5 years ago (diff)

updated X11 libs

RevLine 
[8437]1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
[8064]3Name:           libxshmfence
[12185]4Version:        1.3
[10229]5Release:        1%{?_dist_release}
[8064]6Summary:        X11 shared memory fences
7
8License:        MIT
9URL:            http://www.x.org/
[8437]10Group:          System Environment/Libraries
[8064]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
22
23%description
24Shared memory fences for X11, as used in DRI3.
25
26%package        devel
27Summary:        Development files for %{name}
[9047]28Group:          Development/Libraries
[8064]29Requires:       %{name} = %{version}-%{release}
30
31%description    devel
32The %{name}-devel package contains libraries and header files for
33developing applications that use %{name}.
34
[8437]35# compat32
36%package -n compat32-%{name}
37Summary: X11 shared memory fences
38Group: System Environment/Libraries
39Requires: %{name} = %{version}-%{release}
40
41%description -n compat32-%{name}
42This package contains libraries and header files for
43developing applications that use %{name}.
44
45
[8064]46%prep
47%setup -q
48
49%build
50autoreconf -v -i -f
51%configure --disable-static
52make %{?_smp_mflags}
53
54%install
[9047]55rm -rf $RPM_BUILD_ROOT
[8064]56make install DESTDIR=$RPM_BUILD_ROOT
57find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
58
59%post -p /sbin/ldconfig
60
61%postun -p /sbin/ldconfig
62
[8437]63%post -n compat32-%{name} -p /sbin/ldconfig
64
65%postun -n compat32-%{name} -p /sbin/ldconfig
66
[9047]67%clean
68rm -rf $RPM_BUILD_ROOT
[8437]69
[9047]70
[8064]71%files
[12185]72%license COPYING
73%doc ChangeLog README
[8064]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
[8437]83# compat32
84%if %{build_compat32}
85%files -n compat32-%{name}
86%defattr(-,root,root,-)
87%{_libdir}/libxshmfence.so.1*
88%endif
89
[8064]90%changelog
[12185]91* Fri Sep 06 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3-1
92- new upstream release.
93
[10229]94* Thu May 05 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2-1
95- update to 1.2
96
[9047]97* Sat Nov  1 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.1-3
98- added Group tag to devel package
99- added %%clean section to spec file
100
[8437]101* Wed May 14 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-2
102- add compat32 subpackage for mesa
103
[8064]104* Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1-1
105- initial build for Vine Linux
106
107
108* Thu Dec 12 2013 Adam Jackson <ajax@redhat.com> 1.1-1
109- xshmfence 1.1
110
111* Wed Nov 06 2013 Adam Jackson <ajax@redhat.com> 1.0-1
112- Initial packaging
113
Note: See TracBrowser for help on using the repository browser.