summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-10-30 19:20:52 -0700
committerAnas Nashif <anas.nashif@intel.com>2012-10-30 19:20:52 -0700
commit1dbefab08aff6cf257bd6d56c3fcf7bbecf6d740 (patch)
tree40ad21a2ca8fcc4e004e80074e5a4b565719e587
parent735c1a364e2d65d6c2378cee847a30cb65b8080f (diff)
downloadresourceproto-1dbefab08aff6cf257bd6d56c3fcf7bbecf6d740.tar.gz
resourceproto-1dbefab08aff6cf257bd6d56c3fcf7bbecf6d740.tar.bz2
resourceproto-1dbefab08aff6cf257bd6d56c3fcf7bbecf6d740.zip
remove autogen call
-rw-r--r--packaging/resourceproto.spec41
1 files changed, 16 insertions, 25 deletions
diff --git a/packaging/resourceproto.spec b/packaging/resourceproto.spec
index 9c03d32..5344656 100644
--- a/packaging/resourceproto.spec
+++ b/packaging/resourceproto.spec
@@ -1,45 +1,36 @@
-Name: resourceproto
-Summary: X.Org X11 Protocol resourceproto
-Version: 1.2.0
-Release: 1
-Group: Development/System
-License: MIT
-URL: http://www.x.org
-Source0: %{name}-%{version}.tar.gz
-Provides: resourceproto
-
-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: resourceproto
+Version: 1.2.0
+Release: 1
+License: MIT
+Summary: X
+Url: http://www.x.org
+Group: Development/System
+Source0: %{name}-%{version}.tar.gz
+
+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
-# 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