Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Sauerland
libtpcimgio0
libtpcimgio0.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libtpcimgio0.spec of Package libtpcimgio0
# # spec file for package libtpcimgio0 # # Copyright (c) 2024 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/ # Name: libtpcimgio0 Version: 1.5.13 Release: 16.10 Summary: Turku PET Centre for image file input and output procedures Group: Productivity/Graphics/Convertors License: LGPL-2.0-or-later Url: http://www.turkupetcentre.net/software/libdoc/libtpcimgio/index.html PreReq: /sbin/ldconfig BuildRequires: unzip BuildRequires: dos2unix BuildRequires: doxygen BuildRequires: graphviz-devel BuildRequires: libtpcmisc-devel BuildRequires: fdupes Source: http://www.turkupetcentre.net/software/libsrc/libtpcimgio_1_5_13_src.zip Patch1: libtpcimgio-add-header.patch Patch2: libtpcimgio-shared.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build AutoReqProv: on %description The libtpcimgio library is a collection of commonly used C files in Turku PET Centre for image file input and output procedures. Libtpcimgio library supports Analyze 7.5, Ecat 6.x, Ecat 7.x and partly interfile formats. %package -n libtpcimgio-devel Summary: Development files for %{name} Group: Development/Libraries/C and C++ Requires: %{name} = %{version}-%{release} %description -n libtpcimgio-devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %package -n libtpcimgio-docs Summary: Documentation and examples for help using volpack Group: Documentation/Man Requires: %{name} = %{version}-%{release} BuildArch: noarch %description -n libtpcimgio-docs The tpcimgio0-docs package contains docs helpful for developing programs using the %{name} volume rendering library. %prep %setup -q -n libtpcimgio dos2unix -k History Readme TODO tmp=$(mktemp History.XXXXXX) iconv -f latin1 -t utf8 -o $tmp History touch -r History $tmp mv -f $tmp History %patch -P 1 -p1 %patch -P 2 -p1 %build make %{?_smp_mflags} mkdir doc ( cat Doxyfile ; echo "OUTPUT_DIRECTORY=./doc" ) | doxygen - %install install -d %{buildroot}%{_libdir} install -d %{buildroot}%{_includedir}/%{name} install -d %{buildroot}%{_bindir} install -p -m 0755 libtpcimgio -t %{buildroot}%{_bindir}/ install -p -m 0755 libtpcimgio.so.0.0.0 -t %{buildroot}%{_libdir}/ install -p -m 0644 include/*.h %{buildroot}%{_includedir}/%{name}/ pushd %{buildroot}%{_libdir}/ ln -s libtpcimgio.so.0.0.0 libtpcimgio.so.0 ln -s libtpcimgio.so.0 libtpcimgio.so popd %fdupes %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,0755) %doc History Readme TODO %{_bindir}/libtpcimgio %{_libdir}/libtpcimgio.so.* %files -n libtpcimgio-devel %defattr(-,root,root,0755) %doc doc/libtpcimgio/* %{_libdir}/libtpcimgio.so %{_includedir}/* %files -n libtpcimgio-docs %defattr(-,root,root,0755) %doc doc/libtpcimgio/* %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