From: Ossama Othman Date: Thu, 6 Mar 2014 21:52:48 +0000 (-0800) Subject: Initial packaging. X-Git-Tag: accepted/tizen/3.0/ivi/20161011.053605^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1fca42b9e96f588ba367d66413ff0b8dfbf0cccc;p=profile%2Fivi%2Fapr-util.git Initial packaging. Change-Id: Icb230d9938f3d9937b43f5eb118cc7e0d948dad9 Signed-off-by: Ossama Othman --- diff --git a/.gbs.conf b/.gbs.conf new file mode 100644 index 0000000..fa9fdc5 --- /dev/null +++ b/.gbs.conf @@ -0,0 +1,3 @@ +[general] +upstream_branch = upstream +upstream_tag = ${upstreamversion} diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c58021f --- /dev/null +++ b/.gitignore @@ -0,0 +1,28 @@ +*.o +*.lo +*.la +*.so* +*.a +*~ +*#*# +config.log +config.status +Makefile +Makefile.in +.deps +INSTALL +missing +aclocal.m4 +ar-lib +autom4te.cache/ +compile +configure +depcomp +install-sh +libtool +ltmain.sh +.libs +stamp* +config.* +core* + diff --git a/packaging/apr-util.changes b/packaging/apr-util.changes new file mode 100644 index 0000000..a5e507f --- /dev/null +++ b/packaging/apr-util.changes @@ -0,0 +1,4 @@ +* Thu Mar 06 2014 Ossama Othman bdfbb5c +- Initial packaging. +- Initial import. + diff --git a/packaging/apr-util.manifest b/packaging/apr-util.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/apr-util.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/apr-util.spec b/packaging/apr-util.spec new file mode 100644 index 0000000..50080c2 --- /dev/null +++ b/packaging/apr-util.spec @@ -0,0 +1,62 @@ +Name: apr-util +Version: 1.5.3 +Release: 0 +Summary: Apache Portable Runtime utility library +License: Apache-2.0 +Group: Application Framework/Libraries +URL: http://apr.apache.org/ +Source: %name-%version.tar.xz +Source1001: %{name}.manifest +BuildRequires: autoconf >= 2.64, automake >= 1.11 +BuildRequires: libtool >= 2.2 +BuildRequires: pkgconfig(apr-1) +BuildRequires: pkgconfig(expat) + +%description +Software libraries that provide a predictable and consistent interface +to underlying platform-specific implementations. The primary goal is +to provide an API to which software developers may code and be assured +of predictable if not identical behaviour regardless of the platform +on which their software is built, relieving them of the need to code +special-case conditions to work around or take advantage of +platform-specific deficiencies or features. + +%package devel +Summary: Development files for the APR utility library +Group: Application Framework/Libraries +Requires: %name = %version +Requires: apr-devel +Requires: expat-devel + +%description devel +Development files, including headers, for the APR utility library. + +%prep +%setup -q +cp %{SOURCE1001} . + +%build +autoreconf +%configure --disable-static --with-apr=/usr/bin/apr-1-config +make %{?_smp_mflags} + +%install +%make_install + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%manifest %{name}.manifest +%license LICENSE +%defattr(-,root,root) +%{_libdir}/*.so.* + +%files devel +%manifest %{name}.manifest +%defattr(-,root,root) +%{_bindir}/apu-1-config +%{_includedir}/*.h +%{_libdir}/aprutil.exp +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc \ No newline at end of file