summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-10-31 02:18:44 (GMT)
committerAnas Nashif <anas.nashif@intel.com>2012-10-31 02:18:44 (GMT)
commitbd5555a58578f800fbed7f6eaeed9eb12b1d28f2 (patch)
tree1e6730ca22069c117861effd8c29a88a8fddfa12
parent4fe66bda47c72d938ced7f7c1506c320c90cfc4b (diff)
downloadxcmiscproto-bd5555a58578f800fbed7f6eaeed9eb12b1d28f2.zip
xcmiscproto-bd5555a58578f800fbed7f6eaeed9eb12b1d28f2.tar.gz
xcmiscproto-bd5555a58578f800fbed7f6eaeed9eb12b1d28f2.tar.bz2
remove autogen call
-rw-r--r--packaging/xcmiscproto.spec40
1 files changed, 15 insertions, 25 deletions
diff --git a/packaging/xcmiscproto.spec b/packaging/xcmiscproto.spec
index 0f3b790..82cc042 100644
--- a/packaging/xcmiscproto.spec
+++ b/packaging/xcmiscproto.spec
@@ -1,45 +1,35 @@
-Name: xcmiscproto
-Summary: X.Org X11 Protocol xcmiscproto
-Version: 1.2.2
-Release: 1
-Group: Development/System
-License: MIT
-URL: http://www.x.org
-Source0: %{name}-%{version}.tar.gz
-Provides: xcmiscproto
-
-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: xcmiscproto
+Version: 1.2.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