forked from enlightenment/rage
remove packaging files - just more work to maintain ... enough to do
This commit is contained in:
parent
c8c8e6e876
commit
cc6ae2d2c0
11
meson.build
11
meson.build
|
@ -49,17 +49,6 @@ cfg.set ('_POSIX_SOURCE' , 1)
|
||||||
cfg.set ('_POSIX_1_SOURCE' , 1)
|
cfg.set ('_POSIX_1_SOURCE' , 1)
|
||||||
configure_file(output: 'rage_config.h', configuration: cfg)
|
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
|
##### subdirs
|
||||||
subdir('src')
|
subdir('src')
|
||||||
subdir('data')
|
subdir('data')
|
||||||
|
|
|
@ -1,33 +0,0 @@
|
||||||
# Maintainer: Enlightenment Developers <enlightenment-devel@enlightenment.org>
|
|
||||||
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"
|
|
||||||
}
|
|
42
rage.spec.in
42
rage.spec.in
|
@ -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 <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 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
|
|
Loading…
Reference in New Issue