Accepting request 164055 from home:namtrac:bugfix

- Cleanup spec file
- Add Source URL, see https://en.opensuse.org/SourceUrls
- Add GPG checking

OBS-URL: https://build.opensuse.org/request/show/164055
OBS-URL: https://build.opensuse.org/package/show/Publishing/plotutils?expand=0&rev=15
This commit is contained in:
OBS User mrdocs 2013-04-16 14:49:11 +00:00 committed by Git OBS Bridge
parent 5cf0a67dc5
commit e17d5cae2d
6 changed files with 48 additions and 82 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:22f5a99fb4814567e9d7af3a2f008bf4ea5dfb7b099991269e66ab99b5225729
size 3155064

BIN
plotutils-2.6.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

7
plotutils-2.6.tar.gz.sig Normal file
View File

@ -0,0 +1,7 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQBKvoBInetGwNZ59s8RAncbAJ4vhKgHZs0jTvwGGQpH2wln46gf9QCffpjB
0hojKZ1dGliAkPXOMJflT40=
=Ofa0
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Apr 15 10:09:03 UTC 2013 - idonmez@suse.com
- Cleanup spec file
- Add Source URL, see https://en.opensuse.org/SourceUrls
- Add GPG checking
-------------------------------------------------------------------
Sat Mar 2 08:20:03 UTC 2013 - coolo@suse.com

BIN
plotutils.keyring Normal file

Binary file not shown.

View File

@ -17,6 +17,21 @@
Name: plotutils
Version: 2.6
Release: 0
Summary: GNU Plotting Utilities
License: GPL-2.0+ and GPL-3.0+
Group: Productivity/Graphics/Visualization/Graph
Url: http://www.gnu.org/software/plotutils/plotutils.html
Source: http://ftp.gnu.org/gnu/plotutils/%{name}-%{version}.tar.gz
Source1: http://ftp.gnu.org/gnu/plotutils/plotutils-2.6.tar.gz.sig
Source2: plotutils.keyring
Patch0: plotutils-man.patch
Patch1: plotutils-uninitialized.patch
Patch2: plotutils-dasharray-format.patch
Patch3: plotutils-autoreconf.patch
# libpng15.patch sent 2012-08-30 at rsm@math.arizona.edu
Patch4: plotutils-libpng15.patch
BuildRequires: bison
BuildRequires: flex
BuildRequires: fontpackages-devel
@ -25,20 +40,11 @@ BuildRequires: libpng-devel
BuildRequires: libtool
BuildRequires: xorg-x11-devel
BuildRequires: zlib-devel
Url: http://www.gnu.org/software/plotutils/plotutils.html
PreReq: %install_info_prereq %suseconfig_fonts_prereq
Version: 2.6
Release: 0
Summary: GNU Plotting Utilities
License: GPL-2.0+ and GPL-3.0+
Group: Productivity/Graphics/Visualization/Graph
Source: %{name}-%{version}.tar.bz2
Patch: plotutils-man.patch
Patch1: plotutils-uninitialized.patch
Patch2: plotutils-dasharray-format.patch
Patch3: plotutils-autoreconf.patch
# libpng15.patch sent 2012-08-30 at rsm@math.arizona.edu
Patch4: plotutils-libpng15.patch
%if %suse_version >= 1230
BuildRequires: gpg-offline
%endif
Requires(pre): %install_info_prereq
Requires(pre): %suseconfig_fonts_prereq
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -50,16 +56,6 @@ graphics programs are based. `Libplot' is a function library for
device-independent two-dimensional vector graphics, including vector
graphics animations under the X Window System.
Authors:
--------
Rich Murphey <rich@freebsd.org>
Robert Maier <rsm@math.arizona.edu>
Edward Moy <moy@parc.xerox.com>
Nick Tufillaro <nbt@reed.edu>
James J. Clark <jjc@jclark.com>
%package devel
Summary: GNU Plotting Utilities
Group: Development/Libraries/C and C++
@ -79,16 +75,6 @@ graphics programs are based. `Libplot' is a function library for
device-independent two-dimensional vector graphics, including vector
graphics animations under the X Window System.
Authors:
--------
Rich Murphey <rich@freebsd.org>
Robert Maier <rsm@math.arizona.edu>
Edward Moy <moy@parc.xerox.com>
Nick Tufillaro <nbt@reed.edu>
James J. Clark <jjc@jclark.com>
%package -n libplot2
Summary: GNU Plotting Utilities
Group: System/Libraries
@ -102,16 +88,6 @@ graphics programs are based. `Libplot' is a function library for
device-independent two-dimensional vector graphics, including vector
graphics animations under the X Window System.
Authors:
--------
Rich Murphey <rich@freebsd.org>
Robert Maier <rsm@math.arizona.edu>
Edward Moy <moy@parc.xerox.com>
Nick Tufillaro <nbt@reed.edu>
James J. Clark <jjc@jclark.com>
%package -n libplotter2
Summary: GNU Plotting Utilities
Group: System/Libraries
@ -125,16 +101,6 @@ graphics programs are based. `Libplot' is a function library for
device-independent two-dimensional vector graphics, including vector
graphics animations under the X Window System.
Authors:
--------
Rich Murphey <rich@freebsd.org>
Robert Maier <rsm@math.arizona.edu>
Edward Moy <moy@parc.xerox.com>
Nick Tufillaro <nbt@reed.edu>
James J. Clark <jjc@jclark.com>
%package -n libxmi0
Summary: GNU Plotting Utilities
Group: System/Libraries
@ -148,21 +114,10 @@ graphics programs are based. `Libplot' is a function library for
device-independent two-dimensional vector graphics, including vector
graphics animations under the X Window System.
Authors:
--------
Robert Maier <rsm@math.arizona.edu>
Brian Kelleher
Joel McCormack
Todd Newman
Keith Packard
Bob Scheifler
Ken Whaley
%prep
%{?gpg_verify: %gpg_verify %{S:1}}
%setup -q
%patch
%patch0
%patch1
%patch2
%patch3
@ -189,17 +144,17 @@ make
#
install -m 0644\
AUTHORS COMPAT COPYING INSTALL.fonts KNOWN_BUGS PROBLEMS README THANKS\
TODO $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
TODO %{buildroot}%{_defaultdocdir}/%{name}
#
install -d $RPM_BUILD_ROOT%{_miscfontsdir}
install -m 0644 fonts/pcf/*.pcf $RPM_BUILD_ROOT%{_miscfontsdir}
gzip -9 ${RPM_BUILD_ROOT}%{_miscfontsdir}/*.pcf
install -d %{buildroot}%{_miscfontsdir}
install -m 0644 fonts/pcf/*.pcf %{buildroot}%{_miscfontsdir}
gzip -9 %{buildroot}%{_miscfontsdir}/*.pcf
#
install -m 0644 manpage.1 $RPM_BUILD_ROOT%{_mandir}/man1/plotutils.1
ln -s plotutils.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/double.1.gz
ln -s plotutils.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/graph.1.gz
ln -s plotutils.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/pic2plot.1.gz
%{__rm} -f %{buildroot}%{_libdir}/*.la
install -m 0644 manpage.1 %{buildroot}%{_mandir}/man1/plotutils.1
ln -s plotutils.1.gz %{buildroot}%{_mandir}/man1/double.1.gz
ln -s plotutils.1.gz %{buildroot}%{_mandir}/man1/graph.1.gz
ln -s plotutils.1.gz %{buildroot}%{_mandir}/man1/pic2plot.1.gz
rm -f %{buildroot}%{_libdir}/*.la
%post
%install_info --info-dir=%{_infodir} %{_infodir}/plotutils.info.gz
@ -230,9 +185,6 @@ ln -s plotutils.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/pic2plot.1.gz
%postun -n libxmi0 -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc %{_docdir}/%{name}