From: Anas Nashif Date: Wed, 24 Oct 2012 16:15:02 +0000 (-0700) Subject: add packaging files X-Git-Tag: accepted/tizen/20130606.162930~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=19ed5d5b9e02610e6cb17567c28e77050ae0fd8f;p=platform%2Fupstream%2Feet.git add packaging files --- diff --git a/packaging/eet.spec b/packaging/eet.spec new file mode 100644 index 0000000..2331764 --- /dev/null +++ b/packaging/eet.spec @@ -0,0 +1,73 @@ +Name: eet +Version: 1.7.1 +Release: 1 +License: BSD 2-clause +Summary: Library for speedy data storage, retrieval, and compression +Url: http://www.enlightenment.org/ +Group: System/Libraries +Source0: eet-%{version}.tar.gz +BuildRequires: doxygen +BuildRequires: libjpeg8-devel +BuildRequires: pkgconfig(eina) +BuildRequires: pkgconfig(gnutls) +BuildRequires: pkgconfig(openssl) + +%description +Eet is a tiny library designed to write an arbitrary set of chunks of +data to a file and optionally compress each chunk (very much like a +zip file) and allow fast random-access reading of the file later +on. It does not do zip as a zip itself has more complexity than is +needed, and it was much simpler to implement this once here. + +It also can encode and decode data structures in memory, as well as +image data for saving to eet files or sending across the network to +other machines, or just writing to arbitrary files on the system. All +data is encoded in a platform independent way and can be written and +read by any architecture. + +%package devel +Summary: Development components for the eet package +Group: Development/Libraries +Requires: %{name} = %{version} + +%description devel +Development files for eet + +%prep +%setup -q + +%build + +%configure --disable-static +make %{?_smp_mflags} + +%install +%make_install + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%doc COPYING +%{_bindir}/eet +%{_libdir}/libeet*.so.* + +%files devel +%defattr(-,root,root,-) +%{_includedir}/eet-1/*.h +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc +%{_datadir}/eet/examples/eet-basic.c +%{_datadir}/eet/examples/eet-data-cipher_decipher.c +%{_datadir}/eet/examples/eet-data-file_descriptor_01.c +%{_datadir}/eet/examples/eet-data-file_descriptor_02.c +%{_datadir}/eet/examples/eet-data-nested.c +%{_datadir}/eet/examples/eet-data-simple.c +%{_datadir}/eet/examples/eet-file.c + + +%changelog