spec file autofoo'd

SVN revision: 17930
This commit is contained in:
quan74 2005-10-25 03:45:52 +00:00 committed by quan74
parent d28cb025f3
commit 6898d981e3
3 changed files with 90 additions and 2 deletions

View File

@ -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 \

View File

@ -204,6 +204,7 @@ AC_SUBST(EDJE_THUMB_PRG)
AC_OUTPUT([
edje.pc
edje.spec
Makefile
data/Makefile
data/images/Makefile

87
legacy/edje/edje.spec.in Normal file
View File

@ -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 <mej@eterm.org>}
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