forked from pool/ocrad
Accepting request 30204 from graphics
Copy from graphics/ocrad based on submit request 30204 from user coolo OBS-URL: https://build.opensuse.org/request/show/30204 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocrad?expand=0&rev=8
This commit is contained in:
committed by
Git OBS Bridge
parent
626ce31e8c
commit
d5aa4decb1
22
ocrad.spec
22
ocrad.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ocrad (Version 0.17)
|
||||
# spec file for package ocrad (Version 0.18)
|
||||
#
|
||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# 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
|
||||
@@ -22,16 +22,17 @@ Name: ocrad
|
||||
BuildRequires: gcc-c++
|
||||
Url: https://savannah.gnu.org/projects/ocrad/
|
||||
Summary: GNU Ocrad--Optical Character Recognition Program
|
||||
Version: 0.17
|
||||
Release: 68
|
||||
Version: 0.18
|
||||
Release: 1
|
||||
Group: Productivity/Graphics/Other
|
||||
#Requires:
|
||||
#Provides:
|
||||
License: GPL v2 or later
|
||||
License: GPLv2+
|
||||
# URL:
|
||||
Source0: ocrad-%{version}.tar.bz2
|
||||
Patch: ocrad-%{version}-gcc43.patch
|
||||
# Patch: ocrad-%{version}-gcc43.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
PreReq: %install_info_prereq
|
||||
|
||||
%description
|
||||
GNU Ocrad is an OCR (Optical Character Recognition) program implemented
|
||||
@@ -56,7 +57,7 @@ Authors:
|
||||
|
||||
%prep
|
||||
%setup -n ocrad-%{version}
|
||||
%patch -p1
|
||||
# %patch -p1
|
||||
|
||||
%build
|
||||
./configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man
|
||||
@@ -70,6 +71,12 @@ fi
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
make install-man DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
%post
|
||||
%install_info --info-dir=%_infodir %_infodir/%name.info.gz
|
||||
|
||||
%postun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||
|
||||
%clean
|
||||
rm -fr $RPM_BUILD_ROOT
|
||||
|
||||
@@ -79,7 +86,6 @@ rm -fr $RPM_BUILD_ROOT
|
||||
/usr/share/info/ocrad*
|
||||
%doc %{_mandir}/man1/*
|
||||
%doc AUTHORS COPYING ChangeLog INSTALL README NEWS TODO
|
||||
%doc examples
|
||||
# spec file ends here
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user