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

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Name:           libxshmfence
4Version:        1.3
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
22
23%description
24Shared memory fences for X11, as used in DRI3.
25
26%package        devel
27Summary:        Development files for %{name}
28Group:          Development/Libraries
29Requires:       %{name} = %{version}-%{release}
30
31%description    devel
32The %{name}-devel package contains libraries and header files for
33developing applications that use %{name}.
34
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
46%prep
47%setup -q
48
49%build
50autoreconf -v -i -f
51%configure --disable-static
52make %{?_smp_mflags}
53
54%install
55rm -rf $RPM_BUILD_ROOT
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
63%post -n compat32-%{name} -p /sbin/ldconfig
64
65%postun -n compat32-%{name} -p /sbin/ldconfig
66
67%clean
68rm -rf $RPM_BUILD_ROOT
69
70
71%files
72%license COPYING
73%doc 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* Fri Sep 06 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3-1
92- new upstream release.
93
94* Thu May 05 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2-1
95- update to 1.2
96
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
101* Wed May 14 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-2
102- add compat32 subpackage for mesa
103
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.