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

Revision 9047, 2.4 KB checked in by inagaki, 10 years ago (diff)

2014-11-01 Ryoichi INAGAKI <ryo1@…>

  • libdb, libxshmfence: change Group


Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Name:           libxshmfence
4Version:        1.1
5Release:        3%{?_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* Sat Nov  1 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.1-3
92- added Group tag to devel package
93- added %%clean section to spec file
94
95* Wed May 14 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-2
96- add compat32 subpackage for mesa
97
98* Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1-1
99- initial build for Vine Linux
100
101
102* Thu Dec 12 2013 Adam Jackson <ajax@redhat.com> 1.1-1
103- xshmfence 1.1
104
105* Wed Nov 06 2013 Adam Jackson <ajax@redhat.com> 1.0-1
106- Initial packaging
107
Note: See TracBrowser for help on using the repository browser.