move around - flatter.
[framework/uifw/eet.git] / eet.spec.in
1 %define _missing_doc_files_terminate_build 0
2
3 Summary: Library for speedy data storage, retrieval, and compression.
4 Name: @PACKAGE@
5 Version: @VERSION@
6 Release: 0.%(date '+%Y%m%d')
7 License: BSD
8 Group: System Environment/Libraries
9 Source: %{name}-%{version}.tar.gz
10 Packager: %{?_packager:%{_packager}}%{!?_packager:Michael Jennings <mej@eterm.org>}
11 Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)}
12 Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
13 URL: http://www.enlightenment.org/
14 BuildRequires: libjpeg-devel zlib-devel
15 BuildRoot: %{_tmppath}/%{name}-%{version}-root
16
17 %description
18 Eet is a tiny library designed to write an arbitary set of chunks of
19 data to a file and optionally compress each chunk (very much like a
20 zip file) and allow fast random-access reading of the file later
21 on. It does not do zip as a zip itself has more complexity than is
22 needed, and it was much simpler to implement this once here.
23
24 It also can encode and decode data structures in memory, as well as
25 image data for saving to eet files or sending across the network to
26 other machines, or just writing to arbitary files on the system. All
27 data is encoded in a platform independant way and can be written and
28 read by any architecture.
29
30 %package devel
31 Summary: Eet headers, static libraries, documentation and test programs
32 Group: System Environment/Libraries
33 Requires: %{name} = %{version}
34 Requires: libjpeg-devel, zlib-devel
35
36 %description devel
37 Headers, static libraries, test programs and documentation for Eet
38
39 %prep
40 %setup -q
41
42 %build
43 %{configure} --prefix=%{_prefix}
44 ### use this if you have build problems
45 #./configure --prefix=%{_prefix}
46 %{__make} %{?_smp_mflags} %{?mflags}
47
48 %install
49 %{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install
50
51 %clean
52 test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
53
54 %post
55 /sbin/ldconfig
56
57 %postun
58 /sbin/ldconfig
59
60 %files
61 %defattr(-, root, root)
62 %doc AUTHORS COPYING COPYING-PLAIN README
63 %{_libdir}/*.so.*
64
65 %files devel
66 %defattr(-, root, root)
67 %{_bindir}/eet*
68 %{_libdir}/pkgconfig/*
69 %{_includedir}/*
70 %{_libdir}/*.a
71 %{_libdir}/*.so
72 %{_libdir}/*.la
73
74 %changelog