Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:aevseev
leptonica
leptonica.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File leptonica.spec of Package leptonica
%define realname leptonica %define realver 1.76.0 %define srcext tar.gz %define so_ver 5 # Common info Name: liblept%{?so_ver} Version: %{realver} Release: wiz%{?extraver:0.}1%{?dist} License: BSD-2-Clause Group: System/Libraries URL: http://www.leptonica.com/ Summary: Library for efficient image processing and image analysis operations # Install-time parameters Provides: %{realname} lib%{realname} # Build-time parameters BuildRequires: pkg-config BuildRequires: zlib-devel BuildRequires: libpng-devel libjpeg-devel giflib-devel libtiff-devel BuildRoot: %{_tmppath}/%{name}-root Source: http://www.leptonica.com/source/%{realname}-%{realver}%{?extraver}.%{srcext} %description Leptonica is an open source C library for efficient image processing and image analysis operations %package -n leptonica-devel Group: Development/Languages/C and C++ Summary: Development files for %{name} Requires: %{name} = %{version} Provides: lib%{realname}-devel = %{version} Provides: liblept-devel = %{version} Requires: zlib-devel Requires: libpng-devel libjpeg-devel giflib-devel libtiff-devel %description -n leptonica-devel Development files for %{name} %package -n leptonica-tools Group: Productivity/Graphics/Other Summary: Leptonica tools %description -n leptonica-tools Programs for manipulating images. # Preparation step (unpackung and patching if necessary) %prep %setup -q -n %{realname}-%{realver}%{?extraver} %build %configure \ --disable-static \ CFLAGS="%{optflags} %{?gcc_lto}" \ LDFLAGS="-Wl,--as-needed -Wl,--strip-all %{?gcc_lto}" %{__make} %{?_smp_mflags} %install %{__make} install DESTDIR=%{buildroot} %clean [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %files %defattr(-,root,root) %doc README.html leptonica-license.txt version-notes.html moller52.jpg %{_libdir}/*.so.%{?so_ver}* # Development stuff %files -n leptonica-devel %defattr(-,root,root) %dir %{_includedir}/leptonica/ %{_includedir}/leptonica/*.h %{_libdir}/pkgconfig/lept.pc %{_libdir}/*.so %exclude %{_libdir}/*.la # Tools %files -n leptonica-tools %defattr(-,root,root) %{_bindir}/* %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor