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:
parent
79ba72c051
commit
d14dfecd25
@ -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
|
||||
|
||||
|
28
a2ps-h.spec
28
a2ps-h.spec
@ -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
|
||||
# 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)
|
||||
# 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
|
||||
License: GPL-2.0+
|
||||
Group: Hardware/Printing
|
||||
Requires: python
|
||||
AutoReqProv: on
|
||||
Version: 20010113
|
||||
Release: 657
|
||||
Release: 0
|
||||
Summary: a2ps Support for Korean PostScript Filter (Python Version)
|
||||
License: GPL-2.0-or-later
|
||||
Group: Hardware/Printing
|
||||
Source0: a2ps-h.py
|
||||
Source1: a2ps-h-font.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@ -34,31 +31,18 @@ BuildArch: noarch
|
||||
%description
|
||||
a2ps support for Korean PostScript filter (Python version).
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Hwang, ChiDeok <hwang@mizi.co.kr>
|
||||
|
||||
%prep
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
if [ -n "%{?buildroot}" ] ; then
|
||||
[ %{buildroot} != "/" ] && rm -rf %{buildroot}
|
||||
fi
|
||||
mkdir -p %{buildroot}%{_prefix}/bin
|
||||
mkdir -p %{buildroot}%{_defaultdocdir}/%{name}
|
||||
install -m 755 %{SOURCE0} %{buildroot}%{_prefix}/bin/a2ps-h.py
|
||||
head -n 18 %{SOURCE0} > %{buildroot}%{_defaultdocdir}/%{name}/Copyright
|
||||
find %{buildroot}%{_prefix}/bin -name a2ps-h.py -exec patch {} %{SOURCE1} \;
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%dir %{_defaultdocdir}/%{name}
|
||||
%{_defaultdocdir}/%{name}/Copyright
|
||||
%attr(555, root, root) %{_prefix}/bin/a2ps-h.py
|
||||
|
Loading…
Reference in New Issue
Block a user