From 69e2ad8e7578c505ad66181410b989784f9ea78b6cbc0a152a55521cfb3e22ea Mon Sep 17 00:00:00 2001 From: Philipp Thomas Date: Tue, 29 Oct 2013 15:56:45 +0000 Subject: [PATCH] - Add copyright to spec file. OBS-URL: https://build.opensuse.org/package/show/devel:tools/ansifilter?expand=0&rev=8 --- ansifilter.changes | 1 + ansifilter.spec | 34 +++++++++++++++++++++++++++------- 2 files changed, 28 insertions(+), 7 deletions(-) diff --git a/ansifilter.changes b/ansifilter.changes index 40acc7c..2f26ff7 100644 --- a/ansifilter.changes +++ b/ansifilter.changes @@ -2,6 +2,7 @@ Tue Oct 29 16:43:55 CET 2013 - pth@suse.de - Fix options passed to make. +- Add copyright to spec file. ------------------------------------------------------------------- Mon Oct 28 14:00:25 CET 2013 - pth@suse.de diff --git a/ansifilter.spec b/ansifilter.spec index 046a9da..daec497 100644 --- a/ansifilter.spec +++ b/ansifilter.spec @@ -1,4 +1,21 @@ # vim: set ts=4 sw=4 et: +# +# spec file for package ansifilter +# +# Copyright (c) 2013 Pascal Bleser. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + %if 0%{?suse_version} > 1030 %define with_gui 1 @@ -10,16 +27,20 @@ Name: ansifilter Version: 1.7 Release: 0 Summary: ANSI Terminal Escape Code Converter +License: GPL-3.0 +Group: Development/Tools/Other Source: http://www.andre-simon.de/zip/ansifilter-%{version}.tar.bz2 Source1: ansifilter.desktop Patch0: ansifilter-compiler_flags.patch -URL: http://www.andre-simon.de/ -Group: Development/Tools/Other -License: GPL-3.0 -BuildRoot: %{_tmppath}/build-%{name}-%{version} -BuildRequires: gcc-c++ libstdc++-devel pkgconfig -BuildRequires: gcc make glibc-devel +Url: http://www.andre-simon.de/ +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ImageMagick +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: glibc-devel +BuildRequires: libstdc++-devel +BuildRequires: make +BuildRequires: pkgconfig BuildRequires: update-desktop-files %if %with_gui BuildRequires: libqt4-devel @@ -56,7 +77,6 @@ export RPM_OPT_FLAGS moc -osrc/qt-gui/moc_mydialog.cpp src/qt-gui/mydialog.h %endif - %__make %{?jobs:-j%{jobs}} \ CFLAGS="%{optflags}" \ QMAKE="%{_usr}/bin/qmake" \