|
mharris |
91d8b0c |
%define pkgname libXdmcp
|
|
mharris |
91d8b0c |
Summary: X.Org X11 libXdmcp runtime library
|
|
mharris |
91d8b0c |
Name: xorg-x11-%{pkgname}
|
|
mharris |
91d8b0c |
Version: 0.99.0
|
|
mharris |
91d8b0c |
Release: 2
|
|
mharris |
91d8b0c |
License: MIT/X11
|
|
mharris |
91d8b0c |
Group: System Environment/Libraries
|
|
mharris |
91d8b0c |
URL: http://www.x.org
|
|
mharris |
91d8b0c |
Source0: %{pkgname}-%{version}.tar.bz2
|
|
mharris |
91d8b0c |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
|
mharris |
91d8b0c |
|
|
mharris |
91d8b0c |
BuildRequires: xorg-x11-proto-devel
|
|
mharris |
91d8b0c |
|
|
mharris |
91d8b0c |
Provides: %{pkgname}
|
|
mharris |
91d8b0c |
Conflicts: 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 |
91d8b0c |
Requires: %{name} = %{version}-%{release}
|
|
mharris |
91d8b0c |
|
|
mharris |
91d8b0c |
Provides: %{pkgname}-devel
|
|
mharris |
91d8b0c |
Conflicts: 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 |
91d8b0c |
%setup -q -c %{name}-%{version}
|
|
mharris |
91d8b0c |
|
|
mharris |
91d8b0c |
%build
|
|
mharris |
91d8b0c |
cd %{pkgname}-%{version}
|
|
mharris |
91d8b0c |
%configure
|
|
mharris |
91d8b0c |
make
|
|
mharris |
91d8b0c |
|
|
mharris |
91d8b0c |
%install
|
|
mharris |
91d8b0c |
cd %{pkgname}-%{version}
|
|
mharris |
91d8b0c |
rm -rf $RPM_BUILD_ROOT
|
|
mharris |
91d8b0c |
%makeinstall
|
|
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,-)
|
|
mharris |
91d8b0c |
%doc
|
|
mharris |
91d8b0c |
%dir %{_libdir}
|
|
mharris |
91d8b0c |
%{_libdir}/libXdmcp.so.6
|
|
mharris |
91d8b0c |
%{_libdir}/libXdmcp.so.6.0.0
|
|
mharris |
91d8b0c |
|
|
mharris |
91d8b0c |
%files devel
|
|
mharris |
91d8b0c |
%dir %{_includedir}/X11/
|
|
mharris |
91d8b0c |
%{_includedir}/X11/Xdmcp.h
|
|
mharris |
91d8b0c |
%{_libdir}/libXdmcp.a
|
|
mharris |
91d8b0c |
%{_libdir}/libXdmcp.so
|
|
mharris |
91d8b0c |
%{_libdir}/pkgconfig/xdmcp.pc
|
|
mharris |
91d8b0c |
|
|
mharris |
91d8b0c |
%changelog
|
|
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.
|
|
mharris |
91d8b0c |
|
|
mharris |
91d8b0c |
|