summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-10-30 19:02:00 -0700
committerAnas Nashif <anas.nashif@intel.com>2012-10-30 19:02:00 -0700
commita08b19bfee2b29738499170e44f6978e73ab2e67 (patch)
treeb8c6817d9ea1219d9c698b8c1ce3cc0a51b52c70
parent803b8c71e59ca497764facb723b854438e7e29d7 (diff)
downloadrecordproto-a08b19bfee2b29738499170e44f6978e73ab2e67.tar.gz
recordproto-a08b19bfee2b29738499170e44f6978e73ab2e67.tar.bz2
recordproto-a08b19bfee2b29738499170e44f6978e73ab2e67.zip
remove autogen call
-rw-r--r--packaging/recordproto.spec41
1 files changed, 15 insertions, 26 deletions
diff --git a/packaging/recordproto.spec b/packaging/recordproto.spec
index 78722c4..5d5944b 100644
--- a/packaging/recordproto.spec
+++ b/packaging/recordproto.spec
@@ -1,45 +1,34 @@
-Name: recordproto
-Summary: X.Org X11 Protocol recordproto
-Version: 1.14.2
-Release: 1
-Group: Development/System
-License: MIT
-URL: http://www.x.org
-Source0: %{name}-%{version}.tar.gz
-Provides: recordproto
-
-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: recordproto
+Version: 1.14.2
+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