Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:maxiotis
tv
_service:set_version:tv.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:set_version:tv.spec of Package tv
# # spec file for package tv # # 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/ # # See also http://en.opensuse.org/openSUSE:Specfile_guidelines Name: tv Version: 1.9.13 Release: 0 Summary: This is tv analisis program License: GPL-3.0 Group: Productivity/Scientific/Physics Url: http://www.ikp.uni-koeln.de Source0: %name-%version.tar.gz BuildRequires: libmfile-devel BuildRequires: libXpm-devel BuildRequires: libXaw-devel %if 0%{?suse_version} BuildRequires: libXaw3d-devel %else BuildRequires: Xaw3d-devel %endif %define _prefix /usr/local %define _docdir %{_prefix}/share/doc %if 0%{?suse_version} %define appdefdir /usr/share/X11/app-defaults %endif %if 0%{?centos_version} %define appdefdir /usr/share/X11/app-defaults %endif %if 0%{?fedora_version} %define appdefdir /usr/share/X11/app-defaults %endif %description tv is a analization program for spectra used in nuclear physics %prep %setup -q %build # tv does not like the -D_FORTIFY_SOURCE=2 option, remove it and add fno-strict-aliasing. #export CFLAGS="$(echo %{optflags} | sed "s,-D_FORTIFY_SOURCE=2,,g") -fno-strict-aliasing" #export CFLAGS="$(echo %{optflags}) -fno-strict-aliasing" mkdir -p %{buildroot}/%{appdefdir} ./configure --help ./configure --with-appdefaultdir=%{buildroot}/%{appdefdir} make %{?_smp_mflags} %install mkdir -p %{buildroot}/%{appdefdir} make install DESTDIR=%{buildroot} mkdir -p %{buildroot}/%{_docdir}/%{name} mkdir -p %{buildroot}/%{_docdir}/%{name}/doc cp README %{buildroot}/%{_docdir}/%{name}/ cp TODO %{buildroot}/%{_docdir}/%{name}/ cp doc/TV_* %{buildroot}/%{_docdir}/%{name}/doc/ cp doc/*.txt %{buildroot}/%{_docdir}/%{name}/doc/ %files %dir %{appdefdir} %dir %{_prefix}/share/%{name} %dir %{_docdir} %dir %{_docdir}/%{name} %{_prefix}/bin/tv %{_prefix}/share/%{name}/* %{_prefix}/share/%{name}/.tv* %{_docdir}/%{name}/* %{appdefdir}/Xtv %changelog * Mon Sep 21 2015 Axiotis Michail -
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