From 7427900f0062310937eeaea02cbfb63ea3c2cb3b91cd304d2c2405d82f4f2a23 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 23 Oct 2008 02:44:22 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/plotutils?expand=0&rev=3 --- plotutils.spec | 79 ++++++++++++++++++++++++++++---------------------- 1 file changed, 45 insertions(+), 34 deletions(-) diff --git a/plotutils.spec b/plotutils.spec index cf25555..e3e9b88 100644 --- a/plotutils.spec +++ b/plotutils.spec @@ -1,15 +1,23 @@ # # spec file for package plotutils (Version 2.5) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. +# Copyright (c) 2008 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild + Name: plotutils BuildRequires: gcc-c++ libpng libpng-devel zlib zlib-devel %if %suse_version > 910 @@ -26,14 +34,14 @@ BuildRequires: XFree86 XFree86-devel %define xlibraries /usr/X11R6/%{_lib} %define xincludes /usr/X11R6/include %endif -License: GPL +License: GPL v2 or later Group: Productivity/Graphics/Visualization/Graph -Autoreqprov: on +AutoReqProv: on PreReq: %install_info_prereq %suseconfig_fonts_prereq Obsoletes: plotutil Provides: plotutil Version: 2.5 -Release: 2 +Release: 197 Summary: The GNU Plotting Utilities Source0: plotutils-2.5.tar.bz2 Patch: plotutils-2.5.dif @@ -125,17 +133,20 @@ Authors: # %post -%run_ldconfig +/sbin/ldconfig %install_info --info-dir=%{_infodir} %{_infodir}/plotutils.info.gz %install_info --info-dir=%{_infodir} %{_infodir}/libxmi.info.gz %run_suseconfig_fonts %postun -%run_ldconfig +/sbin/ldconfig %install_info_delete --info-dir=%{_infodir} %{_infodir}/plotutils.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/libxmi.info.gz %run_suseconfig_fonts +%clean +rm -rf $RPM_BUILD_ROOT + %files %defattr(-,root,root) /usr/bin/double @@ -183,10 +194,10 @@ Authors: %{fontdir}/tekfont2.pcf.gz %{fontdir}/tekfont3.pcf.gz -%changelog -n plotutils -* Thu Aug 10 2006 - mfabian@suse.de +%changelog +* Thu Aug 10 2006 mfabian@suse.de - move fonts to /usr/share/fonts/misc (because of X11R7). -* Mon May 22 2006 - werner@suse.de +* Mon May 22 2006 werner@suse.de - Update to plotutils 2.5 libplot: * support for rotated and sheared (i.e., "anamorphically @@ -210,54 +221,54 @@ Authors: graph,plot,tek2plot,plotfont,pic2plot: * `--display-type' long option, the name of which confused some users, has been changed to `--output-format'. -* Wed Jan 25 2006 - mls@suse.de +* Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires -* Fri Dec 03 2004 - mfabian@suse.de +* Fri Dec 03 2004 mfabian@suse.de - use new macro "%%run_suseconfig_fonts". -* Wed Dec 01 2004 - werner@suse.de +* Wed Dec 01 2004 werner@suse.de - Do not be fooled by missing SuSEconfig module on non X11 systems -* Fri Mar 19 2004 - mfabian@suse.de +* Fri Mar 19 2004 mfabian@suse.de - use %%suseconfig_fonts_prereq - run SuSEconfig.fonts and SuSEconfig.pango in %%post and %%postun -* Sun Jan 11 2004 - adrian@suse.de +* Sun Jan 11 2004 adrian@suse.de - build as user -* Sat Jan 10 2004 - adrian@suse.de +* Sat Jan 10 2004 adrian@suse.de - add %%run_ldconfig -* Thu Apr 24 2003 - ro@suse.de +* Thu Apr 24 2003 ro@suse.de - fix install_info --delete call and move from preun to postun -* Fri Feb 28 2003 - werner@suse.de +* Fri Feb 28 2003 werner@suse.de - Fix bug #23452: use intall-info for info file -* Fri Nov 22 2002 - olh@suse.de +* Sat Nov 23 2002 olh@suse.de - obsoletes/provides plotutil (#21848) -* Tue Sep 17 2002 - ro@suse.de +* Tue Sep 17 2002 ro@suse.de - removed bogus self-provides -* Tue Jun 18 2002 - meissner@suse.de +* Tue Jun 18 2002 meissner@suse.de - rerun auto* tools. -* Fri May 03 2002 - werner@suse.de +* Fri May 03 2002 werner@suse.de - Set correct X11 library path - Automagic update of config.guess and config.sub -* Mon Dec 17 2001 - werner@suse.de +* Mon Dec 17 2001 werner@suse.de - Update to 2.4.1 - Use BuildRoot - Rename package from plotutil to plotutils -* Tue Jun 26 2001 - schwab@suse.de +* Wed Jun 27 2001 schwab@suse.de - Fix for gcc 3.0. -* Tue May 08 2001 - mfabian@suse.de +* Tue May 08 2001 mfabian@suse.de - bzip2 sources -* Wed May 31 2000 - werner@suse.de +* Wed May 31 2000 werner@suse.de - Use %%{_defaultdocdir} -* Wed Mar 08 2000 - bs@suse.de +* Wed Mar 08 2000 bs@suse.de - no ldconfig in %%post please. -* Fri Feb 11 2000 - werner@suse.de +* Sat Feb 12 2000 werner@suse.de - Fix call of ldconfig, only if called in real root file system -* Thu Jan 20 2000 - ro@suse.de +* Fri Jan 21 2000 ro@suse.de - update to 2.3 to make it build - info,man: use macros to move to /usr/share -* Mon Sep 13 1999 - bs@suse.de +* Mon Sep 13 1999 bs@suse.de - ran old prepare_spec on spec file to switch to new prepare_spec. -* Mon Apr 05 1999 - bs@suse.de +* Mon Apr 05 1999 bs@suse.de - fixed date strings in .changes. -* Fri Mar 26 1999 - werner@suse.de +* Fri Mar 26 1999 werner@suse.de - Update to version 2.2 -* Wed Mar 03 1999 - werner@suse.de +* Wed Mar 03 1999 werner@suse.de - New package, version 2.1.6