diff options
author | David Walter Seikel | 2012-01-04 18:41:13 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-04 18:41:13 +1000 |
commit | dd7595a3475407a7fa96a97393bae8c5220e8762 (patch) | |
tree | e341e911d7eb911a51684a7412ef7f7c7605d28e /libraries/eet/eet.spec | |
parent | Add the skeleton. (diff) | |
download | SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.zip SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.gz SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.bz2 SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.xz |
Add the base Enlightenment Foundation Libraries - eina, eet, evas, ecore, embryo, and edje.
Note that embryo wont be used, but I'm not sure yet if you can build edje without it.
Diffstat (limited to '')
-rw-r--r-- | libraries/eet/eet.spec | 75 | ||||
-rw-r--r-- | libraries/eet/eet.spec.in | 75 |
2 files changed, 150 insertions, 0 deletions
diff --git a/libraries/eet/eet.spec b/libraries/eet/eet.spec new file mode 100644 index 0000000..07cabba --- /dev/null +++ b/libraries/eet/eet.spec | |||
@@ -0,0 +1,75 @@ | |||
1 | %{!?_rel:%{expand:%%global _rel 0.enl%{?dist}}} | ||
2 | %define _missing_doc_files_terminate_build 0 | ||
3 | |||
4 | Summary: Library for speedy data storage, retrieval, and compression. | ||
5 | Name: eet | ||
6 | Version: 1.5.0 | ||
7 | Release: %{_rel} | ||
8 | License: BSD | ||
9 | Group: System Environment/Libraries | ||
10 | Source: http://download.enlightenment.org/releases/%{name}-%{version}.tar.gz | ||
11 | Packager: %{?_packager:%{_packager}}%{!?_packager:Michael Jennings <mej@eterm.org>} | ||
12 | Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)} | ||
13 | Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}} | ||
14 | URL: http://www.enlightenment.org/ | ||
15 | BuildRequires: libjpeg-devel zlib-devel | ||
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root | ||
17 | |||
18 | %description | ||
19 | Eet is a tiny library designed to write an arbitrary set of chunks of | ||
20 | data to a file and optionally compress each chunk (very much like a | ||
21 | zip file) and allow fast random-access reading of the file later | ||
22 | on. It does not do zip as a zip itself has more complexity than is | ||
23 | needed, and it was much simpler to implement this once here. | ||
24 | |||
25 | It also can encode and decode data structures in memory, as well as | ||
26 | image data for saving to eet files or sending across the network to | ||
27 | other machines, or just writing to arbitrary files on the system. All | ||
28 | data is encoded in a platform independent way and can be written and | ||
29 | read by any architecture. | ||
30 | |||
31 | %package devel | ||
32 | Summary: Eet headers, static libraries, documentation and test programs | ||
33 | Group: System Environment/Libraries | ||
34 | Requires: %{name} = %{version} | ||
35 | Requires: libjpeg-devel, zlib-devel | ||
36 | |||
37 | %description devel | ||
38 | Headers, static libraries, test programs and documentation for Eet | ||
39 | |||
40 | %prep | ||
41 | %setup -q | ||
42 | |||
43 | %build | ||
44 | %{configure} --prefix=%{_prefix} | ||
45 | ### use this if you have build problems | ||
46 | #./configure --prefix=%{_prefix} | ||
47 | %{__make} %{?_smp_mflags} %{?mflags} | ||
48 | |||
49 | %install | ||
50 | %{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install | ||
51 | |||
52 | %clean | ||
53 | test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT | ||
54 | |||
55 | %post | ||
56 | /sbin/ldconfig | ||
57 | |||
58 | %postun | ||
59 | /sbin/ldconfig | ||
60 | |||
61 | %files | ||
62 | %defattr(-, root, root) | ||
63 | %doc AUTHORS COPYING COPYING-PLAIN README | ||
64 | %{_libdir}/*.so.* | ||
65 | |||
66 | %files devel | ||
67 | %defattr(-, root, root) | ||
68 | %{_bindir}/eet* | ||
69 | %{_libdir}/pkgconfig/* | ||
70 | %{_includedir}/* | ||
71 | %{_libdir}/*.a | ||
72 | %{_libdir}/*.so | ||
73 | %{_libdir}/*.la | ||
74 | |||
75 | %changelog | ||
diff --git a/libraries/eet/eet.spec.in b/libraries/eet/eet.spec.in new file mode 100644 index 0000000..898fd7a --- /dev/null +++ b/libraries/eet/eet.spec.in | |||
@@ -0,0 +1,75 @@ | |||
1 | %{!?_rel:%{expand:%%global _rel 0.enl%{?dist}}} | ||
2 | %define _missing_doc_files_terminate_build 0 | ||
3 | |||
4 | Summary: Library for speedy data storage, retrieval, and compression. | ||
5 | Name: @PACKAGE@ | ||
6 | Version: @VERSION@ | ||
7 | Release: %{_rel} | ||
8 | License: BSD | ||
9 | Group: System Environment/Libraries | ||
10 | Source: http://download.enlightenment.org/releases/%{name}-%{version}.tar.gz | ||
11 | Packager: %{?_packager:%{_packager}}%{!?_packager:Michael Jennings <mej@eterm.org>} | ||
12 | Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)} | ||
13 | Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}} | ||
14 | URL: http://www.enlightenment.org/ | ||
15 | BuildRequires: libjpeg-devel zlib-devel | ||
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root | ||
17 | |||
18 | %description | ||
19 | Eet is a tiny library designed to write an arbitrary set of chunks of | ||
20 | data to a file and optionally compress each chunk (very much like a | ||
21 | zip file) and allow fast random-access reading of the file later | ||
22 | on. It does not do zip as a zip itself has more complexity than is | ||
23 | needed, and it was much simpler to implement this once here. | ||
24 | |||
25 | It also can encode and decode data structures in memory, as well as | ||
26 | image data for saving to eet files or sending across the network to | ||
27 | other machines, or just writing to arbitrary files on the system. All | ||
28 | data is encoded in a platform independent way and can be written and | ||
29 | read by any architecture. | ||
30 | |||
31 | %package devel | ||
32 | Summary: Eet headers, static libraries, documentation and test programs | ||
33 | Group: System Environment/Libraries | ||
34 | Requires: %{name} = %{version} | ||
35 | Requires: libjpeg-devel, zlib-devel | ||
36 | |||
37 | %description devel | ||
38 | Headers, static libraries, test programs and documentation for Eet | ||
39 | |||
40 | %prep | ||
41 | %setup -q | ||
42 | |||
43 | %build | ||
44 | %{configure} --prefix=%{_prefix} | ||
45 | ### use this if you have build problems | ||
46 | #./configure --prefix=%{_prefix} | ||
47 | %{__make} %{?_smp_mflags} %{?mflags} | ||
48 | |||
49 | %install | ||
50 | %{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install | ||
51 | |||
52 | %clean | ||
53 | test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT | ||
54 | |||
55 | %post | ||
56 | /sbin/ldconfig | ||
57 | |||
58 | %postun | ||
59 | /sbin/ldconfig | ||
60 | |||
61 | %files | ||
62 | %defattr(-, root, root) | ||
63 | %doc AUTHORS COPYING COPYING-PLAIN README | ||
64 | %{_libdir}/*.so.* | ||
65 | |||
66 | %files devel | ||
67 | %defattr(-, root, root) | ||
68 | %{_bindir}/eet* | ||
69 | %{_libdir}/pkgconfig/* | ||
70 | %{_includedir}/* | ||
71 | %{_libdir}/*.a | ||
72 | %{_libdir}/*.so | ||
73 | %{_libdir}/*.la | ||
74 | |||
75 | %changelog | ||