File g3data.spec of Package g3data

# norootforbuild

Summary:        Data Extractor from Graphical Plots
Name:           g3data
Version:        1.5.4
Release:        0
License:        GPL
Group:          Productivity/Scientific/Math
URL:            https://github.com/pn2200/g3data
#oldurl:	http://www.frantz.fi/software/g3data.php
Source0:        %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root

Autoreqprov:    On
BuildRequires:  gtk2-devel
BuildRequires:  update-desktop-files shared-mime-info

%description
g3data is used for extracting data from graphs. In publications graphs
often are included, but the actual data is missing. g3data makes the
extracting process much easier.

%prep
%setup -q

%build
%configure
%{__make}

%install
%makeinstall
## remove brocken desktop integration
rm -rf $RPM_BUILD_ROOT/%{_datadir}/applications
rm -rf $RPM_BUILD_ROOT/%{_datadir}/pixmaps


%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%{_bindir}/g3data
%{_mandir}/man1/g3data.1.gz

%changelog

openSUSE Build Service is sponsored by