2010-10-12 15:33:30 +02:00
|
|
|
#
|
2011-05-03 21:47:10 +02:00
|
|
|
# spec file for package spec-cleaner
|
2010-10-12 15:33:30 +02:00
|
|
|
#
|
2012-03-23 08:48:29 +01:00
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
# Copyright (c) 2012 Vincent Untz <vuntz@opensuse.org>
|
2010-10-12 15:33:30 +02:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
2012-03-23 08:48:29 +01:00
|
|
|
|
2010-10-12 15:33:30 +02:00
|
|
|
Name: spec-cleaner
|
2011-05-03 21:47:10 +02:00
|
|
|
Version: 0.2
|
2012-03-23 08:48:29 +01:00
|
|
|
Release: 0
|
2010-10-12 15:33:30 +02:00
|
|
|
Summary: .spec file cleaner
|
2012-03-23 08:48:29 +01:00
|
|
|
License: BSD-3-Clause
|
2010-10-12 15:33:30 +02:00
|
|
|
Group: Development/Tools/Other
|
2012-03-23 08:48:29 +01:00
|
|
|
Url: http://gitorious.org/opensuse/spec-cleaner
|
2010-10-12 15:33:30 +02:00
|
|
|
Source0: spec-cleaner
|
|
|
|
Requires: python-base
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
This script cleans spec file according to some arbitrary style guide. The
|
|
|
|
results it produces should always be checked by someone since it is not and
|
|
|
|
will never be perfect.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
2010-12-07 04:50:54 +01:00
|
|
|
install -D -m 0755 %{SOURCE0} %{buildroot}%{_bindir}/spec-cleaner
|
2010-10-12 15:33:30 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_bindir}/spec-cleaner
|
|
|
|
|
|
|
|
%changelog
|