Merge branch 'upstream' into tizen
authorLee Chang Yeon <cyeon.lee@samsung.com>
Tue, 8 Apr 2014 10:01:50 +0000 (19:01 +0900)
committerLee Chang Yeon <cyeon.lee@samsung.com>
Tue, 8 Apr 2014 10:01:50 +0000 (19:01 +0900)
packaging/baselibs.conf [new file with mode: 0644]
packaging/libXdamage.changes [new file with mode: 0644]
packaging/libXdamage.manifest [new file with mode: 0644]
packaging/libXdamage.spec [new file with mode: 0644]

diff --git a/packaging/baselibs.conf b/packaging/baselibs.conf
new file mode 100644 (file)
index 0000000..37b6fb9
--- /dev/null
@@ -0,0 +1 @@
+libXdamage
diff --git a/packaging/libXdamage.changes b/packaging/libXdamage.changes
new file mode 100644 (file)
index 0000000..7bae94e
--- /dev/null
@@ -0,0 +1,6 @@
+* Mon Mar 18 2013 Anas Nashif <anas.nashif@intel.com> submit/trunk/20130204.203359@9de1872
+- Fixed package groups
+
+* Mon Feb 04 2013 Anas Nashif <anas.nashif@intel.com> upstream/1.1.3@4f26cf5
+- Add multi-lib support
+
diff --git a/packaging/libXdamage.manifest b/packaging/libXdamage.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/libXdamage.spec b/packaging/libXdamage.spec
new file mode 100644 (file)
index 0000000..b7e77cd
--- /dev/null
@@ -0,0 +1,61 @@
+%bcond_with x
+
+Name:           libXdamage
+Version:        1.1.3
+Release:        3
+License:        MIT
+Summary:        X Damage extension library
+Url:            http://www.x.org
+Group:          Graphics/X Window System
+Source:         %{name}-%{version}.tar.bz2
+Source1001:    libXdamage.manifest
+
+BuildRequires:  pkgconfig(damageproto) >= 1.1.0
+BuildRequires:  pkgconfig(xextproto)
+BuildRequires:  pkgconfig(xfixes)
+BuildRequires:  pkgconfig(xorg-macros)
+
+%if !%{with x}
+ExclusiveArch:
+%endif
+
+%description
+X.Org X11 libXdamage runtime library.
+
+%package devel
+Summary:        Development files for %{name}
+Group:          Development/Libraries
+Requires:       %{name} = %{version}
+
+%description devel
+X.Org X11 libXdamage development package.
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+%make_install
+%remove_docs
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+%license COPYING
+%{_libdir}/libXdamage.so.1
+%{_libdir}/libXdamage.so.1.1.0
+
+%files devel
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+%{_includedir}/X11/extensions/Xdamage.h
+%{_libdir}/libXdamage.so
+%{_libdir}/pkgconfig/xdamage.pc