Accepting request 250621 from X11:XOrg

- Update description once more, based upon more recent changes in
  the upstream Git repository.

- 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/250621
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/evieproto?expand=0&rev=3
This commit is contained in:
Stephan Kulow 2014-09-23 11:45:47 +00:00 committed by Git OBS Bridge
commit 2a1dcfb301
2 changed files with 42 additions and 23 deletions

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Mon Sep 22 07:05:03 UTC 2014 - jengelh@inai.de
- Update description once more, based upon more recent changes in
the upstream Git repository.
-------------------------------------------------------------------
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:13:02 UTC 2014 - sndirsch@suse.com Tue Apr 29 01:13:02 UTC 2014 - sndirsch@suse.com

View File

@ -15,55 +15,60 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
%define name_archive evieext %define name_archive evieext
Name: evieproto Name: evieproto
Version: 1.1.1 Version: 1.1.1
BuildRequires: pkg-config Release: 0
Url: http://xorg.freedesktop.org/
Summary: The X11 Protocol: Event Interception extension
License: MIT
Group: Development/Libraries/X11
#Git-Clone: git://anongit.freedesktop.org/xorg/proto/evieproto
#Git-Web: http://cgit.freedesktop.org/xorg/proto/evieproto/
Source: http://xorg.freedesktop.org/releases/individual/proto/%{name_archive}-%{version}.tar.bz2
#BuildRequires: autoconf >= 2.60 #BuildRequires: autoconf >= 2.60
#BuildRequires: automake #BuildRequires: automake
#BuildRequires: libtool #BuildRequires: pkgconfig(xorg-macros) >= 1.3
BuildRequires: pkg-config
Url: http://xorg.freedesktop.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build
Release: 0
BuildRoot: %{_tmppath}/%{name_archive}-%{version}-build
Summary: The X Protocol
License: MIT
Group: Development/Libraries/X11
#Source URL: http://xorg.freedesktop.org/releases/individual/proto/
Source: %{name_archive}-%{version}.tar.bz2
%description %description
The Evie Protocol Headers for X development The Evie protocol headers for X11 development.
%package -n %{name}-devel %package devel
Summary: The X Protocol Summary: The X11 Protocol: Event Interception extension
Group: Development/Libraries/X11 Group: Development/Libraries/X11
# Added within the 13.2 Development Cycle # Added within the 13.2 Development Cycle
Provides: xorg-x11-proto-devel://usr/%{_lib}/pkgconfig/evieproto.pc Provides: xorg-x11-proto-devel:%_libdir/pkgconfig/evieproto.pc
%description -n %{name}-devel %description devel
The Evie Protocol Headers for X development The Evie protocol headers for X11 development.
XEvIE is a X extension providing functionalities to allow a client to
intercept keyboard/mouse events, and optionally modify them or consume
them before delivery through the normal event delivery mechanisms.
It was included in X11R6.8 through Xorg server 1.5, but is no
longer supported in current X server releases.
%prep %prep
%setup -n %{name_archive}-%{version} -q %setup -n %{name_archive}-%{version} -q
%build %build
#autoreconf -fi #autoreconf -fi
./configure CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \ %configure
--prefix=/usr --libdir=%{_libdir}
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make install DESTDIR="%buildroot" make install DESTDIR="%buildroot"
%files -n %{name}-devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING %doc COPYING
%dir /usr/include/X11/extensions %_includedir/X11/extensions/
/usr/include/X11/extensions/*.h %_libdir/pkgconfig/*.pc
/usr/%{_lib}/pkgconfig/*.pc
%changelog %changelog