remove autogen call accepted/tizen/20130503.223301 submit/tizen/20130503.191620 submit/tizen/20130509.174331
authorAnas Nashif <anas.nashif@intel.com>
Wed, 31 Oct 2012 02:31:36 +0000 (19:31 -0700)
committerAnas Nashif <anas.nashif@intel.com>
Wed, 31 Oct 2012 02:31:36 +0000 (19:31 -0700)
packaging/fontsproto.spec

index 80a4b1e..7349dca 100644 (file)
@@ -1,45 +1,35 @@
-Name:     fontsproto
-Summary:  X.Org X11 Protocol fontsproto
-Version:  2.1.2
-Release:  1 
-Group:    Development/System
-License:  MIT
-URL:      http://www.x.org
-Source0:  %{name}-%{version}.tar.gz
-Provides: fontsproto
-
-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:           fontsproto
+Version:        2.1.2
+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
 
-# 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/fonts/*.h
-%{_datadir}/pkgconfig/*.pc
\ No newline at end of file
+%{_datadir}/pkgconfig/*.pc