From 1049bac9054d254486b4fd481930d2e3fa7389f1 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Thu, 27 Sep 2012 03:09:17 +0000 Subject: and make a single efl.spec file. SVN revision: 77108 --- spec/eet.spec.in | 76 ------------------------------------------------------- spec/efl.spec.in | 67 ++++++++++++++++++++++++++++++++++++++++++++++++ spec/eina.spec.in | 60 ------------------------------------------- 3 files changed, 67 insertions(+), 136 deletions(-) delete mode 100644 spec/eet.spec.in create mode 100644 spec/efl.spec.in delete mode 100644 spec/eina.spec.in (limited to 'spec') 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 @@ -%{!?_rel:%{expand:%%global _rel 0.enl%{?dist}}} -%define _missing_doc_files_terminate_build 0 - -Summary: Library for speedy data storage, retrieval, and compression. -Name: @PACKAGE@ -Version: @VERSION@ -Release: %{_rel} -License: BSD -Group: System Environment/Libraries -Source: http://download.enlightenment.org/releases/%{name}-%{version}.tar.gz -Packager: %{?_packager:%{_packager}}%{!?_packager:Michael Jennings } -Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)} -Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}} -URL: http://www.enlightenment.org/ -BuildRequires: libjpeg-devel zlib-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-root - -%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: Eet headers, static libraries, documentation and test programs -Group: System Environment/Libraries -Requires: %{name} = %{version} -Requires: libjpeg-devel, zlib-devel - -%description devel -Headers, static libraries, test programs and documentation for Eet - -%prep -%setup -q - -%build -%{configure} --prefix=%{_prefix} -### use this if you have build problems -#./configure --prefix=%{_prefix} -%{__make} %{?_smp_mflags} %{?mflags} - -%install -%{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install - -%clean -test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT - -%post -/sbin/ldconfig - -%postun -/sbin/ldconfig - -%files -%defattr(-, root, root) -%doc AUTHORS COPYING COPYING-PLAIN README -%{_libdir}/*.so.* - -%files devel -%defattr(-, root, root) -%{_bindir}/eet* -%{_libdir}/pkgconfig/* -%{_includedir}/* -%{_libdir}/*.a -%{_libdir}/*.so -%{_datadir}/eet -%{_libdir}/*.la - -%changelog diff --git a/spec/efl.spec.in b/spec/efl.spec.in new file mode 100644 index 0000000000..01ddcd7831 --- /dev/null +++ b/spec/efl.spec.in @@ -0,0 +1,67 @@ +%{!?_rel:%{expand:%%global _rel 0.enl%{?dist}}} +%define _missing_doc_files_terminate_build 0 + +Summary: Enlightenment Foundation Libraries +Name: efl +Version: @VERSION@ +Release: %{_rel} +License: LGPLv2.1 GPLv2.1 BSD +Group: System Environment/Libraries +Source: http://download.enlightenment.org/releases/%{name}-%{version}.tar.gz +Packager: %{?_packager:%{_packager}}%{!?_packager:The Enlightenment Project } +Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)} +Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}} +URL: http://www.enlightenment.org/ +BuildRequires: libjpeg-devel zlib-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +EFL is a copllection of libraries ranging from data structure handling +through to communications, rendering and widgets. + +%package devel +Summary: EFL headers, static libraries, documentation and test programs +Group: System Environment/Libraries +Requires: %{name} = %{version} + +%description devel +Headers, static libraries, test programs and documentation for EFL + +%prep +%setup -q + +%build +%{configure} --prefix=%{_prefix} +### use this if you have build problems +#./configure --prefix=%{_prefix} +%{__make} %{?_smp_mflags} %{?mflags} + +%install +%{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install + +%clean +test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT + +%post +/sbin/ldconfig + +%postun +/sbin/ldconfig + +%files +%defattr(-, root, root) +%doc AUTHORS README NEWS COPYING licenses/COPYING.BSD licenses/COPYING.LGPL licenses/COPYING.GPL +%{_bindir}/* +%{_libdir}/*.so.* + +%files devel +%defattr(-, root, root) +%{_includedir}/* +%{_libdir}/pkgconfig/* +%{_libdir}/*.a +%{_libdir}/*.so +%{_libdir}/*.la +%{_datadir}/eina +%{_datadir}/eet + +%changelog diff --git a/spec/eina.spec.in b/spec/eina.spec.in deleted file mode 100644 index 3e526ad57d..0000000000 --- a/spec/eina.spec.in +++ /dev/null @@ -1,60 +0,0 @@ -%{!?_rel:%{expand:%%global _rel 0.enl%{?dist}}} -%define _missing_doc_files_terminate_build 0 - -Summary: Data Type Library -Name: @PACKAGE@ -Version: @VERSION@ -Release: %{_rel} -License: LGPLv2.1 -Group: System Environment/Libraries -Source: http://download.enlightenment.org/releases/%{name}-%{version}.tar.gz -Packager: %{?_packager:%{_packager}}%{!?_packager:Michael Jennings } -Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)} -Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}} -URL: http://www.enlightenment.org/ -BuildRoot: %{_tmppath}/%{name}-%{version}-root - -%description -Eina is a data type library. - -%package devel -Summary: Eina headers, static libraries, documentation and test programs -Group: System Environment/Libraries -Requires: %{name} = %{version} - -%description devel -Headers, static libraries, test programs and documentation for Eina - -%prep -%setup -q - -%build -%{configure} --prefix=%{_prefix} -%{__make} %{?_smp_mflags} %{?mflags} - -%install -%{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install - -%clean -test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT - -%post -/sbin/ldconfig - -%postun -/sbin/ldconfig - -%files -%defattr(-, root, root) -%doc AUTHORS COPYING README -%{_libdir}/*.so.* - -%files devel -%defattr(-, root, root) -%{_includedir}/* -%{_libdir}/*.a -%{_libdir}/*.so -%{_libdir}/*.la -%{_libdir}/pkgconfig/* - -%changelog -- cgit v1.2.1