Mageia Bugzilla – Attachment 14502 Details for
Bug 33110
consider updating ocrad
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
ocrad spec patch
ocrad.spec.patch (text/plain), 1.29 KB, created by
Aurelian R
on 2024-04-18 16:20:54 CEST
(
hide
)
Description:
ocrad spec patch
Filename:
MIME Type:
Creator:
Aurelian R
Created:
2024-04-18 16:20:54 CEST
Size:
1.29 KB
patch
obsolete
>--- ocrad/ocrad.spec 2024-04-18 10:24:45.259014922 +0300 >+++ SPECS/ocrad.spec 2024-04-18 16:24:04.759290952 +0300 >@@ -1,12 +1,15 @@ > Name: ocrad >-Version: 0.21 >-Release: %mkrel 4 >+Version: 0.29 >+Release: %mkrel 0.1 > Summary: Optical Character Recognition > License: GPLv3+ > Group: Publishing >-Source: https://ftp.gnu.org/gnu/ocrad/%{name}-%{version}.tar.gz >+Source: https://ftp.gnu.org/gnu/ocrad/%{name}-%{version}.tar.lz > URL: https://www.gnu.org/software/ocrad/ocrad.html > >+BuildRequires: lzip >+BuildRequires: pkgconfig(libpng) >+ > %description > Ocrad is an OCR (Optical Character Recognition) program implemented > as a filter and based on a feature extraction method. It reads a >@@ -27,15 +30,21 @@ This package contains header files neede > %setup -q > > %build >-%configure --prefix=%_prefix --libdir=%_libdir CFLAGS="%optflags" CXXFLAGS="%optflags" CPPFLAGS="%optflags" LDFLAGS="%{?ldflags}" >+%configure --prefix=%{_prefix} --libdir=%{_libdir} \ >+ CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" \ >+ CPPFLAGS="%{optflags}" LDFLAGS="%{?ldflags}" > %make_build > > %install > export PATH=$PATH:/sbin > %make_install > >+%check >+%__make check >+ > %files >-%doc README COPYING TODO ChangeLog >+%license COPYING >+%doc README NEWS ChangeLog > %_bindir/%{name} > %_infodir/%{name}.info.* > %_mandir/man1/%{name}.1.*
--- ocrad/ocrad.spec 2024-04-18 10:24:45.259014922 +0300 +++ SPECS/ocrad.spec 2024-04-18 16:24:04.759290952 +0300 @@ -1,12 +1,15 @@ Name: ocrad -Version: 0.21 -Release: %mkrel 4 +Version: 0.29 +Release: %mkrel 0.1 Summary: Optical Character Recognition License: GPLv3+ Group: Publishing -Source: https://ftp.gnu.org/gnu/ocrad/%{name}-%{version}.tar.gz +Source: https://ftp.gnu.org/gnu/ocrad/%{name}-%{version}.tar.lz URL: https://www.gnu.org/software/ocrad/ocrad.html +BuildRequires: lzip +BuildRequires: pkgconfig(libpng) + %description Ocrad is an OCR (Optical Character Recognition) program implemented as a filter and based on a feature extraction method. It reads a @@ -27,15 +30,21 @@ This package contains header files neede %setup -q %build -%configure --prefix=%_prefix --libdir=%_libdir CFLAGS="%optflags" CXXFLAGS="%optflags" CPPFLAGS="%optflags" LDFLAGS="%{?ldflags}" +%configure --prefix=%{_prefix} --libdir=%{_libdir} \ + CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" \ + CPPFLAGS="%{optflags}" LDFLAGS="%{?ldflags}" %make_build %install export PATH=$PATH:/sbin %make_install +%check +%__make check + %files -%doc README COPYING TODO ChangeLog +%license COPYING +%doc README NEWS ChangeLog %_bindir/%{name} %_infodir/%{name}.info.* %_mandir/man1/%{name}.1.*
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 33110
: 14502