summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-10-30 17:09:40 -0700
committerAnas Nashif <anas.nashif@intel.com>2012-10-30 17:09:40 -0700
commit5f7f4eec127d1194389815bf9a726bc2954c7699 (patch)
treea6e94035e3f9ab0a37b62ca19c8dd52ad8c7d027
parent8c5d98d9b88678fc28744a9394aed40edf0525ee (diff)
downloaddamageproto-5f7f4eec127d1194389815bf9a726bc2954c7699.tar.gz
damageproto-5f7f4eec127d1194389815bf9a726bc2954c7699.tar.bz2
damageproto-5f7f4eec127d1194389815bf9a726bc2954c7699.zip
add packaging
-rw-r--r--packaging/damageproto.spec13
1 files changed, 1 insertions, 12 deletions
diff --git a/packaging/damageproto.spec b/packaging/damageproto.spec
index 38d99a1..32e01a2 100644
--- a/packaging/damageproto.spec
+++ b/packaging/damageproto.spec
@@ -6,41 +6,30 @@ Group: Development/System
License: MIT
URL: http://www.x.org
Source0: %{name}-%{version}.tar.gz
-Provides: damageproto
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 \
--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/*.h
%{_datadir}/pkgconfig/*.pc
-