diff --git a/djvulibre.changes b/djvulibre.changes index e9d61c3..15da1c9 100644 --- a/djvulibre.changes +++ b/djvulibre.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de + +- Remove redundant tags/sections from specfile + (cf. packaging guidelines) +- Use %_smp_mflags for parallel build + ------------------------------------------------------------------- Thu Jun 9 10:22:43 UTC 2011 - pgajdos@novell.com diff --git a/djvulibre.spec b/djvulibre.spec index 5d6d79b..e81c70c 100644 --- a/djvulibre.spec +++ b/djvulibre.spec @@ -15,14 +15,12 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: djvulibre BuildRequires: fdupes libdrm-devel libjpeg-devel libtiff-devel qt3-devel qt3-devel-tools update-desktop-files xorg-x11-devel License: GPLv2+ Group: Productivity/Graphics/Other -AutoReqProv: on Version: 3.5.24 Release: 5 Url: http://djvu.sourceforge.net @@ -47,14 +45,6 @@ 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. - - -Authors: --------- - Dr Bill C Riemers - Leon Bottou - Yann LeCun - %package djview3 License: GPLv2+ Summary: DjView3 is a portable DjVu Qt3 based viewer and browser plugin @@ -66,14 +56,6 @@ Conflicts: djvulibre-djview4 DjView3 is a viewer and browser plugin for DjVu documents, based on the DjVuLibre-3.5 library and the Qt3 toolkit. - - -Authors: --------- - Dr Bill C Riemers - Leon Bottou - Yann LeCun - %package -n libdjvulibre21 License: GPLv2+ Summary: Libraries of Open Source Implementation of DjVu - djvulibre @@ -82,14 +64,6 @@ Group: Productivity/Graphics/Other %description -n libdjvulibre21 Libraries of Open Source Implementation of DjVu - djvulibre. - - -Authors: --------- - Dr Bill C Riemers - Leon Bottou - Yann LeCun - %package -n libdjvulibre-devel License: GPLv2+ Summary: Libraries of Open Source Implementation of DjVu - djvulibre @@ -99,31 +73,14 @@ Requires: libdjvulibre21 = %{version}, libjpeg-devel %description -n libdjvulibre-devel Libraries of Open Source Implementation of DjVu - djvulibre. - - -Authors: --------- - Dr Bill C Riemers - Leon Bottou - Yann LeCun - %package doc License: GPLv2+ Summary: Documentation for the the DjVu - djvulibre Group: Productivity/Graphics/Other -AutoReqProv: on %description doc This package contains the documentation for the DjVu - djvulibre - - -Authors: --------- - Dr Bill C Riemers - Leon Bottou - Yann LeCun - %prep %setup %patch1 @@ -146,8 +103,7 @@ QT_LIBS="-L/usr/%_lib/qt3/%{_lib} -lqt-mt" \ --x-libraries=/usr/%{_lib}/ \ --with-qt=/usr/%_lib/qt3 \ --enable-djview -make OPTS="$RPM_OPT_FLAGS -Wall -fmessage-length=0 -DNO_DEBUG" -#%%{?jobs:-j%%jobs} +make OPTS="$RPM_OPT_FLAGS -Wall -fmessage-length=0 -DNO_DEBUG" %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT @@ -169,17 +125,9 @@ install -m 644 desktopfiles/hi32-djview3.png $RPM_BUILD_ROOT/usr/share/pixmaps/d %suse_update_desktop_file -r -i djvulibre-djview3 Graphics Viewer %fdupes $RPM_BUILD_ROOT -%clean -rm -rf $RPM_BUILD_ROOT +%post -n libdjvulibre21 -p /sbin/ldconfig -%post -n libdjvulibre21 -# LIBS: Run ldconfig -/sbin/ldconfig - -%postun -n libdjvulibre21 -# LIBS: Run ldconfig -/sbin/ldconfig -exit 0 +%postun -n libdjvulibre21 -p /sbin/ldconfig %files %defattr(-,root,root)