Add spec, and allow building on RHEL6.

SVN revision: 81738
master
Michael Jennings 10 years ago
parent 812469839c
commit b422f9470e
  1. 1
      .gitignore
  2. 5
      Makefile.am
  3. 5
      configure.ac
  4. 48
      econnman.spec.in

1
.gitignore vendored

@ -7,6 +7,7 @@ config.log
config.status
configure
data/theme/default.edj
econnman.spec
econnman-bin
install-sh
missing

@ -5,7 +5,9 @@ EXTRA_DIST = \
COPYING \
README \
autogen.sh \
econnman-bin.in
econnman-bin.in \
econnman.spec.in \
econnman.spec
dist_bin_SCRIPTS = econnman-bin
@ -62,6 +64,7 @@ clean-local:
rm -f $(top_builddir)/econnman-bin
MAINTAINERCLEANFILES = \
econnman.spec \
aclocal.m4 \
configure \
depcomp \

@ -1,12 +1,12 @@
AC_INIT([econnman], [1], [enlightenment-devel@lists.sourceforge.net])
AC_PREREQ([2.65])
AC_PREREQ([2.61])
AC_CONFIG_SRCDIR([configure.ac])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AM_PATH_PYTHON([2.7])
AM_PATH_PYTHON([2.6])
EFL_WITH_BIN([edje], [edje-cc], [edje_cc])
# not strictly needed during compile, but let's force this check
@ -18,6 +18,7 @@ PKG_CHECK_MODULES([PY_EFL], [
AC_CONFIG_FILES([
Makefile
econnman.spec
])
AC_OUTPUT

@ -0,0 +1,48 @@
%define _missing_doc_files_terminate_build 0
%{!?_rel:%{expand:%%global _rel 0.enl%{?dist}}}
Summary: Enlightenment Connection Manager
Name: @PACKAGE@
Version: @VERSION@
Release: %{_rel}
License: BSD
Group: Applications/System
URL: http://www.enlightenment.org/
Source: %{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}}
BuildRequires: python-elementary, python-edbus
BuildRequires: python-devel >= 2.6
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Enlightenment connection manager
%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
%files
%defattr(-, root, root)
%doc AUTHORS COPYING README
%{_bindir}/*
%{_datadir}/applications/%{name}*.desktop
%{_datadir}/%{name}/
%changelog
Loading…
Cancel
Save