add packaging
authorAnas Nashif <anas.nashif@intel.com>
Wed, 31 Oct 2012 00:12:12 +0000 (17:12 -0700)
committerAnas Nashif <anas.nashif@intel.com>
Wed, 31 Oct 2012 00:12:12 +0000 (17:12 -0700)
packaging/bigreqsproto.spec

index 0bf1241..e264dab 100644 (file)
@@ -5,17 +5,13 @@ Release:  1
 Group:    Development/System
 License:  MIT
 URL:      http://www.x.org
-Source0:  %{name}-%{version}.tar.gz
-Provides: bigreqsproto
+Source0:  %{name}-%{version}.tar.bz2
 
 BuildRequires: pkgconfig
 BuildRequires: pkgconfig(xorg-macros)
 
-# some file to be intalled can be ignored when rpm generates packages
-%define _unpackaged_files_terminate_build 0
-
 %description
-Description: %{summary}
+%{summary}.
 
 %prep
 %setup -q
@@ -27,18 +23,13 @@ Description: %{summary}
              --libdir=%{_datadir} \
              --without-xmlto
 
-# Call make instruction with smp support
 make %{?jobs:-j%jobs}
 
 %install
-rm -rf %{buildroot}
 %make_install
 
 %remove_docs
 
-%clean
-rm -rf %{buildroot}
-
 %files
 %defattr(-,root,root,-)
 %{_includedir}/X11/extensions/*