source: projects/specs/trunk/lib/libX/libXdmcp/libXdmcp-vl.spec @ 1887

Revision 1887, 6.1 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 libXdmcp runtime library
4Summary(ja): X.Org X11 libXdmcp ランタイムライブラリ
5Name: libXdmcp
6Version: 1.0.3
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
19Vendor: Project Vine
20Distribution: Vine Linux
21Packager: Daisuke SUZUKI <daisuke@linux.or.jp>
22
23%description
24X.Org X11 libXdmcp runtime library
25
26%package devel
27Summary: X.Org X11 libXdmcp development package
28Group: Development/Libraries
29Requires(pre): xorg-x11-filesystem
30Requires: %{name} = %{version}-%{release}
31Requires: xorg-x11-proto-devel
32Obsoletes: XFree86-devel, XOrg-devel
33
34%description devel
35X.Org X11 libXdmcp development package
36
37# compat32
38%package -n compat32-%{name}
39Summary: X.Org X11 libXdmcp runtime library
40Summary(ja): X.Org X11 libXdmcp ランタイムライブラリ
41Group: System Environment/Libraries
42
43%description -n compat32-%{name}
44X.Org X11 libXdmcp runtime library
45
46%package -n compat32-%{name}-devel
47Summary: X.Org X11 libXdmcp 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 libXdmcp 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%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}/libXdmcp.so.6
90%{_libdir}/libXdmcp.so.6.0.0
91
92%files devel
93%defattr(-,root,root,-)
94%dir %{_includedir}/X11/
95%{_includedir}/X11/Xdmcp.h
96%if %{with_static}
97%{_libdir}/libXdmcp.a
98%endif
99%{_libdir}/libXdmcp.so
100%{_libdir}/pkgconfig/xdmcp.pc
101
102# compat32
103%if %{build_compat32}
104%files -n compat32-%{name}
105%defattr(-,root,root,-)
106%{_libdir}/libXdmcp.so.6
107%{_libdir}/libXdmcp.so.6.0.0
108
109%files -n compat32-%{name}-devel
110%defattr(-,root,root,-)
111%if %{with_static}
112%{_libdir}/libXdmcp.a
113%endif
114%{_libdir}/libXdmcp.so
115%{_libdir}/pkgconfig/xdmcp.pc
116%endif
117
118%changelog
119* Fri Sep 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.3-2
120- rebuild with rpm-4.8.1 for pkg-config file
121- fix typo
122
123* Tue Nov 17 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-1
124- new upstream release
125
126* Sun May 03 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.2-3
127- added compat32 package for x86_64 arch support
128
129* Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-2
130- spec in utf-8
131
132* Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-1
133- new versioning policy
134
135* Sun Jan 13 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-0vl1
136- initial build for Vine Linux
137
138* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.2-4
139- Rebuild for build id
140
141* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.0.2-3
142- Don't install INSTALL
143
144* Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.0.2-2.fc7
145- libXdmcp-1.0.2-namespace-pollution.patch: Hide Xalloc and friends from the
146  dynamic linker.
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-2.1
152- rebuild
153
154* Wed Jun 07 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-2
155- Added "BuildRequires: xorg-x11-proto-devel"
156- Added "Requires: xorg-x11-proto-devel" to devel package, needed by xdmcp.pc
157- Replace "makeinstall" with "make install DESTDIR=..."
158- Remove package ownership of mandir/libdir/etc.
159
160* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-1
161- Update to 1.0.1
162
163* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.0-2.2
164- bump again for double-long bug on ppc(64)
165
166* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.0-2.1
167- rebuilt for new gcc4.1 snapshot and glibc changes
168
169* Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 1.0.0-2
170- Bumped and rebuilt
171
172* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
173- Updated libXdmcp to version 1.0.0 from X11R7 RC4
174
175* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
176- Updated libXdmcp to version 0.99.2 from X11R7 RC3
177- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
178  that /usr/lib/X11 and /usr/include/X11 pre-exist.
179- Removed 'x' suffix from manpage directories to match RC3 upstream.
180
181* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
182- rebuilt
183
184* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-2
185- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
186- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
187
188* Fri Oct 21 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
189- Update to libXdmcp-0.99.1 from X11R7 RC1 release.
190
191* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
192- Renamed package to remove xorg-x11 from the name due to unanimous decision
193  between developers.
194- Use Fedora Extras style BuildRoot tag.
195- Disable static library creation by default.
196- Add missing defattr to devel subpackage
197- Add missing documentation files to doc macro
198
199* Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
200- Renamed package to prepend "xorg-x11" to the name for consistency with
201  the rest of the X11R7 packages.
202- Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
203  subpackage to ensure the devel package matches the installed shared libs.
204- Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
205  allow applications to use implementation agnostic dependencies.
206- Added post/postun scripts which call ldconfig.
207- Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
208  and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
209
210* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
211- Initial build.
Note: See TracBrowser for help on using the repository browser.