Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Education
osp_datatool
osp_datatool.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File osp_datatool.spec of Package osp_datatool
# # spec file for package osp_datatool # # Copyright (c) 2015 SUSE LINUX 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/ # Name: osp_datatool Version: 1.5 Release: 0 Summary: DataTool data analysis program License: GPL Group: Amusements/Teaching/Other Url: http://www.opensourcephysics.org Source: %{name}-%{version}.tar.bz2 Source1: %{name}.desktop Source2: %{name}.xpm Source3: %{name}.xml Source4: text-x-%{name}.png BuildRequires: desktop-file-utils BuildRequires: shared-mime-info BuildRequires: unzip Requires: java Requires: shared-mime-info Obsoletes: datatool Provides: datatool BuildArch: noarch Prefix: %{_prefix}/share %if 0%{?suse_version} BuildRequires: fdupes BuildRequires: update-desktop-files %endif %if %{defined centos_version} || %{defined sles_version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif %description DataTool is a java data analysis program targeted at educational use. %prep %setup -q -n datatool %build # nichts zu tun %install mkdir -p %{buildroot}%{prefix}/%{name} cp -aR * %{buildroot}%{prefix}/%{name} install -D %{SOURCE1} %{buildroot}%{_datadir}/applications/%{name}.desktop install -D %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/%{name}.xpm install -D %{SOURCE3} %{buildroot}%{_datadir}/mime/packages/%{name}.xml install -D %{SOURCE4} %{buildroot}%{_datadir}/icons/oxygen/256x256/mimetypes/text-x-%{name}.png install -D %{SOURCE4} %{buildroot}%{_datadir}/icons/hicolor/256x256/mimetypes/text-x-%{name}.png %if 0%{?suse_version} %fdupes %{buildroot}%{_datadir}/%{name} %suse_update_desktop_file %{name} %endif %post touch %{_datadir}/icons update-mime-database %{_datadir}/mime %postun touch %{_datadir}/icons update-mime-database %{_datadir}/mime %files %defattr(644,root,root,0755) %{_datadir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.xpm %{_datadir}/mime/packages/%{name}.xml %{_datadir}/icons/hicolor %{_datadir}/icons/oxygen %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor