EMODULES: Fix & Unify autofoo stuff everywhere, fix dist tarballs support, add ability to create dist tarball of all modules.
SVN revision: 41571enlightenment-0.18
parent
35351d1f7b
commit
ca4ae42b5f
9 changed files with 64 additions and 145 deletions
@ -1,29 +0,0 @@ |
||||
.deps |
||||
.libs |
||||
Makefile |
||||
Makefile.in |
||||
aclocal.m4 |
||||
autom4te.cache |
||||
config.guess |
||||
config.h |
||||
config.h.in |
||||
config.log |
||||
config.rpath |
||||
config.status |
||||
config.sub |
||||
configure |
||||
depcomp |
||||
install-sh |
||||
libtool |
||||
m4 |
||||
missing |
||||
mkinstalldirs |
||||
ltmain.sh |
||||
stamp-h1 |
||||
*.lo |
||||
*.la |
||||
*.edj |
||||
*.spec |
||||
*.tar.gz |
||||
module.desktop |
||||
INSTALL |
@ -1,14 +0,0 @@ |
||||
|
||||
AC_DEFUN([AC_C___ATTRIBUTE__], |
||||
[ |
||||
AC_MSG_CHECKING(for __attribute__) |
||||
AC_CACHE_VAL(ac_cv___attribute__, [ |
||||
AC_TRY_COMPILE([#include <stdlib.h>], |
||||
[int func(int x); int foo(int x __attribute__ ((unused))) { exit(1); }], |
||||
ac_cv___attribute__=yes, ac_cv___attribute__=no)]) |
||||
if test "$ac_cv___attribute__" = "yes"; then |
||||
AC_DEFINE(HAVE___ATTRIBUTE__, 1, [Define to 1 if your compiler has __attribute__]) |
||||
fi |
||||
AC_MSG_RESULT($ac_cv___attribute__) |
||||
]) |
||||
|
@ -0,0 +1,50 @@ |
||||
%define module_name diskio |
||||
|
||||
Summary: %{module_name} module for the Enlightenment window manager |
||||
Name: e_modules-%{module_name} |
||||
Version: @VERSION@ |
||||
Release: 0.%(date '+%Y%m%d') |
||||
License: BSD |
||||
Group: User Interface/Desktops |
||||
URL: http://www.enlightenment.org/ |
||||
Source: ftp://ftp.enlightenment.org/pub/enlightenment/%{module_name}-%{version}.tar.gz |
||||
Packager: %{?_packager:%{_packager}}%{!?_packager:quaker <quaker@gmail.com>} |
||||
Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)} |
||||
Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}} |
||||
BuildRequires: edje-bin |
||||
BuildRequires: enlightenment-devel >= 0.16.999 |
||||
Requires: enlightenment >= 0.16.999 |
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root |
||||
|
||||
%description |
||||
%{module_name} module for the Enlightenment window manager. |
||||
|
||||
%prep |
||||
%setup -q -n %{module_name}-%{version} |
||||
|
||||
%build |
||||
%{configure} |
||||
%{__make} %{?_smp_mflags} %{?mflags} |
||||
|
||||
%install |
||||
%{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install |
||||
%{find_lang} %{module_name} || true > %{module_name}.lang |
||||
|
||||
%clean |
||||
test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT |
||||
|
||||
%post |
||||
/sbin/ldconfig |
||||
|
||||
%postun |
||||
/sbin/ldconfig |
||||
|
||||
%files -f %{module_name}.lang |
||||
%defattr(-, root, root) |
||||
%doc AUTHORS ChangeLog COPYING* INSTALL NEWS README |
||||
%if "%{module_name}" == "emu" |
||||
%{_bindir}/%{module_name}* |
||||
%endif |
||||
%{_libdir}/enlightenment/modules/%{module_name}* |
||||
|
||||
%changelog |
@ -1,28 +0,0 @@ |
||||
.deps |
||||
.libs |
||||
Makefile |
||||
Makefile.in |
||||
aclocal.m4 |
||||
autom4te.cache |
||||
config.guess |
||||
config.h |
||||
config.h.in |
||||
config.log |
||||
config.rpath |
||||
config.status |
||||
config.sub |
||||
configure |
||||
depcomp |
||||
install-sh |
||||
libtool |
||||
m4 |
||||
missing |
||||
mkinstalldirs |
||||
ltmain.sh |
||||
stamp-h1 |
||||
*.lo |
||||
*.la |
||||
*.edj |
||||
*.spec |
||||
*.tar.gz |
||||
module.desktop |
@ -1,28 +0,0 @@ |
||||
.deps |
||||
.libs |
||||
Makefile |
||||
Makefile.in |
||||
aclocal.m4 |
||||
autom4te.cache |
||||
config.guess |
||||
config.h |
||||
config.h.in |
||||
config.log |
||||
config.rpath |
||||
config.status |
||||
config.sub |
||||
configure |
||||
depcomp |
||||
install-sh |
||||
libtool |
||||
m4 |
||||
missing |
||||
mkinstalldirs |
||||
ltmain.sh |
||||
stamp-h1 |
||||
*.lo |
||||
*.la |
||||
*.edj |
||||
*.spec |
||||
*.tar.gz |
||||
module.desktop |
@ -1,28 +0,0 @@ |
||||
.deps |
||||
.libs |
||||
Makefile |
||||
Makefile.in |
||||
aclocal.m4 |
||||
autom4te.cache |
||||
config.guess |
||||
config.h |
||||
config.h.in |
||||
config.log |
||||
config.rpath |
||||
config.status |
||||
config.sub |
||||
configure |
||||
depcomp |
||||
install-sh |
||||
libtool |
||||
m4 |
||||
missing |
||||
mkinstalldirs |
||||
ltmain.sh |
||||
stamp-h1 |
||||
*.lo |
||||
*.la |
||||
*.edj |
||||
*.spec |
||||
*.tar.gz |
||||
module.desktop |
Loading…
Reference in new issue