summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rw-r--r--packaging/libthai.manifest5
-rw-r--r--packaging/libthai.spec5
2 files changed, 10 insertions, 0 deletions
diff --git a/packaging/libthai.manifest b/packaging/libthai.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/libthai.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/libthai.spec b/packaging/libthai.spec
index dae8dc1..c868385 100644
--- a/packaging/libthai.spec
+++ b/packaging/libthai.spec
@@ -7,6 +7,7 @@ Url: http://linux.thai.net/plone/TLWG/libthai/
Group: System/Libraries
Source: %{name}-%{version}.tar.gz
Source99: baselibs.conf
+Source1001: libthai.manifest
BuildRequires: pkgconfig(datrie-0.2)
BuildRequires: pkg-config
Requires: libthai-data >= %{version}
@@ -48,6 +49,7 @@ software using libthai.
%prep
%setup -q
+cp %{SOURCE1001} .
%build
%configure --disable-static --with-pic
@@ -62,15 +64,18 @@ make %{?_smp_mflags}
%postun -p /sbin/ldconfig
%files
+%manifest %{name}.manifest
%license COPYING
%defattr(-,root,root)
%{_libdir}/libthai.so.*
%files data
+%manifest %{name}.manifest
%defattr(-, root, root)
%{_datadir}/libthai/
%files devel
+%manifest %{name}.manifest
%defattr(-,root,root)
%{_includedir}/thai/
%{_libdir}/libthai.so