summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandru Cornea <alexandru.cornea@intel.com>2013-06-29 07:13:59 +0300
committerAlexandru Cornea <alexandru.cornea@intel.com>2013-06-29 07:13:59 +0300
commit653cb2d2fa53c43caa5b531d0dbbf76a3c6600f2 (patch)
treee0ca3be19daad54d25ddb40b1a279f2cd8c17acf
parentc44c1439317bfb20353333d73cd42fe07c135c6b (diff)
downloadzlib-submit/tizen/20130912.080610.tar.gz
zlib-submit/tizen/20130912.080610.tar.bz2
zlib-submit/tizen/20130912.080610.zip
-rw-r--r--packaging/zlib.manifest5
-rw-r--r--packaging/zlib.spec7
2 files changed, 12 insertions, 0 deletions
diff --git a/packaging/zlib.manifest b/packaging/zlib.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/zlib.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/zlib.spec b/packaging/zlib.spec
index f479a76..6361c98 100644
--- a/packaging/zlib.spec
+++ b/packaging/zlib.spec
@@ -12,6 +12,7 @@ Url: http://www.zlib.net/
Source: http://zlib.net/zlib-%{version}.tar.bz2
Source1: LICENSE
Source2: baselibs.conf
+Source1001: zlib.manifest
BuildRequires: pkgconfig
%description
@@ -62,6 +63,7 @@ developing applications which use minizip.
%prep
%setup -q
+cp %{SOURCE1001} .
%build
export LDFLAGS="-Wl,-z,relro,-z,now"
@@ -112,11 +114,13 @@ popd
%postun -p /sbin/ldconfig
%files
+%manifest %{name}.manifest
%defattr(-,root,root)
/%{_lib}/libz.so.1.2.*
/%{_lib}/libz.so.1
%files devel
+%manifest %{name}.manifest
%defattr(-,root,root)
%doc README
%{_mandir}/man3/zlib.3.gz
@@ -127,13 +131,16 @@ popd
%{_libdir}/pkgconfig/zlib.pc
%files devel-static
+%manifest %{name}.manifest
%defattr(-,root,root)
%{_libdir}/libz.a
%files -n minizip
+%manifest %{name}.manifest
%{_libdir}/libminizip.so.*
%files -n minizip-devel
+%manifest %{name}.manifest
%dir %{_includedir}/minizip
%{_includedir}/minizip/*.h
%{_libdir}/libminizip.so