From fbedddbb027f9cc45a9550ac5f8e413296f7eab2 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Thu, 8 Nov 2012 12:09:33 -0800 Subject: [PATCH] add packaging --- packaging/videoproto.spec | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 packaging/videoproto.spec diff --git a/packaging/videoproto.spec b/packaging/videoproto.spec new file mode 100644 index 0000000..c9c35ec --- /dev/null +++ b/packaging/videoproto.spec @@ -0,0 +1,37 @@ +Name: videoproto +Version: 2.3.1 +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} +This extension provides a protocol for a video output mechanism, +mainly to rescale video playback in the video controller hardware. + +%prep +%setup -q + +%build + +%configure --disable-static \ + --libdir=%{_datadir} \ + --without-xmlto + +make %{?_smp_mflags} + +%install +%make_install + +%remove_docs + +%files +%defattr(-,root,root,-) +%{_includedir}/X11/extensions/*.h +%{_datadir}/pkgconfig/*.pc -- 2.7.4