1f31c8
Summary: X.Org X11 SM runtime library
1f31c8
Name: libSM
1f31c8
Version: 1.2.2
1f31c8
Release: 2%{?dist}
1f31c8
License: MIT
1f31c8
Group: System Environment/Libraries
1f31c8
URL: http://www.x.org
1f31c8
1f31c8
Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
1f31c8
1f31c8
BuildRequires: xorg-x11-util-macros
1f31c8
BuildRequires: autoconf automake libtool
1f31c8
BuildRequires: pkgconfig
1f31c8
BuildRequires: xorg-x11-proto-devel
1f31c8
BuildRequires: xorg-x11-xtrans-devel >= 1.0.3-4
1f31c8
BuildRequires: libICE-devel
1f31c8
BuildRequires: libuuid-devel
1f31c8
BuildRequires: xmlto
1f31c8
1f31c8
%description
1f31c8
The X.Org X11 SM (Session Management) runtime library.
1f31c8
1f31c8
%package devel
1f31c8
Summary: X.Org X11 SM development package
1f31c8
Group: Development/Libraries
1f31c8
Requires: %{name} = %{version}-%{release}
1f31c8
1f31c8
%description devel
1f31c8
The X.Org X11 SM (Session Management) development package.
1f31c8
1f31c8
%prep
1f31c8
%setup -q
1f31c8
1f31c8
%build
1f31c8
autoreconf -v --install --force
1f31c8
1f31c8
%configure --with-libuuid --disable-static
1f31c8
make %{_smp_mflags}
1f31c8
1f31c8
%install
1f31c8
rm -rf $RPM_BUILD_ROOT
1f31c8
1f31c8
make install DESTDIR=$RPM_BUILD_ROOT
1f31c8
1f31c8
# We intentionally don't ship *.la files
1f31c8
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
1f31c8
1f31c8
# we %%doc these ourselves, later, and only the text versions
1f31c8
rm -rf $RPM_BUILD_ROOT%{_docdir}
1f31c8
1f31c8
%clean
1f31c8
rm -rf $RPM_BUILD_ROOT
1f31c8
1f31c8
%post -p /sbin/ldconfig
1f31c8
%postun -p /sbin/ldconfig
1f31c8
1f31c8
%files
1f31c8
%defattr(-,root,root,-)
1f31c8
%doc AUTHORS COPYING ChangeLog
1f31c8
%{_libdir}/libSM.so.6
1f31c8
%{_libdir}/libSM.so.6.*
1f31c8
1f31c8
%files devel
1f31c8
%defattr(-,root,root,-)
1f31c8
%dir %{_includedir}/X11/SM
1f31c8
%{_includedir}/X11/SM/SM.h
1f31c8
%{_includedir}/X11/SM/SMlib.h
1f31c8
%{_includedir}/X11/SM/SMproto.h
1f31c8
%{_libdir}/libSM.so
1f31c8
%{_libdir}/pkgconfig/sm.pc
1f31c8
1f31c8
%changelog
1f31c8
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-2
1f31c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
1f31c8
1f31c8
* Fri Jul 25 2014 Benjamin Tissoires <benjamin.tissoires@redhat.com> 1.2.2-1
1f31c8
- libSM 1.2.2
1f31c8
1f31c8
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-7
1f31c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
1f31c8
1f31c8
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-6
1f31c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
1f31c8
1f31c8
* Thu Mar 07 2013 Peter Hutterer <peter.hutterer@redhat.com> - 1.2.1-5
1f31c8
- autoreconf needs xorg-x11-util-macros
1f31c8
1f31c8
* Thu Mar 07 2013 Peter Hutterer <peter.hutterer@redhat.com> - 1.2.1-4
1f31c8
- autoreconf for aarch64
1f31c8
1f31c8
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-3
1f31c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
1f31c8
1f31c8
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-2
1f31c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
1f31c8
1f31c8
* Mon Mar 05 2012 Adam Jackson <ajax@redhat.com> 1.2.1-1
1f31c8
- libSM 1.2.1
1f31c8
1f31c8
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-3
1f31c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
1f31c8
1f31c8
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
1f31c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
1f31c8
1f31c8
* Thu Oct 28 2010 Adam Jackson <ajax@redhat.com> 1.2.0-1
1f31c8
- libSM 1.2.0
1f31c8
1f31c8
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-7
1f31c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
1f31c8
1f31c8
* Thu Jul 23 2009 Adam Jackson <ajax@redhat.com> 1.1.0-6
1f31c8
- Un-require xorg-x11-filesystem, it's going away.
1f31c8
1f31c8
* Sat Mar 07 2009 Jason L Tibbitts III <tibbs@math.uh.edu> - 1.1.0-5
1f31c8
- Minor tweaks to summaries and descriptions.
1f31c8
- Don't own /usr/include/X11.
1f31c8
- Use a regular, unversioned dep on xorg-x11-filesystem.
1f31c8
1f31c8
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-4
1f31c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
1f31c8
1f31c8
* Sat Feb 21 2009 Adam Jackson <ajax@redhat.com> 1.1.0-3
1f31c8
- Package review cleanups. (#226045)
1f31c8
1f31c8
* Tue Jul 15 2008 Adam Jackson <ajax@redhat.com> 1.1.0-2
1f31c8
- Fix license tag.
1f31c8
1f31c8
* Wed Jul 02 2008 Adam Jackson <ajax@redhat.com> 1.1.0-1
1f31c8
- libSM 1.1.0
1f31c8
1f31c8
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.2-5
1f31c8
- Autorebuild for GCC 4.3
1f31c8
1f31c8
* Thu Sep 20 2007 Adam Jackson <ajax@redhat.com> 1.0.2-4
1f31c8
- Update xtrans dep and rebuild.
1f31c8
1f31c8
* Mon Sep 17 2007 Adam Jackson <ajax@redhat.com> 1.0.2-3
1f31c8
- Rebuild for abstract socket support.
1f31c8
1f31c8
* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.2-2
1f31c8
- Rebuild for build id
1f31c8
1f31c8
* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.0.2-2
1f31c8
- Don't install INSTALL
1f31c8
1f31c8
* Mon Nov 20 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-1
1f31c8
- Update to 1.0.2
1f31c8
1f31c8
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-3.1
1f31c8
- rebuild
1f31c8
1f31c8
* Tue Jun 06 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-3
1f31c8
- Added "Requires: xorg-x11-proto-devel" to devel package.
1f31c8
1f31c8
* Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-2
1f31c8
- Added "BuildRequires: pkgconfig" for (#193421)
1f31c8
- Replace "makeinstall" with "make install DESTDIR=..."
1f31c8
1f31c8
* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-1
1f31c8
- Update to 1.0.1
1f31c8
1f31c8
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.0-2.2
1f31c8
- bump again for double-long bug on ppc(64)
1f31c8
1f31c8
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.0-2.1
1f31c8
- rebuilt for new gcc4.1 snapshot and glibc changes
1f31c8
1f31c8
* Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 1.0.0-2
1f31c8
- Bumped and rebuilt
1f31c8
1f31c8
* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
1f31c8
- Updated libSM to version 1.0.0 from X11R7 RC4
1f31c8
1f31c8
* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.3-1
1f31c8
- Updated libSM to version 0.99.3 from X11R7 RC3
1f31c8
- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
1f31c8
  that /usr/lib/X11 and /usr/include/X11 pre-exist.
1f31c8
- Removed 'x' suffix from manpage directories to match RC3 upstream.
1f31c8
1f31c8
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
1f31c8
- rebuilt
1f31c8
1f31c8
* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
1f31c8
- Updated libSM to version 0.99.2 from X11R7 RC2
1f31c8
- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
1f31c8
- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
1f31c8
1f31c8
* Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
1f31c8
- Updated libSM to version 0.99.1 from X11R7 RC1
1f31c8
1f31c8
* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
1f31c8
- Renamed package to remove xorg-x11 from the name due to unanimous decision
1f31c8
  between developers.
1f31c8
- Use Fedora Extras style BuildRoot tag.
1f31c8
- Disable static library creation by default.
1f31c8
- Add missing defattr to devel subpackage
1f31c8
- Add missing documentation files to doc macro
1f31c8
1f31c8
* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
1f31c8
- Renamed package to remove "xorg-x11" from the name due to unanimous decision
1f31c8
  between developers.
1f31c8
- Use Fedora Extras style BuildRoot tag.
1f31c8
- Disable static library creation by default.
1f31c8
- Add missing defattr to devel subpackage
1f31c8
- Add missing documentation files to doc macro
1f31c8
1f31c8
* Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
1f31c8
- Renamed package to prepend "xorg-x11" to the name for consistency with
1f31c8
  the rest of the X11R7 packages.
1f31c8
- Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
1f31c8
  subpackage to ensure the devel package matches the installed shared libs.
1f31c8
- Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
1f31c8
  allow applications to use implementation agnostic dependencies.
1f31c8
- Added post/postun scripts which call ldconfig.
1f31c8
- Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
1f31c8
  and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
1f31c8
1f31c8
* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
1f31c8
- Initial build.