diff --git a/meson.build b/meson.build index 73f39e3..a755866 100644 --- a/meson.build +++ b/meson.build @@ -49,17 +49,6 @@ cfg.set ('_POSIX_SOURCE' , 1) cfg.set ('_POSIX_1_SOURCE' , 1) configure_file(output: 'rage_config.h', configuration: cfg) -##### packaging files for distro packages -pkg = configuration_data() -pkg.set('PACKAGE', proj) -pkg.set('VERSION', ver) -configure_file(input : proj + '.spec.in', - output : proj + '.spec', - configuration: pkg) -configure_file(input : join_paths('pkgbuild', 'PKGBUILD.in'), - output : 'PKGBUILD', - configuration: pkg) - ##### subdirs subdir('src') subdir('data') diff --git a/pkgbuild/PKGBUILD.in b/pkgbuild/PKGBUILD.in deleted file mode 100644 index f749e57..0000000 --- a/pkgbuild/PKGBUILD.in +++ /dev/null @@ -1,33 +0,0 @@ -# Maintainer: Enlightenment Developers -pkgname=rage -pkgver=@VERSION@ -pkgrel=1 -pkgdesc="Video player 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/rage.spec.in b/rage.spec.in deleted file mode 100644 index c76eaec..0000000 --- a/rage.spec.in +++ /dev/null @@ -1,42 +0,0 @@ -%define _missing_doc_files_terminate_build 0 -%{!?_rel:%{expand:%%global _rel 0.enl%{?dist}}} - -Summary: EFL Video Player -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 Video Player - -%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