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