From 6898d981e38859b81162feffa4f4526b48ad24c5 Mon Sep 17 00:00:00 2001 From: quan74 Date: Tue, 25 Oct 2005 03:45:52 +0000 Subject: [PATCH] spec file autofoo'd SVN revision: 17930 --- legacy/edje/Makefile.am | 4 +- legacy/edje/configure.in | 1 + legacy/edje/edje.spec.in | 87 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 90 insertions(+), 2 deletions(-) create mode 100644 legacy/edje/edje.spec.in diff --git a/legacy/edje/Makefile.am b/legacy/edje/Makefile.am index 86cc0c177a..0d7da3ad35 100644 --- a/legacy/edje/Makefile.am +++ b/legacy/edje/Makefile.am @@ -6,7 +6,7 @@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess \ config.h.in config.sub configure install-sh \ ltconfig ltmain.sh missing mkinstalldirs \ stamp-h.in edje_docs.tar edje_docs.tar.gz edje.c \ - debian/changelog + debian/changelog edje.spec ### this is all fine and great - ut edje should not be going and installing ### data in another software's data dir - it's just wrong. not to mention this @@ -19,7 +19,7 @@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess \ bin_SCRIPTS = edje-config EXTRA_DIST = README AUTHORS COPYING COPYING-PLAIN edje.spec \ - edje.pc.in edje.c.in gendoc Doxyfile \ + edje.spec.in edje.pc.in edje.c.in gendoc Doxyfile \ debian/changelog debian/changelog.in \ debian/control debian/rules debian/copyright \ debian/libedje0.install debian/edje0-bin.install \ diff --git a/legacy/edje/configure.in b/legacy/edje/configure.in index f954b651e9..fbb48b737b 100644 --- a/legacy/edje/configure.in +++ b/legacy/edje/configure.in @@ -204,6 +204,7 @@ AC_SUBST(EDJE_THUMB_PRG) AC_OUTPUT([ edje.pc +edje.spec Makefile data/Makefile data/images/Makefile diff --git a/legacy/edje/edje.spec.in b/legacy/edje/edje.spec.in new file mode 100644 index 0000000000..781af086d6 --- /dev/null +++ b/legacy/edje/edje.spec.in @@ -0,0 +1,87 @@ +%define _missing_doc_files_terminate_build 0 + +Summary: Complex Graphical Design/Layout Engine +Name: @PACKAGE@ +Version: @VERSION@ +Release: 0.%(date '+%Y%m%d') +License: BSD +Group: System Environment/Libraries +URL: http://www.enlightenment.org/ +Source: ftp://ftp.enlightenment.org/pub/evoak/%{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}} +#BuildSuggests: xorg-x11-devel vim-enhanced +BuildRequires: libjpeg-devel zlib-devel eet-devel XFree86-devel +BuildRequires: embryo-devel imlib2-devel >= 1.2.0 evas-devel ecore-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Edje is a complex graphical design and layout engine. It provides a +mechanism for allowing configuration data to define visual elements in +terms of layout, behavior, and appearance. Edje allows for multiple +collections of layouts in one file, allowing a complete set of images, +animations, and controls to exist as a unified whole. + +Edje separates the arrangement, appearance, and behavior logic into +distinct independent entities. This allows visual objects to share +image data and configuration information without requiring them to do +so. This separation and simplistic event driven style of programming +can produce almost any look and feel one could want for basic visual +elements. Anything more complex is likely the domain of an application +or widget set that may use Edje as a conveneient way of being able to +configure parts of the display. + +%package devel +Summary: Edje headers, static libraries, documentation and test programs +Group: System Environment/Libraries +Requires: %{name} = %{version} +Requires: libjpeg-devel zlib-devel eet-devel XFree86-devel +Requires: embryo-devel imlib2-devel >= 1.2.0 evas-devel ecore-devel + +%description devel +Headers, static libraries, test programs and documentation for Edje + +%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}/libedje.so* +%{_bindir}/edje +%{_bindir}/edje_cc +%{_bindir}/edje_ls +%{_bindir}/edje_decc +%{_bindir}/edje_recc +%{_bindir}/edje_test +%{_bindir}/edje_thumb +%{_datadir}/edje + +%files devel +%defattr(-, root, root) +%doc doc/html +%{_libdir}/libedje.a +%{_libdir}/libedje.la +%{_libdir}/pkgconfig/edje.pc +%{_bindir}/edje-config +%{_includedir}/Edje* + +%changelog