From 040cd3a214406319dbc752b824a239899da53248 Mon Sep 17 00:00:00 2001 From: Vineeth TM Date: Wed, 2 Dec 2015 14:28:15 +0900 Subject: [PATCH] libbmp: Make changes for tizen build environment Change-Id: I2cf5ee05f112cc79f6d7aabbbec34a0e2ebda739 Signed-off-by: Vineeth TM --- libbmp.manifest | 5 +++++ packaging/libbmp.spec | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100755 libbmp.manifest create mode 100644 packaging/libbmp.spec diff --git a/libbmp.manifest b/libbmp.manifest new file mode 100755 index 0000000..a76fdba --- /dev/null +++ b/libbmp.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/libbmp.spec b/packaging/libbmp.spec new file mode 100644 index 0000000..0854d86 --- /dev/null +++ b/packaging/libbmp.spec @@ -0,0 +1,55 @@ +Name: libbmp +Summary: A library of functions for encoding BMP image format files +Version: 0.1.3 +Release: 1 +Group: System/Libraries +License: LGPL-2.1 +URL: https://code.google.com/p/libbmp/ +Source0: https://libbmp.googlecode.com/libbmp-%{version}.tar.bz2 +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + +%description +libbmp is a simple, cross-platform, open source (revised LGPL-2.1) C library designed for easily +reading, writing, and modifying Windows bitmap (BMP) image files. +The library is oriented towards the novice programmer with little formal experience, +but it is sufficiently capable for anybody who desires to do I/O and pixel operations +on uncompressed 1, 4, 8, 16, 24, and 32 bpp (bits per pixel) BMP files. + +%package devel +Summary: A library of functions for encoding BMP image format files (DEV) +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +A library of functions for encoding BMP image format files - Development files. + +%prep +%setup -q -n %{name}-%{version} + +%build +%configure --disable-static +make %{?jobs:-j%jobs} + +%install +rm -rf %{buildroot} +%make_install +rm -rf $RPM_BUILD_ROOT/usr/share/man + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%manifest libbmp.manifest +%license COPYING +%defattr(-,root,root,-) +%{_libdir}/libbmp*.so.* +%{_bindir}/* + +%files devel +%manifest libbmp.manifest +%defattr(-,root,root,-) +%{_includedir}/* +%{_libdir}/libbmp*.so +%{_libdir}/pkgconfig/* + -- 2.7.4