source: projects/specs/trunk/lib/libX/libXau/libXau-vl.spec @ 12185

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

updated X11 libs

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Summary: X.Org X11 libXau runtime library
4Summary(ja): X.Org X11 libXau ランタイムライブラリ
5Name: libXau
6Version: 1.0.9
7Release: 1%{?_dist_release}
8License: MIT/X11
9Group: System Environment/Libraries
10URL: http://www.x.org
11
12Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
15BuildRequires: pkgconfig
16BuildRequires: xorg-x11-proto-devel
17BuildRequires: xorg-x11-util-macros
18Obsoletes: XFree86-libs, XOrg-libs
19
20Vendor: Project Vine
21Distribution: Vine Linux
22
23%description
24X.Org X11 libXau runtime library
25
26%package devel
27Summary: X.Org X11 libXau development package
28Group: Development/Libraries
29Requires(pre): xorg-x11-filesystem
30Requires: %{name} = %{version}-%{release}
31
32# xorg-x11-proto-devel needed by xau.pc
33BuildRequires: xorg-x11-proto-devel
34
35Obsoletes: XFree86-devel, XOrg-devel
36
37%description devel
38X.Org X11 libXau development package
39
40# compat32
41%package -n compat32-%{name}
42Summary: X.Org X11 libXau runtime library
43Summary(ja): X.Org X11 libXau ランタイムライブラリ
44Group: System Environment/Libraries
45
46%description -n compat32-%{name}
47X.Org X11 libXau runtime library
48
49%package -n compat32-%{name}-devel
50Summary: X.Org X11 libXau development package
51Group: Development/Libraries
52Requires(pre): xorg-x11-filesystem
53Requires: compat32-%{name} = %{version}-%{release}
54Requires: %{name}-devel = %{version}-%{release}
55
56%description -n compat32-%{name}-devel
57X.Org X11 libXau development package
58
59%prep
60%setup -q
61
62# Disable static library creation by default.
63%define with_static 0
64
65%build
66
67%configure \
68%if ! %{with_static}
69        --disable-static
70%endif
71make
72
73%install
74rm -rf $RPM_BUILD_ROOT
75
76make install DESTDIR=$RPM_BUILD_ROOT
77
78# We intentionally don't ship *.la files
79rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
80
81%clean
82rm -rf $RPM_BUILD_ROOT
83
84%post -p /sbin/ldconfig
85%postun -p /sbin/ldconfig
86
87%post -n compat32-%{name} -p /sbin/ldconfig
88%postun -n compat32-%{name} -p /sbin/ldconfig
89
90%files
91%defattr(-,root,root,-)
92%license COPYING
93%doc AUTHORS README ChangeLog
94%{_libdir}/libXau.so.6
95%{_libdir}/libXau.so.6.0.0
96
97%files devel
98%defattr(-,root,root,-)
99%dir %{_includedir}/X11
100%{_includedir}/X11/Xauth.h
101%if %{with_static}
102%{_libdir}/libXau.a
103%endif
104%{_libdir}/libXau.so
105%{_libdir}/pkgconfig/xau.pc
106#%dir %{_mandir}/man3x
107%{_mandir}/man3/*.3*
108
109# compat32
110%if %{build_compat32}
111%files -n compat32-%{name}
112%defattr(-,root,root,-)
113%{_libdir}/libXau.so.6
114%{_libdir}/libXau.so.6.0.0
115
116%files -n compat32-%{name}-devel
117%defattr(-,root,root,-)
118%if %{with_static}
119%{_libdir}/libXau.a
120%endif
121%{_libdir}/libXau.so
122%endif
123
124%changelog
125* Thu Sep 05 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.9-1
126- new upstream release.
127
128* Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-2
129- rebuild with VineSeed environment
130
131* Sun Jun 02 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.8-1
132- new upstream release
133
134* Fri Mar 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.7-1
135- new upstream release
136- add BuildRequires: xorg-x11-util-macros
137
138* Fri Sep 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.6-2
139- rebuild with rpm-4.8.1 for pkg-config file
140
141* Sat Jul 31 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.6-1
142- new upstream release
143
144* Tue Nov 17 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.5-1
145- new upstream release
146
147* Sun May 03 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.4-2
148- added compat32 package for x86_64 arch support
149
150* Mon Sep 01 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1
151- new upstream release
152
153* Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-1
154- new versioning policy
155
156* Sun Jan 13 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-0vl1
157- initial build for Vine Linux
158
159* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.3-3
160- Rebuild for build id
161
162* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.0.3-2
163- Don't install INSTALL
164
165* Fri Jan 05 2007 Adam Jackson <ajax@redhat.com> 1.0.3-1
166- Update to 1.0.3
167
168* Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.0.2-1
169- Update to 1.0.2
170
171* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-3.1
172- rebuild
173
174* Wed Jun 07 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-3
175- Remove package ownership of mandir/libdir/etc.
176- Added "BuildRequires: xorg-x11-proto-devel" needed by xau.pc
177
178* Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-2
179- Added "BuildRequires: pkgconfig" for (#193422)
180- Replace "makeinstall" with "make install DESTDIR=..." to fix (#192718)
181
182* Fri May 12 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-1
183- Bump to 1.0.1
184
185* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.0-2.2
186- bump again for double-long bug on ppc(64)
187
188* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.0-2.1
189- rebuilt for new gcc4.1 snapshot and glibc changes
190
191* Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 1.0.0-2
192- Bumped and rebuilt
193
194* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
195- Updated libXau to version 1.0.0 from X11R7 RC4
196
197* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
198- Updated libXau to version 0.99.2 from X11R7 RC3
199- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
200  that /usr/lib/X11 and /usr/include/X11 pre-exist.
201- Removed 'x' suffix from manpage directories to match RC3 upstream.
202
203* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
204- rebuilt
205
206* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-2
207- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
208- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
209
210* Fri Oct 21 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
211- Update to libXau-0.99.1 from X11R7 RC1 release.
212- Added manpages that were absent in X11R7 RC0, and updated the file lists
213  to find them in section "man3x".
214
215* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
216- Renamed package to remove xorg-x11 from the name due to unanimous decision
217  between developers.
218- Use Fedora Extras style BuildRoot tag.
219- Disable static library creation by default.
220- Add missing defattr to devel subpackage
221- Add missing documentation files to doc macro
222
223* Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
224- Renamed package to prepend "xorg-x11" to the name for consistency with
225  the rest of the X11R7 packages.
226- Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
227  subpackage to ensure the devel package matches the installed shared libs.
228- Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
229  allow applications to use implementation agnostic dependencies.
230- Added post/postun scripts which call ldconfig.
231- Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
232  and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
233
234* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
235- Initial build.
Note: See TracBrowser for help on using the repository browser.