summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-10-30 19:16:07 -0700
committerAnas Nashif <anas.nashif@intel.com>2012-10-30 19:16:07 -0700
commitd1669c1ef2174b30456d2968db6ad82d3b3e13d2 (patch)
treeb24da8166fb82333294b84aaaaa56619df0aa54e
parentcbf0dc0a65a886e694117fe46f50c7ed30221081 (diff)
downloadxextproto-d1669c1ef2174b30456d2968db6ad82d3b3e13d2.tar.gz
xextproto-d1669c1ef2174b30456d2968db6ad82d3b3e13d2.tar.bz2
xextproto-d1669c1ef2174b30456d2968db6ad82d3b3e13d2.zip
-rw-r--r--packaging/xextproto.spec44
1 files changed, 16 insertions, 28 deletions
diff --git a/packaging/xextproto.spec b/packaging/xextproto.spec
index e795f84..3d61f4e 100644
--- a/packaging/xextproto.spec
+++ b/packaging/xextproto.spec
@@ -1,47 +1,35 @@
-Name: xextproto
-Summary: X.Org X11 Protocol xextproto
-Version: 7.2.1
-Release: 1
-Group: Development/System
-License: MIT
-URL: http://www.x.org
-Source0: %{name}-%{version}.tar.gz
-Provides: xextproto
-Provides: x11proto-xext
-
-BuildRequires: pkgconfig
-BuildRequires: pkgconfig(xorg-macros)
-
-# some file to be intalled can be ignored when rpm generates packages
-%define _unpackaged_files_terminate_build 0
+Name: xextproto
+Version: 7.2.1
+Release: 1
+License: MIT
+Summary: X
+Url: http://www.x.org
+Group: Development/System
+Source0: %{name}-%{version}.tar.bz2
+
+BuildRequires: pkgconfig
+BuildRequires: pkgconfig(xorg-macros)
%description
-Description: %{summary}
+%{summary}.
%prep
%setup -q
%build
-
-./autogen.sh
-%reconfigure --disable-static \
+%configure --disable-static \
--libdir=%{_datadir} \
- --without-xmlto \
- CFLAGS="$CFLAGS -Wall -g "
+ --without-xmlto
-# Call make instruction with smp support
-make %{?jobs:-j%jobs}
+make %{?_smp_mflags}
%install
-rm -rf %{buildroot}
%make_install
%remove_docs
-%clean
-rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_includedir}/X11/extensions/*.h
-%{_datadir}/pkgconfig/*.pc \ No newline at end of file
+%{_datadir}/pkgconfig/*.pc