Add rpm support to terminology

SVN revision: 75406
devs/lucas/wip
Rui Seabra 11 years ago
parent da816d1bd6
commit df1d00930e
  1. 2
      Makefile.am
  2. 1
      configure.ac
  3. 46
      terminology.spec.in

@ -26,5 +26,5 @@ m4/ltoptions.m4 \
m4/ltsugar.m4 \
m4/ltversion.m4
EXTRA_DIST = README AUTHORS COPYING autogen.sh
EXTRA_DIST = README AUTHORS COPYING autogen.sh terminology.spec

@ -54,6 +54,7 @@ AC_DEFINE_UNQUOTED(EINA_LOG_LEVEL_MAXIMUM, ${with_max_log_level}, [if set, loggi
AC_CONFIG_FILES([
Makefile
terminology.spec
src/Makefile
src/bin/Makefile
data/Makefile

@ -0,0 +1,46 @@
%define _missing_doc_files_terminate_build 0
%{!?_rel:%{expand:%%global _rel 0.enl%{?dist}}}
Summary: EFL Terminal Emulator
Name: @PACKAGE@
Version: @VERSION@
Release: %{_rel}
License: BSD
Group: Applications/System
Source: %{name}-%{version}.tar.gz
Packager: %{?_packager:%{_packager}}%{!?_packager:Rui Miguel Seabra <rms@1407.org>}
Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)}
Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
URL: http://www.enlightenment.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Requires: elementary, emotion
BuildRequires: elementary-devel, emotion-devel
%description
EFL Terminal Emulator
%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}/terminology
%{_datadir}/applications/terminology.desktop
%{_datadir}/terminology/fonts/*.pcf
%{_datadir}/terminology/themes/*.edj
%{_datadir}/terminology/images/terminology.png
%{_datadir}/icons/terminology.png
#%{_datadir}/locale/*
%changelog
Loading…
Cancel
Save