Initialize packaging direcotry 65/265/1
authorWang Quanxian <quanxian.wang@intel.com>
Fri, 10 Aug 2012 04:37:00 +0000 (12:37 +0800)
committerWang Quanxian <quanxian.wang@intel.com>
Fri, 10 Aug 2012 04:37:00 +0000 (12:37 +0800)
Signed-Off-By Quanxian Wang <quanxian.wang@intel.com>

packaging/xcb-proto-rpmlintrc [new file with mode: 0644]
packaging/xcb-proto.manifest [new file with mode: 0644]
packaging/xcb-proto.spec [new file with mode: 0644]

diff --git a/packaging/xcb-proto-rpmlintrc b/packaging/xcb-proto-rpmlintrc
new file mode 100644 (file)
index 0000000..a1a45f1
--- /dev/null
@@ -0,0 +1,2 @@
+from Config import *
+addFilter("xcb-proto.* devel-file-in-non-devel-package")
diff --git a/packaging/xcb-proto.manifest b/packaging/xcb-proto.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/xcb-proto.spec b/packaging/xcb-proto.spec
new file mode 100644 (file)
index 0000000..8de83ea
--- /dev/null
@@ -0,0 +1,52 @@
+
+Name:       xcb-proto
+Summary:    XCB protocol descriptions
+Version:    1.7.1
+Release:    0
+Group:      Development/Libraries
+License:    MIT
+URL:        http://xcb.freedesktop.org/
+Source0:    http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.gz
+Source101:  xcb-proto-rpmlintrc
+Source1001: packaging/xcb-proto.manifest 
+Requires:   pkgconfig
+BuildRequires:  python-devel
+
+%description
+Description: %{summary}
+
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+
+%build
+cp %{SOURCE1001} .
+
+%reconfigure --disable-shared
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+
+
+
+
+
+
+%files
+%manifest xcb-proto.manifest
+%defattr(-,root,root,-)
+%doc COPYING NEWS README TODO doc/xml-xcb.txt
+%{_libdir}/pkgconfig/xcb-proto.pc
+%dir %{_datadir}/xcb/
+%{_datadir}/xcb/*.xsd
+%{_datadir}/xcb/*.xml
+%dir %{python_sitearch}/xcbgen/
+%{python_sitearch}/xcbgen/*.py*
+
+