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

Revision 1479, 6.2 KB checked in by inagaki, 14 years ago (diff)

updated: libpciaccess, libXext, libXcomposite, libXau, libXfont, libXdamage

libXrender, libX11, pixman, xorg-x11-util-macros

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