source: projects/specs/branches/6/lib/libX/libXau/libXau-vl.spec @ 1887

Revision 1887, 6.3 KB checked in by Takemikaduchi, 14 years ago (diff)

rebuild with rpm-4.8.1

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: 2%{?_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* Fri Sep 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.6-2
122- rebuild with rpm-4.8.1 for pkg-config file
123
124* Sat Jul 31 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.6-1
125- new upstream release
126
127* Tue Nov 17 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.5-1
128- new upstream release
129
130* Sun May 03 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.4-2
131- added compat32 package for x86_64 arch support
132
133* Mon Sep 01 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1
134- new upstream release
135
136* Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-1
137- new versioning policy
138
139* Sun Jan 13 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-0vl1
140- initial build for Vine Linux
141
142* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.3-3
143- Rebuild for build id
144
145* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.0.3-2
146- Don't install INSTALL
147
148* Fri Jan 05 2007 Adam Jackson <ajax@redhat.com> 1.0.3-1
149- Update to 1.0.3
150
151* Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.0.2-1
152- Update to 1.0.2
153
154* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-3.1
155- rebuild
156
157* Wed Jun 07 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-3
158- Remove package ownership of mandir/libdir/etc.
159- Added "BuildRequires: xorg-x11-proto-devel" needed by xau.pc
160
161* Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-2
162- Added "BuildRequires: pkgconfig" for (#193422)
163- Replace "makeinstall" with "make install DESTDIR=..." to fix (#192718)
164
165* Fri May 12 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-1
166- Bump to 1.0.1
167
168* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.0-2.2
169- bump again for double-long bug on ppc(64)
170
171* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.0-2.1
172- rebuilt for new gcc4.1 snapshot and glibc changes
173
174* Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 1.0.0-2
175- Bumped and rebuilt
176
177* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
178- Updated libXau to version 1.0.0 from X11R7 RC4
179
180* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
181- Updated libXau to version 0.99.2 from X11R7 RC3
182- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
183  that /usr/lib/X11 and /usr/include/X11 pre-exist.
184- Removed 'x' suffix from manpage directories to match RC3 upstream.
185
186* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
187- rebuilt
188
189* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-2
190- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
191- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
192
193* Fri Oct 21 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
194- Update to libXau-0.99.1 from X11R7 RC1 release.
195- Added manpages that were absent in X11R7 RC0, and updated the file lists
196  to find them in section "man3x".
197
198* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
199- Renamed package to remove xorg-x11 from the name due to unanimous decision
200  between developers.
201- Use Fedora Extras style BuildRoot tag.
202- Disable static library creation by default.
203- Add missing defattr to devel subpackage
204- Add missing documentation files to doc macro
205
206* Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
207- Renamed package to prepend "xorg-x11" to the name for consistency with
208  the rest of the X11R7 packages.
209- Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
210  subpackage to ensure the devel package matches the installed shared libs.
211- Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
212  allow applications to use implementation agnostic dependencies.
213- Added post/postun scripts which call ldconfig.
214- Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
215  and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
216
217* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
218- Initial build.
Note: See TracBrowser for help on using the repository browser.