Blame SPECS/libXp.spec

e7e030
# NOTE: This library has been deprecated in RHEL and Fedora for some
e7e030
# time now.  While we have removed the word "deprecated" from the package
e7e030
# name in modular X, the library does remain deprecated and will be
e7e030
# removed from a future OS release at some point.  Developers should
e7e030
# refrain from using this library in new software, and should migrate
e7e030
# software which currently uses libXp to another printing interface such
e7e030
# as gnome-print.  We may decide to stop shipping the development headers
e7e030
# prior to removing libXp from the OS.
e7e030
e7e030
Summary: X.Org X11 libXp runtime library
e7e030
Name: libXp
e7e030
Version: 1.0.3
e7e030
Release: 3%{?dist}
e7e030
License: MIT
e7e030
Group: System Environment/Libraries
e7e030
URL: http://www.x.org
e7e030
e7e030
Source0: https://www.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
e7e030
e7e030
BuildRequires: xorg-x11-util-macros
e7e030
BuildRequires: xorg-x11-proto-devel
e7e030
BuildRequires: libX11-devel
e7e030
BuildRequires: libXext-devel
e7e030
BuildRequires: libXau-devel
e7e030
BuildRequires: libtool automake autoconf gettext
e7e030
e7e030
Patch0: add-proto-files.patch
e7e030
Patch1: 0001-Fix-a-memory-leak-on-the-error-path-in-XpGetLocaleNe.patch
e7e030
e7e030
%description
e7e030
X.Org X11 libXp runtime library
e7e030
e7e030
%package devel
e7e030
Summary: X.Org X11 libXp development package
e7e030
Group: Development/Libraries
e7e030
Requires: libXau-devel pkgconfig
e7e030
Requires: %{name} = %{version}-%{release}
e7e030
e7e030
# needed by xp.pc
e7e030
BuildRequires: xorg-x11-proto-devel
e7e030
e7e030
%description devel
e7e030
X.Org X11 libXp development package
e7e030
e7e030
%prep
e7e030
%setup -q
e7e030
%patch0 -p1 -b .add-proto-files
e7e030
%patch1 -p1 -b .leak
e7e030
e7e030
%build
e7e030
CPPFLAGS="$CPPFLAGS -I$RPM_BUILD_ROOT%{_includedir}"
e7e030
export CPPFLAGS
e7e030
e7e030
autoreconf -v --install
e7e030
e7e030
%configure --disable-static
e7e030
make %{?_smp_mflags}
e7e030
e7e030
%install
e7e030
rm -rf $RPM_BUILD_ROOT
e7e030
e7e030
make install DESTDIR=$RPM_BUILD_ROOT
e7e030
e7e030
# Don't encourage people to use the deprecated Xprint APIs.
e7e030
rm -rf $RPM_BUILD_ROOT%{_mandir}
e7e030
e7e030
# We intentionally don't ship *.la files
e7e030
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
e7e030
e7e030
%ldconfig_post
e7e030
%ldconfig_postun
e7e030
e7e030
%files
e7e030
%doc AUTHORS COPYING ChangeLog
e7e030
%{_libdir}/libXp.so.6
e7e030
%{_libdir}/libXp.so.6.2.0
e7e030
e7e030
%files devel
e7e030
%{_includedir}/X11/extensions/Print.h
e7e030
%{_includedir}/X11/extensions/Printstr.h
e7e030
%{_libdir}/pkgconfig/printproto.pc
e7e030
%{_libdir}/libXp.so
e7e030
%{_libdir}/pkgconfig/xp.pc
e7e030
e7e030
%changelog
e7e030
* Tue Oct 16 2018 Adam Jackson <ajax@redhat.com> - 1.0.3-3
e7e030
- Fix a memory leak
e7e030
e7e030
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-2
e7e030
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
e7e030
e7e030
* Thu Jul 05 2018 Adam Jackson <ajax@redhat.com> - 1.0.3-1
e7e030
- libXp 1.0.3
e7e030
e7e030
* Fri Jun 29 2018 Adam Jackson <ajax@redhat.com> - 1.0.2-11
e7e030
- Use ldconfig scriptlet macros
e7e030
e7e030
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-10
e7e030
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e7e030
e7e030
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-9
e7e030
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
e7e030
e7e030
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-8
e7e030
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e7e030
e7e030
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-7
e7e030
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e7e030
e7e030
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-6
e7e030
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e7e030
e7e030
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-5
e7e030
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e7e030
e7e030
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-4
e7e030
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
e7e030
e7e030
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-3
e7e030
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e7e030
e7e030
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-2
e7e030
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
e7e030
e7e030
* Mon Jul 01 2013 Peter Hutterer <peter.hutterer@redhat.com> 1.0.2-1
e7e030
- libXp 1.0.2. Drags in a bunch of general cleanup, code changes are quite
e7e030
  limited and CVE-2013-2062 (#960362)
e7e030
e7e030
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-19
e7e030
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e7e030
e7e030
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-18
e7e030
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e7e030
e7e030
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-17
e7e030
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e7e030
e7e030
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-16
e7e030
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
e7e030
e7e030
* Wed Jan 05 2011 Adam Jackson <ajax@redhat.com>
e7e030
- Remove BuildRoot.
e7e030
e7e030
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-15
e7e030
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
e7e030
e7e030
* Thu Jul 23 2009 Adam Jackson <ajax@redhat.com> 1.0.0-14
e7e030
- Un-require xorg-x11-filesystem
e7e030
e7e030
* Thu Feb 26 2009 Adam Jackson <ajax@redhat.com> 1.0.0-13
e7e030
- Rebuild for new libtool.
e7e030
e7e030
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-12
e7e030
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
e7e030
e7e030
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.0-11
e7e030
- Autorebuild for GCC 4.3
e7e030
e7e030
* Tue Jan 15 2008 parag <paragn@fedoraproject.org> - 1.0.0-10
e7e030
- Merge-Review #226082
e7e030
- Removed XFree86-libs, xorg-x11-libs XFree86-devel, xorg-x11-devel as Obsoletes
e7e030
- Removed xorg-x11-deprecated-libs xorg-x11-deprecated-libs-devel as Obsoletes
e7e030
e7e030
* Mon Jan 14 2008 parag <paragn@fedoraproject.org> - 1.0.0-9
e7e030
- Merge-Review #226082
e7e030
- Removed BR:pkgconfig
e7e030
- Removed zero-length README file
e7e030
e7e030
* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.0-8
e7e030
- Rebuild for build id
e7e030
e7e030
* Sun Oct 01 2006 Jesse Keating <jkeating@redhat.com> - 1.0.0-8
e7e030
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
e7e030
e7e030
* Wed Sep 20 2006 Soren Sandmann <sandmann@redhat.com> - 1.0.0.7
e7e030
- Add requires for the devel package on libXau-devel (173530)
e7e030
e7e030
* Fri Aug 18 2006 Soren Sandmann <sandmann@redhat.com> - 1.0.0-6
e7e030
- Add the proto files directly instead of attempting to build a separate
e7e030
  tarball. Also remove last traces of printproto-1.0.3.tar.gz
e7e030
e7e030
* Fri Aug 18 2006 Soren Sandmann <sandmann@redhat.com>
e7e030
- Remove printproto source. 
e7e030
e7e030
* Fri Aug 18 2006 Soren Sandmann <sandmann@redhat.com> - 1.0.0-6
e7e030
- BuildRequire autoconf automake libtool gettext
e7e030
e7e030
* Fri Aug 18 2006 Soren Sandmann <sandmann@redhat.com> - 1.0.0-6
e7e030
- Run autoreconf to make sure changes to configure.ac take effect
e7e030
e7e030
* Fri Aug 18 2006 Soren Sandmann <sandmann@redhat.com> - 1.0.0-6
e7e030
- Add patch to not check for printproto.pc. (Since it's part of this
e7e030
  package now, it isn't installed at the time libXp is configured).
e7e030
e7e030
* Thu Aug 17 2006 Soren Sandmann <sandmann@redhat.com> - 1.0.0-5
e7e030
- Moved Print.h, Printstr.h and printproto.pc into the devel package here
e7e030
  (they used to be in xorg-x11-proto-devel). 
e7e030
e7e030
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - sh: line 0: fg: no job control
e7e030
- rebuild
e7e030
e7e030
* Mon Jul 10 2006 Mike A. Harris <mharris@redhat.com> 1.0.0-4
e7e030
- Renamed libXp_deprecated rpm macro to "with_devel" to avoid confusion.  This
e7e030
  library is still deprecated, we just decided to remove the word "deprecated"
e7e030
  from the package name for library naming consistency.
e7e030
e7e030
* Fri Jun 09 2006 Mike A. Harris <mharris@redhat.com> 1.0.0-3
e7e030
- Replace "makeinstall" with "make install DESTDIR=..."
e7e030
- Added "Requires: xorg-x11-proto-devel" to devel for xp.pc
e7e030
- Remove package ownership of mandir/libdir/etc.
e7e030
e7e030
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.0-2.2
e7e030
- bump again for double-long bug on ppc(64)
e7e030
e7e030
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.0-2.1
e7e030
- rebuilt for new gcc4.1 snapshot and glibc changes
e7e030
e7e030
* Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 1.0.0-2
e7e030
- Bumped and rebuilt
e7e030
e7e030
* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
e7e030
- Updated libXp to version 1.0.0 from X11R7 RC4
e7e030
e7e030
* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
e7e030
- Updated libXp to version 0.99.2 from X11R7 RC3
e7e030
- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
e7e030
  that /usr/lib/X11 and /usr/include/X11 pre-exist.
e7e030
- Removed 'x' suffix from manpage directories to match RC3 upstream.
e7e030
e7e030
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
e7e030
- rebuilt
e7e030
e7e030
* Wed Nov 16 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-3
e7e030
- Added "Obsoletes: xorg-x11-deprecated-libs" to runtime package, and
e7e030
  "Obsoletes: xorg-x11-deprecated-libs-devel" to devel package.
e7e030
e7e030
* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-2
e7e030
- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
e7e030
- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
e7e030
e7e030
* Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
e7e030
- Updated libXp to version 0.99.1 from X11R7 RC1
e7e030
e7e030
* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
e7e030
- Renamed package to remove xorg-x11 from the name due to unanimous decision
e7e030
  between developers.
e7e030
- Use Fedora Extras style BuildRoot tag.
e7e030
- Disable static library creation by default.
e7e030
- Add missing defattr to devel subpackage
e7e030
- Add missing documentation files to doc macro
e7e030
e7e030
* Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
e7e030
- Renamed package to prepend "xorg-x11" to the name for consistency with
e7e030
  the rest of the X11R7 packages.
e7e030
- Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
e7e030
  subpackage to ensure the devel package matches the installed shared libs.
e7e030
- Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
e7e030
  allow applications to use implementation agnostic dependencies.
e7e030
- Added post/postun scripts which call ldconfig.
e7e030
- Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
e7e030
  and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
e7e030
e7e030
* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
e7e030
- Initial build.