summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/xf86dgaproto.spec15
1 files changed, 3 insertions, 12 deletions
diff --git a/packaging/xf86dgaproto.spec b/packaging/xf86dgaproto.spec
index 54e0ecb..a2f9e37 100644
--- a/packaging/xf86dgaproto.spec
+++ b/packaging/xf86dgaproto.spec
@@ -6,28 +6,21 @@ Group: Development/System
License: MIT
URL: http://www.x.org
Source0: %{name}-%{version}.tar.gz
-Provides: xf86dgaproto
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
%build
-
-./autogen.sh
-%reconfigure --disable-static \
+%configure --disable-static \
--libdir=%{_datadir} \
--without-xmlto
-# Call make instruction with smp support
make %{?jobs:-j%jobs}
%install
@@ -36,10 +29,8 @@ rm -rf %{buildroot}
%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