mharris 91d8b0c
Summary: X.Org X11 libXdmcp runtime library
mharris 9a2e908
Name: libXdmcp
6bff3f3
Version: 1.0.2
1dddd71
Release: 5%{?dist}
mharris 91d8b0c
License: MIT/X11
mharris 91d8b0c
Group: System Environment/Libraries
mharris 91d8b0c
URL: http://www.x.org
mharris 9a2e908
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
mharris 91d8b0c
mharris 376504b
Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
fab0f5b
Patch0: libXdmcp-1.0.2-namespace-pollution.patch
mharris c718787
mharris 620e75c
BuildRequires: pkgconfig
mharris 91d8b0c
BuildRequires: xorg-x11-proto-devel
mharris 91d8b0c
mharris 5abc6d3
Obsoletes: XFree86-libs, xorg-x11-libs
mharris 91d8b0c
mharris 91d8b0c
%description
mharris 91d8b0c
X.Org X11 libXdmcp runtime library
mharris 91d8b0c
mharris 91d8b0c
%package devel
mharris 91d8b0c
Summary: X.Org X11 libXdmcp development package
mharris 91d8b0c
Group: Development/Libraries
mharris ff31a9c
Requires(pre): xorg-x11-filesystem >= 0.99.2-3
mharris c718787
Requires: %{name} = %{version}-%{release}
mharris c718787
mharris c718787
# xorg-x11-proto-devel is needed by xdmcp.pc
mharris c718787
Requires: xorg-x11-proto-devel
mharris 91d8b0c
mharris 5abc6d3
Obsoletes: XFree86-devel, xorg-x11-devel
mharris 91d8b0c
mharris 91d8b0c
%description devel
mharris 91d8b0c
X.Org X11 libXdmcp development package
mharris 91d8b0c
mharris 91d8b0c
%prep
mharris 9a2e908
%setup -q
fab0f5b
%patch0 -p1 -b .hidden
mharris 9a2e908
mharris 9a2e908
# Disable static library creation by default.
mharris 9a2e908
%define with_static 0
mharris 91d8b0c
mharris 91d8b0c
%build
mharris 9a2e908
%configure \
mharris 9a2e908
%if ! %{with_static}
mharris 9a2e908
	--disable-static
mharris 9a2e908
%endif
mharris 91d8b0c
make
mharris 91d8b0c
mharris 91d8b0c
%install
mharris 91d8b0c
rm -rf $RPM_BUILD_ROOT
mharris c718787
mharris c718787
make install DESTDIR=$RPM_BUILD_ROOT
mharris 91d8b0c
mharris 91d8b0c
# We intentionally don't ship *.la files
mharris 91d8b0c
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
mharris 91d8b0c
mharris 91d8b0c
%clean
mharris 91d8b0c
rm -rf $RPM_BUILD_ROOT
mharris 91d8b0c
mharris 91d8b0c
%post -p /sbin/ldconfig
mharris 91d8b0c
%postun -p /sbin/ldconfig
mharris 91d8b0c
mharris 91d8b0c
%files
mharris 91d8b0c
%defattr(-,root,root,-)
63bd1ef
%doc AUTHORS COPYING README ChangeLog
mharris 91d8b0c
%{_libdir}/libXdmcp.so.6
mharris 91d8b0c
%{_libdir}/libXdmcp.so.6.0.0
mharris 91d8b0c
mharris 91d8b0c
%files devel
mharris 9a2e908
%defattr(-,root,root,-)
mharris 91d8b0c
%dir %{_includedir}/X11/
mharris 91d8b0c
%{_includedir}/X11/Xdmcp.h
mharris 9a2e908
%if %{with_static}
mharris 91d8b0c
%{_libdir}/libXdmcp.a
mharris 9a2e908
%endif
mharris 91d8b0c
%{_libdir}/libXdmcp.so
mharris 91d8b0c
%{_libdir}/pkgconfig/xdmcp.pc
mharris 91d8b0c
mharris 91d8b0c
%changelog
1dddd71
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.2-5
1dddd71
- Autorebuild for GCC 4.3
1dddd71
74d69e3
* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.2-4
74d69e3
- Rebuild for build id
74d69e3
63bd1ef
* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.0.2-3
63bd1ef
- Don't install INSTALL
63bd1ef
fab0f5b
* Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.0.2-2.fc7
fab0f5b
- libXdmcp-1.0.2-namespace-pollution.patch: Hide Xalloc and friends from the
fab0f5b
  dynamic linker.
fab0f5b
6bff3f3
* Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.0.2-1
6bff3f3
- Update to 1.0.2
6bff3f3
6bff3f3
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-2.1
e6f297d
- rebuild
e6f297d
mharris c718787
* Wed Jun 07 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-2
mharris c718787
- Added "BuildRequires: xorg-x11-proto-devel"
mharris c718787
- Added "Requires: xorg-x11-proto-devel" to devel package, needed by xdmcp.pc
mharris c718787
- Replace "makeinstall" with "make install DESTDIR=..."
mharris c718787
- Remove package ownership of mandir/libdir/etc.
mharris c718787
c0c718d
* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-1
c0c718d
- Update to 1.0.1
c0c718d
42d609b
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.0-2.2
42d609b
- bump again for double-long bug on ppc(64)
42d609b
b202846
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.0-2.1
b202846
- rebuilt for new gcc4.1 snapshot and glibc changes
b202846
mharris fb7fd79
* Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 1.0.0-2
mharris fb7fd79
- Bumped and rebuilt
mharris fb7fd79
mharris 620e75c
* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
mharris 620e75c
- Updated libXdmcp to version 1.0.0 from X11R7 RC4
mharris 620e75c
mharris ff31a9c
* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
mharris ff31a9c
- Updated libXdmcp to version 0.99.2 from X11R7 RC3
mharris ff31a9c
- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
mharris ff31a9c
  that /usr/lib/X11 and /usr/include/X11 pre-exist.
mharris ff31a9c
- Removed 'x' suffix from manpage directories to match RC3 upstream.
mharris ff31a9c
7d437ad
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
7d437ad
- rebuilt
7d437ad
mharris 5abc6d3
* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-2
mharris 5abc6d3
- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
mharris 5abc6d3
- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
mharris 5abc6d3
mharris 620e75c
* Fri Oct 21 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
mharris 1d84498
- Update to libXdmcp-0.99.1 from X11R7 RC1 release.
mharris 1d84498
mharris 620e75c
* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
mharris 9a2e908
- Renamed package to remove xorg-x11 from the name due to unanimous decision
mharris 9a2e908
  between developers.
mharris 9a2e908
- Use Fedora Extras style BuildRoot tag.
mharris 9a2e908
- Disable static library creation by default.
mharris 9a2e908
- Add missing defattr to devel subpackage
mharris 9a2e908
- Add missing documentation files to doc macro
mharris 9a2e908
mharris 91d8b0c
* Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
mharris 91d8b0c
- Renamed package to prepend "xorg-x11" to the name for consistency with
mharris 91d8b0c
  the rest of the X11R7 packages.
mharris 91d8b0c
- Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
mharris 91d8b0c
  subpackage to ensure the devel package matches the installed shared libs.
mharris 91d8b0c
- Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
mharris 91d8b0c
  allow applications to use implementation agnostic dependencies.
mharris 91d8b0c
- Added post/postun scripts which call ldconfig.
mharris 91d8b0c
- Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
mharris 91d8b0c
  and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
mharris 91d8b0c
mharris 91d8b0c
* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
mharris 91d8b0c
- Initial build.