packaging scripts/files should not live here
This commit is contained in:
parent
6513de27bb
commit
bea5326ac9
12
meson.build
12
meson.build
|
@ -3,10 +3,6 @@ project('terminology', 'c',
|
||||||
default_options: ['c_std=gnu99'],
|
default_options: ['c_std=gnu99'],
|
||||||
license: 'BSD')
|
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')
|
cc = meson.get_compiler('c')
|
||||||
|
|
||||||
prefix = get_option('prefix')
|
prefix = get_option('prefix')
|
||||||
|
@ -109,14 +105,6 @@ message('edje_cc set to:' + edje_cc)
|
||||||
configure_file(output: 'terminology_config.h',
|
configure_file(output: 'terminology_config.h',
|
||||||
configuration: config_data)
|
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('.')
|
config_dir = include_directories('.')
|
||||||
subdir('data')
|
subdir('data')
|
||||||
subdir('man')
|
subdir('man')
|
||||||
|
|
|
@ -1,33 +0,0 @@
|
||||||
# Maintainer: Enlightenment Developers <enlightenment-devel@enlightenment.org>
|
|
||||||
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"
|
|
||||||
}
|
|
|
@ -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 <mej@eterm.org>}
|
|
||||||
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
|
|
Loading…
Reference in New Issue