Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Tomcat42
perl-License-Syntax
perl-License-Syntax.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-License-Syntax.spec of Package perl-License-Syntax
# spec file for package perl-License-Syntax (Version 0.07) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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/ # # norootforbuild Name: perl-License-Syntax %define real_name License-Syntax Summary: SUSE Syntax for RPM License tag Version: 0.13 Release: 1 Url: http://svn.berlios.de/wsvn/opensuse/trunk/tools/License-Syntax Group: Development/Libraries/Perl License: GPLv1+ or Artistic V1 Source: %{real_name}-%{version}.tar.gz BuildRequires: perl sed BuildRequires: perl-macros BuildRequires: perl-DBD-SQLite perl(Test::More) perl(Test::Pod) perl(Test::Pod::Coverage) perl(Text::CSV) %if 0%{?suse_version} > 1010 # not available for sle10 BuildRequires: sqlite3 %endif Requires: perl-DBD-SQLite Requires: perl = %{perl_version} # Packager: jw@suse.de BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description Validate an RPM License string accrding to SUSE License syntax. This package includes synopsis.csv, which has its master version at git@gitorious.org:opensuse/license_o_o.git Author: Juergen Weigert <jw@suse.de> %prep %setup -q -n %{real_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS="vendor" %{__make} %{?jobs:-j%jobs} %check %{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist sed -i.orig -e 's@mapfile = "$FindBin::RealBin/@mapfile = "/usr/share/doc/packages/perl-License-Syntax/@' license_syntax.pl cat <<EOF> license_syntax.pod =pod =head1 SYNOPSIS EOF perl license_syntax.pl --help >> license_syntax.pod && true cat <<EOF1>> license_syntax.pod =head1 REFERENCES See also C<perldoc License::Syntax> EOF1 pod2man < license_syntax.pod > license_syntax.1 rm license_syntax.pod echo license_syntax.1 >> MANIFEST install -m 644 -D license_syntax.1 $RPM_BUILD_ROOT/%{_mandir}/man1/license_syntax.1 install -m 755 -D license_syntax.pl $RPM_BUILD_ROOT%{_bindir}/license_syntax %clean rm -rf %{buildroot} %files -f %{name}.files %defattr(-, root, root, -) %doc Changes README license_map.csv synopsis.csv %{_bindir}/license_syntax %doc %{_mandir}/man1/* %changelog * Fri Sep 18 2009 - jw@suse.de - V0.07 fixed testsuite. it failed needlessly. * Thu Sep 17 2009 - jw@suse.de - V0.06 - now everything passes the test suite. including disambiguate. * Mon Sep 14 2009 - jw@suse.de - Initial package 0.04
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor