From bea5326ac9e348fdfd699a1de84162ff2c40d4c6 Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Thu, 7 Dec 2017 00:01:32 +0100 Subject: [PATCH] packaging scripts/files should not live here --- meson.build | 12 ----------- pkgbuild/PKGBUILD.in | 33 ------------------------------ terminology.spec.in | 48 -------------------------------------------- 3 files changed, 93 deletions(-) delete mode 100644 pkgbuild/PKGBUILD.in delete mode 100644 terminology.spec.in diff --git a/meson.build b/meson.build index 6d66ee88..004ad94d 100644 --- a/meson.build +++ b/meson.build @@ -3,10 +3,6 @@ project('terminology', 'c', default_options: ['c_std=gnu99'], license: 'BSD') -spec_data = configuration_data() -spec_data.set('PACKAGE', meson.project_name()) -spec_data.set('VERSION', meson.project_version()) - cc = meson.get_compiler('c') prefix = get_option('prefix') @@ -109,14 +105,6 @@ message('edje_cc set to:' + edje_cc) configure_file(output: 'terminology_config.h', configuration: config_data) -configure_file(input: 'terminology.spec.in', - output: 'terminology.spec', - configuration: spec_data) - -configure_file(input: join_paths('pkgbuild', 'PKGBUILD.in'), - output: 'PKGBUILD', - configuration: spec_data) - config_dir = include_directories('.') subdir('data') subdir('man') diff --git a/pkgbuild/PKGBUILD.in b/pkgbuild/PKGBUILD.in deleted file mode 100644 index 72079d09..00000000 --- a/pkgbuild/PKGBUILD.in +++ /dev/null @@ -1,33 +0,0 @@ -# Maintainer: Enlightenment Developers -pkgname=terminology -pkgver=@VERSION@ -pkgrel=1 -pkgdesc="Terminal emulator for Enlightenment - GIT development snapshot" -arch=('i686' 'x86_64' 'arm') -url="http://www.enlightenment.org" -license=('BSD') -depends=('elementary' 'efl') -options=('!libtool' 'debug') -build() { - cd "../.." - export CFLAGS="$CFLAGS -fvisibility=hidden -fomit-frame-pointer" - [[ -e Makefile ]] && make clean distclean - ./configure --prefix=/usr - make -} - -#check() { -# cd "../.." -# make -k check -#} - -package() { - cd "../.." - make -j1 DESTDIR="$pkgdir/" install - install -Dm644 README "$pkgdir/usr/share/$pkgname/README" - install -Dm644 NEWS "$pkgdir/usr/share/$pkgname/NEWS" - install -Dm644 ChangeLog "$pkgdir/usr/share/$pkgname/ChangeLog" - install -Dm644 AUTHORS "$pkgdir/usr/share/$pkgname/AUTHORS" - install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" - ln -s ../licenses/$pkgname/COPYING "$pkgdir/usr/share/$pkgname/COPYING" -} diff --git a/terminology.spec.in b/terminology.spec.in deleted file mode 100644 index ffaae5b3..00000000 --- a/terminology.spec.in +++ /dev/null @@ -1,48 +0,0 @@ -%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 -URL: http://www.enlightenment.org/ -Source: http://download.enlightenment.org/releases/%{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}} -BuildRequires: elementary-devel, emotion-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-root - -%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}/%{name} -%{_datadir}/applications/%{name}.desktop -%{_datadir}/%{name}/ -%{_datadir}/icons/%{name}.png - - -%changelog