Accepting request 250629 from X11:XOrg

- Update description and other metadata
- Use full %configure for build, and remove CFLAGS (nothing is
  compiled)
- Make file list more compact

OBS-URL: https://build.opensuse.org/request/show/250629
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/printproto?expand=0&rev=3
This commit is contained in:
Stephan Kulow 2014-09-23 11:45:55 +00:00 committed by Git OBS Bridge
commit 60cb25cb2e
2 changed files with 33 additions and 22 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Sep 18 11:33:19 UTC 2014 - jengelh@inai.de
- Update description and other metadata
- Use full %configure for build, and remove CFLAGS (nothing is
compiled)
- Make file list more compact
-------------------------------------------------------------------
Tue Apr 29 01:26:03 UTC 2014 - sndirsch@suse.com

View File

@ -15,55 +15,58 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: printproto
Version: 1.0.5
BuildRequires: pkg-config
Release: 0
Url: http://xorg.freedesktop.org/
Summary: The X11 Protocol: Xprint extension
License: X11
Group: Development/Libraries/X11
#Git-Clone: git://anongit.freedesktop.org/xorg/proto/printproto
#Git-Web: http://cgit.freedesktop.org/xorg/proto/printproto/
Source: http://xorg.freedesktop.org/releases/individual/proto/%name-%version.tar.bz2
#BuildRequires: autoconf >= 2.60
#BuildRequires: automake
#BuildRequires: libtool
Url: http://xorg.freedesktop.org/
Release: 0
#BuildRequires: pkgconfig(xorg-macros) >= 1.3
BuildRequires: pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: The X Protocol
License: X11
Group: Development/Libraries/X11
#Source URL: http://xorg.freedesktop.org/releases/individual/proto/
Source: %{name}-%{version}.tar.bz2
%description
The Print Protocol Headers for X development
The Print protocol headers for X11 development.
Xprint is a portable, network-transparent printing system.
It is no longer maintained and solely provided for ABI compatibility.
%package -n %{name}-devel
Summary: The X Protocol
%package devel
Summary: The X11 Protocol: Xprint extension
Group: Development/Libraries/X11
# Added within the 13.2 Development Cycle
Provides: xorg-x11-proto-devel://usr/%{_lib}/pkgconfig/printproto.pc
Provides: xorg-x11-proto-devel:%_libdir/pkgconfig/printproto.pc
%description -n %{name}-devel
The Print Protocol Headers for X development
%description devel
The Print protocol headers for X11 development.
Xprint is a portable, network-transparent printing system.
It is no longer maintained and solely provided for ABI compatibility.
%prep
%setup -q
%build
#autoreconf -fi
./configure CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
--prefix=/usr --libdir=%{_libdir}
%configure
make %{?_smp_mflags}
%install
make install DESTDIR="%buildroot"
%files -n %{name}-devel
%files devel
%defattr(-,root,root)
%doc COPYING
%dir /usr/include/X11/extensions/
/usr/include/X11/extensions/*.h
/usr/%{_lib}/pkgconfig/*.pc
%_includedir/X11/extensions/
%_libdir/pkgconfig/*.pc
/usr/share/man/man7/Xprint.7%{?ext_man}
%changelog