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

Revision 5869, 6.4 KB checked in by Takemikaduchi, 12 years ago (diff)

new upstream release

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