From 49996041921b46883865ee1b954b28b38f02dc65 Mon Sep 17 00:00:00 2001 From: Rui Seabra Date: Sun, 21 Feb 2010 19:18:26 +0000 Subject: [PATCH] RPM spec for elementary. SVN revision: 46349 --- legacy/elementary/Makefile.am | 2 +- legacy/elementary/configure.ac | 1 + legacy/elementary/elementary.spec.in | 100 +++++++++++++++++++++++++++ 3 files changed, 102 insertions(+), 1 deletion(-) create mode 100644 legacy/elementary/elementary.spec.in diff --git a/legacy/elementary/Makefile.am b/legacy/elementary/Makefile.am index 0c097d6164..d7a58bdefc 100644 --- a/legacy/elementary/Makefile.am +++ b/legacy/elementary/Makefile.am @@ -7,7 +7,7 @@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess \ ltconfig ltmain.sh missing mkinstalldirs \ stamp-h.in acconfig.h depcomp -EXTRA_DIST = README AUTHORS COPYING autogen.sh elementary.pc.in +EXTRA_DIST = README AUTHORS COPYING autogen.sh elementary.pc.in elementary.spec elementary.spec.in pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = elementary.pc diff --git a/legacy/elementary/configure.ac b/legacy/elementary/configure.ac index 5a0fc3fb13..119884c1ae 100644 --- a/legacy/elementary/configure.ac +++ b/legacy/elementary/configure.ac @@ -286,6 +286,7 @@ EFL_CHECK_DOXYGEN([build_doc="yes"], [build_doc="no"]) AC_OUTPUT([ Makefile +elementary.spec elementary.pc doc/elementary.dox doc/Makefile diff --git a/legacy/elementary/elementary.spec.in b/legacy/elementary/elementary.spec.in new file mode 100644 index 0000000000..68eb9b8bf5 --- /dev/null +++ b/legacy/elementary/elementary.spec.in @@ -0,0 +1,100 @@ +%define _missing_doc_files_terminate_build 0 + +Summary: EFL toolkit for small touchscreens +Name: @PACKAGE@ +Version: @VERSION@ +Release: 0.%(date '+%Y%m%d') +License: Lesser GPL +Group: System Environment/Libraries +URL: http://www.enlightenment.org/ +Source: ftp://ftp.enlightenment.org/pub/evoak/%{name}-%{version}.tar.gz +Packager: %{?_packager:%{_packager}}%{!?_packager:Rui Miguel Silva Seabra } +Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)} +Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}} +#BuildSuggests: xorg-x11-devel, vim-enhanced +BuildRequires: evas-devel +Requires: evas +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Elementary is a widget set. It is a new-style of widget set much more canvas +object based than anything else. Why not ETK? Why not EWL? Well they both +tend to veer away from the core of Evas, Ecore and Edje a lot to build their +own worlds. Also I wanted something focused on embedded devices - +specifically small touchscreens. Unlike GTK+ and Qt, 75% of the "widget set" +is already embodied in a common core - Ecore, Edje, Evas etc. So this +fine-grained library splitting means all of this is shared, just a new +widget "personality" is on top. And that is... Elementary, my dear watson. +Elementary. + +%package devel +Summary: Elementary headers, static libraries, documentation and test programs +Group: System Environment/Libraries +Requires: %{name} = %{version}, %{name}-bin = %{version} +Requires: evas-devel + +%description devel +Headers, static libraries, test programs and documentation for Elementary + +%package bin +Summary: Elementary file compiler/decompiler suite +Group: System Environment/Libraries +Requires: %{name} = %{version} +Requires: elementary + +%description bin +Elmementary programs + +%prep +%setup -q + +%build +%{configure} --prefix=%{_prefix} +%{__make} %{?_smp_mflags} %{?mflags} + +%install +%{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install +test -x `which doxygen` && sh gendoc || : + +%post +/sbin/ldconfig || : + +%postun +/sbin/ldconfig || : + +%clean +test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-, root, root) +%doc AUTHORS COPYING README +%{_libdir}/libelementary*.so.* + +%files devel +%defattr(-, root, root) +%doc doc/html +%{_libdir}/*.so +%{_libdir}/*.la +%{_libdir}/*.a +%{_libdir}/edje/*.so +%{_libdir}/edje/*.la +%{_libdir}/elementary/modules/test_entry/*/module.* +%{_libdir}/pkgconfig/* +%{_includedir}/*.h +%{_includedir}/elementary/*.h + +%files bin +%defattr(-, root, root) +%{_bindir}/* +%{_datadir}/applications/*.desktop +%{_datadir}/elementary/config/*.cfg +%{_datadir}/elementary/config/default/* +%{_datadir}/elementary/config/illume/* +%{_datadir}/elementary/config/standard/* +%{_datadir}/elementary/edje_externals/* +%{_datadir}/elementary/images/* +%{_datadir}/elementary/objects/* +%{_datadir}/elementary/themes/* +%{_datadir}/icons/elementary.png + +%changelog