summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/libjpeg6.manifest5
-rw-r--r--packaging/libjpeg6.spec4
2 files changed, 9 insertions, 0 deletions
diff --git a/packaging/libjpeg6.manifest b/packaging/libjpeg6.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/libjpeg6.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/libjpeg6.spec b/packaging/libjpeg6.spec
index ea39425..8a747b8 100644
--- a/packaging/libjpeg6.spec
+++ b/packaging/libjpeg6.spec
@@ -6,6 +6,7 @@ Summary: A library for manipulating JPEG image format files
URL: http://www.ijg.org/
Group: System/Libraries
Source: jpegsrc.v%{version}.tar.gz
+Source1001: libjpeg6.manifest
BuildRequires: autoconf
BuildRequires: libtool
@@ -38,6 +39,7 @@ package installed.
%prep
%setup -q -n jpeg-%{version}
+cp %{SOURCE1001} .
# libjpeg 6b includes a horribly obsolete version of libtool.
# Blow it away and replace with build system's version.
@@ -73,9 +75,11 @@ rm -f %{buildroot}%{_libdir}/libjpeg.la
%docs_package
%files
+%manifest %{name}.manifest
%{_libdir}/libjpeg.so.*
%files devel
+%manifest %{name}.manifest
%{_bindir}/*
%{_includedir}/*.h
%{_libdir}/*.so