Accepting request 727904 from home:jengelh:branches:graphics

- Trim conjecture, bias, and metadata repetitions from description.

OBS-URL: https://build.opensuse.org/request/show/727904
OBS-URL: https://build.opensuse.org/package/show/graphics/djvulibre?expand=0&rev=29
This commit is contained in:
2019-09-03 06:42:11 +00:00
committed by Git OBS Bridge
parent 33ad9176ce
commit 7994d8f57d
2 changed files with 31 additions and 59 deletions

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Sep 3 06:21:13 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Trim conjecture, bias, and metadata repetitions from description.
- Trim descriptions in subpackages for length. (Main package keeps
the bigger one.)
- Use some more macros and limit fdupes to the /usr volume.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Sep 2 12:13:57 UTC 2019 - pgajdos@suse.com Mon Sep 2 12:13:57 UTC 2019 - pgajdos@suse.com

View File

@@ -22,7 +22,7 @@
Name: djvulibre Name: djvulibre
Version: 3.5.27 Version: 3.5.27
Release: 0 Release: 0
Summary: An Open Source Implementation of DjVu Summary: An Implementation of DjVu
License: GPL-2.0-or-later License: GPL-2.0-or-later
Group: Productivity/Graphics/Other Group: Productivity/Graphics/Other
Url: http://djvu.sourceforge.net Url: http://djvu.sourceforge.net
@@ -51,83 +51,47 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
DjVu is a Web-centric format and software platform for distributing DjVu is a Web-centric format and software platform for distributing
documents and images. DjVuLibre is an open source (GPL) implementation documents and images. DjVuLibre is an implementation of DjVu,
of DjVu, including viewers, browser plug-ins, decoders, simple including viewers, browser plug-ins, decoders, encoders, and
encoders, and utilities. DjVu can advantageously replace PDF, PS, TIFF, utilities. DjVu can replace PDF, PS, TIFF, JPEG, and GIF for
JPEG, and GIF for distributing scanned documents, digital documents, or distributing scanned documents, digital documents, or high-resolution
high-resolution pictures. DjVu content downloads faster, displays and pictures. DjVu content is often smaller and consumes less client
renders faster, looks nicer on a screen, and consumes less client resources than competing formats.
resources than competing formats. DjVu images display instantly and can
be smoothly zoomed and panned with no lengthy rerendering. DjVu is used
by hundreds of academic, commercial, governmental, and noncommercial
Web sites around the world.
%package -n %{libname} %package -n %{libname}
Summary: Libraries of Open Source Implementation of DjVu - djvulibre Summary: DjVu rendering library
Group: Productivity/Graphics/Other Group: Productivity/Graphics/Other
%description -n %{libname} %description -n %{libname}
DjVu is a Web-centric format and software platform for distributing DjVuLibre is an implementation of DjVu, a Web-centric format and
documents and images. DjVuLibre is an open source (GPL) implementation software platform for distributing documents and images.
of DjVu, including viewers, browser plug-ins, decoders, simple
encoders, and utilities. DjVu can advantageously replace PDF, PS, TIFF,
JPEG, and GIF for distributing scanned documents, digital documents, or
high-resolution pictures. DjVu content downloads faster, displays and
renders faster, looks nicer on a screen, and consumes less client
resources than competing formats. DjVu images display instantly and can
be smoothly zoomed and panned with no lengthy rerendering. DjVu is used
by hundreds of academic, commercial, governmental, and noncommercial
Web sites around the world.
This package contains shared libraries This package contains the shared libraries.
%package -n libdjvulibre-devel %package -n libdjvulibre-devel
Summary: Libraries of Open Source Implementation of DjVu - djvulibre Summary: Headers for djvulibre libraries
Group: Development/Libraries/Other Group: Development/Libraries/Other
Requires: %{libname} = %{version} Requires: %{libname} = %{version}
%description -n libdjvulibre-devel %description -n libdjvulibre-devel
DjVu is a Web-centric format and software platform for distributing DjVuLibre is an implementation of DjVu, a Web-centric format and
documents and images. DjVuLibre is an open source (GPL) implementation software platform for distributing documents and images.
of DjVu, including viewers, browser plug-ins, decoders, simple
encoders, and utilities. DjVu can advantageously replace PDF, PS, TIFF,
JPEG, and GIF for distributing scanned documents, digital documents, or
high-resolution pictures. DjVu content downloads faster, displays and
renders faster, looks nicer on a screen, and consumes less client
resources than competing formats. DjVu images display instantly and can
be smoothly zoomed and panned with no lengthy rerendering. DjVu is used
by hundreds of academic, commercial, governmental, and noncommercial
Web sites around the world.
This package contains development files This package contains the development files.
%package doc %package doc
Summary: Documentation for the the DjVu - djvulibre Summary: Documentation for djvulibre
Group: Productivity/Graphics/Other Group: Productivity/Graphics/Other
BuildArch: noarch
%description doc %description doc
DjVu is a Web-centric format and software platform for distributing DjVuLibre is an implementation of DjVu, a Web-centric format and
documents and images. DjVuLibre is an open source (GPL) implementation software platform for distributing documents and images.
of DjVu, including viewers, browser plug-ins, decoders, simple
encoders, and utilities. DjVu can advantageously replace PDF, PS, TIFF,
JPEG, and GIF for distributing scanned documents, digital documents, or
high-resolution pictures. DjVu content downloads faster, displays and
renders faster, looks nicer on a screen, and consumes less client
resources than competing formats. DjVu images display instantly and can
be smoothly zoomed and panned with no lengthy rerendering. DjVu is used
by hundreds of academic, commercial, governmental, and noncommercial
Web sites around the world.
This package contains documentation This package contains the documentation.
%prep %prep
%setup -q %autosetup -p1
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%build %build
%configure \ %configure \
@@ -141,12 +105,12 @@ sed -i -e 's/\(^CFLAGS.*\)/\1 -fsanitize=address/' \
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make DESTDIR=%{buildroot} install %{?_smp_mflags} %make_install
# do not ship these # do not ship these
rm %{buildroot}%{_libdir}/libdjvulibre.la rm %{buildroot}%{_libdir}/libdjvulibre.la
%fdupes %{buildroot} %fdupes %{buildroot}/%{_prefix}
%post %post
%mime_database_post %mime_database_post