From 54878de157f8114b12143dada67f8df045c68bb10e93bae293c4a6f614997fa8 Mon Sep 17 00:00:00 2001
From: Stefan Dirsch <sndirsch@suse.com>
Date: Mon, 22 Sep 2014 06:52:49 +0000
Subject: [PATCH] Nice descriptions and so on

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/fontcacheproto?expand=0&rev=6
---
 fontcacheproto.changes |  8 +++++++
 fontcacheproto.spec    | 47 +++++++++++++++++++++---------------------
 2 files changed, 31 insertions(+), 24 deletions(-)

diff --git a/fontcacheproto.changes b/fontcacheproto.changes
index 157f886..d69daea 100644
--- a/fontcacheproto.changes
+++ b/fontcacheproto.changes
@@ -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 14:03:44 UTC 2014 - sndirsch@suse.com
 
diff --git a/fontcacheproto.spec b/fontcacheproto.spec
index afc9ea5..8208889 100644
--- a/fontcacheproto.spec
+++ b/fontcacheproto.spec
@@ -15,53 +15,52 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:           fontcacheproto
 Version:        0.1.3
-BuildRequires:  pkg-config
-
-#BuildRequires:  autoconf >= 2.60
-#BuildRequires:  automake
-#BuildRequires:  libtool
-
-Url:            http://xorg.freedesktop.org/
 Release:        0
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Summary:        The X Protocol
+Url:            http://xorg.freedesktop.org/
+Summary:        The X11 Protocol: Fontcache extension
 License:        BSD-2-Clause
-Group:          Development/Libraries/X11 
-#Source URL:    http://xorg.freedesktop.org/releases/individual/proto/
-Source:         %{name}-%{version}.tar.bz2
+Group:          Development/Libraries/X11
+
+#Git-Clone:	git://anongit.freedesktop.org/xorg/proto/fontcacheproto
+#Git-Web:	http://cgit.freedesktop.org/xorg/proto/fontcacheproto/
+Source:         http://xorg.freedesktop.org/releases/individual/proto/%name-%version.tar.bz2
+#BuildRequires:  autoconf >= 2.57
+#BuildRequires:  automake
+#BuildRequires:  pkgconfig(xorg-macros) >= 1.3
+BuildRequires:  pkg-config
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
-The Fontcache Protocol Headers for X development
+The Fontcache protocol headers for X11 development.
 
-%package -n %{name}-devel
-Summary:        The X Protocol
+%package devel
+Summary:        The X11 Protocol: Fontcache extension
 Group:          Development/Libraries/X11
 
 # Added within the 13.2 Development Cycle
-Provides:       xorg-x11-proto-devel://usr/%{_lib}/pkgconfig/fontcacheproto.pc
+Provides:       xorg-x11-proto-devel:%_libdir/pkgconfig/fontcacheproto.pc
 
-%description -n %{name}-devel
-The Fontcache Protocol Headers for X development
+%description devel
+The Fontcache protocol headers for X11 development.
 
 %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
 
 %changelog