SHA256
1
0
forked from pool/a2ps-h

Accepting request 685822 from Publishing

OBS-URL: https://build.opensuse.org/request/show/685822
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/a2ps-h?expand=0&rev=16
This commit is contained in:
Dominique Leuenberger 2019-03-19 08:58:46 +00:00 committed by Git OBS Bridge
parent 79ba72c051
commit d14dfecd25
2 changed files with 11 additions and 22 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Mar 17 09:54:44 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Remove old tags/sections from specfile.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri May 7 07:03:27 UTC 2010 - aj@suse.de Fri May 7 07:03:27 UTC 2010 - aj@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package a2ps-h (Version 20010113) # spec file for package a2ps-h
# #
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,20 +12,17 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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
Name: a2ps-h Name: a2ps-h
License: GPL-2.0+
Group: Hardware/Printing
Requires: python Requires: python
AutoReqProv: on
Version: 20010113 Version: 20010113
Release: 657 Release: 0
Summary: a2ps Support for Korean PostScript Filter (Python Version) Summary: a2ps Support for Korean PostScript Filter (Python Version)
License: GPL-2.0-or-later
Group: Hardware/Printing
Source0: a2ps-h.py Source0: a2ps-h.py
Source1: a2ps-h-font.patch Source1: a2ps-h-font.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -34,31 +31,18 @@ BuildArch: noarch
%description %description
a2ps support for Korean PostScript filter (Python version). a2ps support for Korean PostScript filter (Python version).
Authors:
--------
Hwang, ChiDeok <hwang@mizi.co.kr>
%prep %prep
%build %build
%install %install
if [ -n "%{?buildroot}" ] ; then
[ %{buildroot} != "/" ] && rm -rf %{buildroot}
fi
mkdir -p %{buildroot}%{_prefix}/bin mkdir -p %{buildroot}%{_prefix}/bin
mkdir -p %{buildroot}%{_defaultdocdir}/%{name} mkdir -p %{buildroot}%{_defaultdocdir}/%{name}
install -m 755 %{SOURCE0} %{buildroot}%{_prefix}/bin/a2ps-h.py install -m 755 %{SOURCE0} %{buildroot}%{_prefix}/bin/a2ps-h.py
head -n 18 %{SOURCE0} > %{buildroot}%{_defaultdocdir}/%{name}/Copyright head -n 18 %{SOURCE0} > %{buildroot}%{_defaultdocdir}/%{name}/Copyright
find %{buildroot}%{_prefix}/bin -name a2ps-h.py -exec patch {} %{SOURCE1} \; find %{buildroot}%{_prefix}/bin -name a2ps-h.py -exec patch {} %{SOURCE1} \;
%clean
rm -rf %{buildroot}
%files %files
%defattr(-, root, root)
%dir %{_defaultdocdir}/%{name} %dir %{_defaultdocdir}/%{name}
%{_defaultdocdir}/%{name}/Copyright %{_defaultdocdir}/%{name}/Copyright
%attr(555, root, root) %{_prefix}/bin/a2ps-h.py %attr(555, root, root) %{_prefix}/bin/a2ps-h.py