summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorHyungKyu Song <hk76.song@samsung.com>2013-02-16 01:47:21 +0900
committerHyungKyu Song <hk76.song@samsung.com>2013-02-16 01:47:21 +0900
commitec1e6908ba9a3f29f718f9e2f84015893dc60e8d (patch)
treef7b712f10045ae8da2a0bf4754f276a324235627 /packaging
parente249e7565267f422b71da199144629bffcbda185 (diff)
downloadlibxtrap-ec1e6908ba9a3f29f718f9e2f84015893dc60e8d.tar.gz
libxtrap-ec1e6908ba9a3f29f718f9e2f84015893dc60e8d.tar.bz2
libxtrap-ec1e6908ba9a3f29f718f9e2f84015893dc60e8d.zip
Diffstat (limited to 'packaging')
-rw-r--r--packaging/libXTrap.manifest5
-rw-r--r--packaging/libXTrap.spec71
2 files changed, 76 insertions, 0 deletions
diff --git a/packaging/libXTrap.manifest b/packaging/libXTrap.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/libXTrap.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/libXTrap.spec b/packaging/libXTrap.spec
new file mode 100644
index 0000000..fa049d1
--- /dev/null
+++ b/packaging/libXTrap.spec
@@ -0,0 +1,71 @@
+Name: libXTrap
+Summary: X.Org X11 libXTrap runtime library
+Version: 1.0.0
+Release: 11.6
+Group: Graphics/X Window System
+License: MIT
+URL: http://www.x.org/
+Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.gz
+Source1001: packaging/libXTrap.manifest
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: pkgconfig(xproto)
+BuildRequires: pkgconfig(xextproto)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xext)
+BuildRequires: pkgconfig(xt)
+BuildRequires: pkgconfig(trapproto)
+BuildRequires: pkgconfig(xorg-macros)
+
+%description
+Description: %{summary}
+
+
+%package devel
+Summary: Development components for the libXTrap library
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Description: %{summary}
+
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+cp %{SOURCE1001} .
+export LDFLAGS+=" -Wl,--hash-style=both -Wl,--as-needed"
+%reconfigure --disable-static
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+
+%clean
+rm -rf %{buildroot}
+
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+
+%files
+%manifest libXTrap.manifest
+%defattr(-,root,root,-)
+%doc COPYING
+%{_libdir}/libXTrap.so.6
+%{_libdir}/libXTrap.so.6.4.0
+
+
+%files devel
+%manifest libXTrap.manifest
+%defattr(-,root,root,-)
+%doc AUTHORS README ChangeLog
+%{_libdir}/libXTrap.so
+%{_libdir}/pkgconfig/xtrap.pc