summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-09-27 03:09:17 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-09-27 03:09:17 +0000
commit1049bac9054d254486b4fd481930d2e3fa7389f1 (patch)
tree42d7941320b5a95498c73d6713f188998a045d47 /spec
parent05ddd5fe2df500b018fd077359121653628cd44a (diff)
and make a single efl.spec file.
SVN revision: 77108
Diffstat (limited to 'spec')
-rw-r--r--spec/eet.spec.in76
-rw-r--r--spec/efl.spec.in (renamed from spec/eina.spec.in)25
2 files changed, 16 insertions, 85 deletions
diff --git a/spec/eet.spec.in b/spec/eet.spec.in
deleted file mode 100644
index 5a91f60044..0000000000
--- a/spec/eet.spec.in
+++ /dev/null
@@ -1,76 +0,0 @@
1%{!?_rel:%{expand:%%global _rel 0.enl%{?dist}}}
2%define _missing_doc_files_terminate_build 0
3
4Summary: Library for speedy data storage, retrieval, and compression.
5Name: @PACKAGE@
6Version: @VERSION@
7Release: %{_rel}
8License: BSD
9Group: System Environment/Libraries
10Source: http://download.enlightenment.org/releases/%{name}-%{version}.tar.gz
11Packager: %{?_packager:%{_packager}}%{!?_packager:Michael Jennings <mej@eterm.org>}
12Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)}
13Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
14URL: http://www.enlightenment.org/
15BuildRequires: libjpeg-devel zlib-devel
16BuildRoot: %{_tmppath}/%{name}-%{version}-root
17
18%description
19Eet is a tiny library designed to write an arbitrary set of chunks of
20data to a file and optionally compress each chunk (very much like a
21zip file) and allow fast random-access reading of the file later
22on. It does not do zip as a zip itself has more complexity than is
23needed, and it was much simpler to implement this once here.
24
25It also can encode and decode data structures in memory, as well as
26image data for saving to eet files or sending across the network to
27other machines, or just writing to arbitrary files on the system. All
28data is encoded in a platform independent way and can be written and
29read by any architecture.
30
31%package devel
32Summary: Eet headers, static libraries, documentation and test programs
33Group: System Environment/Libraries
34Requires: %{name} = %{version}
35Requires: libjpeg-devel, zlib-devel
36
37%description devel
38Headers, 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
53test "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%{_datadir}/eet
74%{_libdir}/*.la
75
76%changelog
diff --git a/spec/eina.spec.in b/spec/efl.spec.in
index 3e526ad57d..01ddcd7831 100644
--- a/spec/eina.spec.in
+++ b/spec/efl.spec.in
@@ -1,35 +1,39 @@
1%{!?_rel:%{expand:%%global _rel 0.enl%{?dist}}} 1%{!?_rel:%{expand:%%global _rel 0.enl%{?dist}}}
2%define _missing_doc_files_terminate_build 0 2%define _missing_doc_files_terminate_build 0
3 3
4Summary: Data Type Library 4Summary: Enlightenment Foundation Libraries
5Name: @PACKAGE@ 5Name: efl
6Version: @VERSION@ 6Version: @VERSION@
7Release: %{_rel} 7Release: %{_rel}
8License: LGPLv2.1 8License: LGPLv2.1 GPLv2.1 BSD
9Group: System Environment/Libraries 9Group: System Environment/Libraries
10Source: http://download.enlightenment.org/releases/%{name}-%{version}.tar.gz 10Source: http://download.enlightenment.org/releases/%{name}-%{version}.tar.gz
11Packager: %{?_packager:%{_packager}}%{!?_packager:Michael Jennings <mej@eterm.org>} 11Packager: %{?_packager:%{_packager}}%{!?_packager:The Enlightenment Project <enlightenment-devel@lists.sourceforge.net>}
12Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)} 12Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)}
13Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}} 13Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
14URL: http://www.enlightenment.org/ 14URL: http://www.enlightenment.org/
15BuildRequires: libjpeg-devel zlib-devel
15BuildRoot: %{_tmppath}/%{name}-%{version}-root 16BuildRoot: %{_tmppath}/%{name}-%{version}-root
16 17
17%description 18%description
18Eina is a data type library. 19EFL is a copllection of libraries ranging from data structure handling
20through to communications, rendering and widgets.
19 21
20%package devel 22%package devel
21Summary: Eina headers, static libraries, documentation and test programs 23Summary: EFL headers, static libraries, documentation and test programs
22Group: System Environment/Libraries 24Group: System Environment/Libraries
23Requires: %{name} = %{version} 25Requires: %{name} = %{version}
24 26
25%description devel 27%description devel
26Headers, static libraries, test programs and documentation for Eina 28Headers, static libraries, test programs and documentation for EFL
27 29
28%prep 30%prep
29%setup -q 31%setup -q
30 32
31%build 33%build
32%{configure} --prefix=%{_prefix} 34%{configure} --prefix=%{_prefix}
35### use this if you have build problems
36#./configure --prefix=%{_prefix}
33%{__make} %{?_smp_mflags} %{?mflags} 37%{__make} %{?_smp_mflags} %{?mflags}
34 38
35%install 39%install
@@ -46,15 +50,18 @@ test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
46 50
47%files 51%files
48%defattr(-, root, root) 52%defattr(-, root, root)
49%doc AUTHORS COPYING README 53%doc AUTHORS README NEWS COPYING licenses/COPYING.BSD licenses/COPYING.LGPL licenses/COPYING.GPL
54%{_bindir}/*
50%{_libdir}/*.so.* 55%{_libdir}/*.so.*
51 56
52%files devel 57%files devel
53%defattr(-, root, root) 58%defattr(-, root, root)
54%{_includedir}/* 59%{_includedir}/*
60%{_libdir}/pkgconfig/*
55%{_libdir}/*.a 61%{_libdir}/*.a
56%{_libdir}/*.so 62%{_libdir}/*.so
57%{_libdir}/*.la 63%{_libdir}/*.la
58%{_libdir}/pkgconfig/* 64%{_datadir}/eina
65%{_datadir}/eet
59 66
60%changelog 67%changelog