add files for packaging 38/26538/1 accepted/tizen_3.0.2014.q3_common accepted/tizen_common accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable tizen tizen_3.0.2014.q3_common tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0.2015.q2_common accepted/tizen/common/20140828.144127 submit/tizen/20140828.041046 submit/tizen_common/20140828.045930 submit/tizen_common/20140828.084510 submit/tizen_common/20140828.101048 submit/tizen_mobile/20141120.000000 submit/trunk/20140828.040906 tizen_3.0.2014.q3_common_release
authorSangjin Lee <lsj119@samsung.com>
Sat, 16 Aug 2014 04:24:50 +0000 (13:24 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Tue, 26 Aug 2014 05:25:08 +0000 (14:25 +0900)
Change-Id: Iea496fbc341dcdcd58987373d4355079a7cb6b95

packaging/baselibs.conf [new file with mode: 0644]
packaging/libxshmfence.changes [new file with mode: 0644]
packaging/libxshmfence.manifest [new file with mode: 0644]
packaging/libxshmfence.spec [new file with mode: 0644]

diff --git a/packaging/baselibs.conf b/packaging/baselibs.conf
new file mode 100644 (file)
index 0000000..b619f04
--- /dev/null
@@ -0,0 +1 @@
+libxshmfence
diff --git a/packaging/libxshmfence.changes b/packaging/libxshmfence.changes
new file mode 100644 (file)
index 0000000..8b13789
--- /dev/null
@@ -0,0 +1 @@
+
diff --git a/packaging/libxshmfence.manifest b/packaging/libxshmfence.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/libxshmfence.spec b/packaging/libxshmfence.spec
new file mode 100644 (file)
index 0000000..f9f293b
--- /dev/null
@@ -0,0 +1,60 @@
+%bcond_with x
+
+Name:           libxshmfence
+Version:        1.1
+Release:        1
+License:        MIT
+Summary:        X Fixes library
+Url:            http://www.x.org
+Group:          Graphics/X Window System
+Source:         %{name}-%{version}.tar.bz2
+Source1001:    libxshmfence.manifest
+
+BuildRequires:  pkgconfig(xorg-macros)
+BuildRequires:  pkgconfig(xproto)
+
+%if !%{with x}
+ExclusiveArch:
+%endif
+
+%description
+X Fixes library.
+
+%package devel
+Summary:        Development files for %{name}
+Group:          Development/Libraries
+Requires:       %{name} = %{version}
+Requires:       pkgconfig
+
+%description devel
+libxshmfence development package
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+%autogen --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}/libxshmfence.so.1
+%{_libdir}/libxshmfence.so.1.0.0
+
+%files devel
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+%{_includedir}/X11/xshmfence.h
+%{_libdir}/libxshmfence.so
+%{_libdir}/pkgconfig/xshmfence.pc