forked from pool/perl-IO-Stty
Compare commits
10 Commits
45ee43d6e7
...
013368f79a
Author | SHA256 | Date | |
---|---|---|---|
013368f79a | |||
7a1879effc | |||
|
65793dfcd4 | ||
|
f537db1a45 | ||
|
95b1917d3a | ||
|
3ac0f1da00 | ||
|
1b102c42ef | ||
|
1ea3f85ed8 | ||
|
5ae3867aad | ||
|
01b3f3038c |
@@ -1,8 +0,0 @@
|
||||
--- stty.pl
|
||||
+++ stty.pl 2003/07/18 15:40:17
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/local/perl/bin/perl
|
||||
+#!/usr/bin/perl
|
||||
|
||||
require IO::Stty;
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5095bfac4c610e9e83b31a313c0e3a4a1280bbf39f17a274f5f25dfd8caf2b83
|
||||
size 7019
|
3
IO-Stty-0.04.tar.gz
Normal file
3
IO-Stty-0.04.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5c9509f1a8693d8287fa013def0bf87aa64cd927138461ef8deb55503c6651c2
|
||||
size 9686
|
28
cpanspec.yml
Normal file
28
cpanspec.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
#description_paragraphs: 3
|
||||
#description: |-
|
||||
# override description from CPAN
|
||||
#summary: override summary from CPAN
|
||||
#no_testing: broken upstream
|
||||
#sources:
|
||||
# - source1
|
||||
# - source2
|
||||
#patches:
|
||||
# foo.patch: -p1
|
||||
# bar.patch:
|
||||
#preamble: |-
|
||||
# BuildRequires: gcc-c++
|
||||
#post_prep: |-
|
||||
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||
#post_build: |-
|
||||
# rm unused.files
|
||||
#post_install: |-
|
||||
# sed on %{name}.files
|
||||
#license: SUSE-NonFree
|
||||
#skip_noarch: 1
|
||||
#custom_build: |-
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
||||
#custom_test: |-
|
||||
#startserver && make test
|
||||
#ignore_requires: Bizarre::Module
|
@@ -1,3 +1,37 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 20 03:09:11 UTC 2020 - <timueller+perl@suse.de>
|
||||
|
||||
- updated to 0.04
|
||||
see /usr/share/doc/packages/perl-IO-Stty/Changes
|
||||
|
||||
0.04 Sat Jan 18 2020
|
||||
- Switch to EU::MM
|
||||
- Address a few deficiencies in the way how the stty() sub processes its arguments
|
||||
- Enable testing on Github actions.
|
||||
|
||||
0.03 Thu May 6 2010
|
||||
- Re-vamp IO::Stty to modern layout
|
||||
- stty.txt moved into POD for module
|
||||
- stty.pl in docs. Die if no params passed to stty
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 30 19:20:22 UTC 2010 - coolo@novell.com
|
||||
|
||||
- switch to perl_requires macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 27 11:43:02 UTC 2010 - chris@computersalat.de
|
||||
|
||||
- update to 0.03
|
||||
o no updated Changes :(
|
||||
- recreated by cpanspec 1.78
|
||||
- noarch pkg
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 10 15:43:32 CET 2010 - jengelh@medozas.de
|
||||
|
||||
- enable parallel build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:39:46 CET 2006 - mls@suse.de
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-IO-Stty (Version .02)
|
||||
# spec file for package perl-IO-Stty
|
||||
#
|
||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,90 +12,46 @@
|
||||
# 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/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Url: http://search.cpan.org/search?module=IO::Stty
|
||||
|
||||
Name: perl-IO-Stty
|
||||
License: Artistic License; GPL v2 or later
|
||||
Version: 0.04
|
||||
Release: 0
|
||||
%define cpan_name IO-Stty
|
||||
Summary: Change and print terminal line settings
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Group: Development/Libraries/Perl
|
||||
Requires: perl = %{perl_version}
|
||||
AutoReqProv: on
|
||||
Summary: A Perl Module for Setting Terminal Parameters
|
||||
Version: .02
|
||||
Release: 652
|
||||
Source: IO-Stty-%{version}.tar.gz
|
||||
Patch: IO-Stty-.02-correct_perl.dif
|
||||
Url: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/T/TO/TODDR/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
IO::Stty is a Perl module for setting terminal parameters.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Austin Schutz <tex@habit.com>
|
||||
This is the PERL POSIX compliant stty.
|
||||
|
||||
%prep
|
||||
%setup -n IO-Stty-%{version}
|
||||
%patch
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL
|
||||
make
|
||||
make test
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%install
|
||||
#%define perl_sitelib %(eval "`perl -V:installsitelib`"; echo $installsitelib)
|
||||
#install -d $RPM_BUILD_ROOT/%{perl_archlib}
|
||||
#make PREFIX=$RPM_BUILD_ROOT/usr \
|
||||
# INSTALLMAN1DIR=$RPM_BUILD_ROOT/%{_mandir}/man1 \
|
||||
# INSTALLMAN3DIR=$RPM_BUILD_ROOT/%{_mandir}/man3 \
|
||||
# install
|
||||
#install -d $RPM_BUILD_ROOT/var/adm/perl-modules
|
||||
#cat $RPM_BUILD_ROOT/%{perl_archlib}/perllocal.pod | sed "s@$RPM_BUILD_ROOT@@g" > $RPM_BUILD_ROOT/var/adm/perl-modules/perl-IO-Stty
|
||||
#cd $RPM_BUILD_ROOT/%{perl_sitearch}/auto/IO/Stty
|
||||
#sed "s@$RPM_BUILD_ROOT@@g" < .packlist | sort -u > .packlist.tmp
|
||||
#mv .packlist.tmp .packlist
|
||||
#rm -f $RPM_BUILD_ROOT/%{perl_archlib}/perllocal.pod
|
||||
#rm -f $RPM_BUILD_ROOT/%{perl_sitelib}/IO/stty.pl
|
||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README stty.txt
|
||||
%dir %{perl_vendorarch}/auto/IO
|
||||
%{perl_vendorarch}/auto/IO/Stty
|
||||
/%{perl_vendorlib}/IO
|
||||
/var/adm/perl-modules/perl-IO-Stty
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes README
|
||||
|
||||
%changelog
|
||||
* Wed Jan 25 2006 mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Sun Jan 11 2004 adrian@suse.de
|
||||
- build as user
|
||||
* Fri Aug 22 2003 mjancar@suse.cz
|
||||
- require the perl version we build with
|
||||
* Fri Jul 18 2003 mc@suse.de
|
||||
- add vendorarch changes
|
||||
- fix for correct perl interpreter
|
||||
* Sun Jun 22 2003 coolo@suse.de
|
||||
- package directories
|
||||
* Mon May 19 2003 mc@suse.de
|
||||
- removed unpackaged Files from RPM_BUILD_ROOT
|
||||
* Tue Sep 17 2002 ro@suse.de
|
||||
- removed bogus self-provides
|
||||
* Tue Jul 02 2002 mls@suse.de
|
||||
- remove race in .packlist generation
|
||||
* Thu Jun 21 2001 mc@suse.de
|
||||
- fixed the specfile. Used more RPM macros
|
||||
* Thu Feb 08 2001 mc@suse.de
|
||||
- first package, v.02
|
||||
|
Reference in New Issue
Block a user