]> git.pld-linux.org Git - packages/Field3D.git/blob - Field3D.spec
Removed not needed patch
[packages/Field3D.git] / Field3D.spec
1 Summary:        Field3D - open source library for storing voxel data
2 Summary(pl.UTF-8):      Field3D - mająca otwarte źródła biblioteka do przechowywania danych vokseli
3 Name:           Field3D
4 Version:        1.3.2
5 Release:        0.1
6 License:        BSD
7 Group:          Libraries
8 #Source0Download: https://sites.google.com/site/field3d/downloads
9 Source0:        http://github.com/imageworks/Field3D/tarball/v%{version}#/%{name}-%{version}.tar.gz
10 # Source0-md5:  98f225658977f339a734debe426694b9
11 URL:            http://opensource.imageworks.com/?p=field3d
12 BuildRequires:  cmake >= 2.8
13 BuildRequires:  boost-devel >= 1.34.0
14 BuildRequires:  doxygen
15 BuildRequires:  hdf5-devel >= 1.8
16 BuildRequires:  ilmbase-devel >= 1.0.1
17 BuildRequires:  libstdc++-devel
18 Requires:       hdf5 >= 1.8
19 Requires:       ilmbase >= 1.0.1
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Field3D is an open source library for storing voxel data. It provides
24 C++ classes that handle in-memory storage and a file format based on
25 HDF5 that allows the C++ objects to be written to and read from disk.
26
27 %description -l pl.UTF-8
28 Field3D to mająca otwarte źródła biblioteka do przechowywania danych
29 vokseli. Udostępnia klasy C++ obsługujące przechowywanie ich w pamięci
30 oraz format plików oparty na HDF5 pozwalający na zapis i odczyt
31 obiektów C++ z dysku.
32
33 %package devel
34 Summary:        Header files for Field3D library
35 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Field3D
36 Group:          Development/Libraries
37 Requires:       %{name} = %{version}-%{release}
38 Requires:       boost-devel >= 1.34.0
39 Requires:       hdf5-devel >= 1.8
40 Requires:       ilmbase-devel >= 1.0.1
41 Requires:       libstdc++-devel
42
43 %description devel
44 Header files for Field3D library.
45
46 %description devel -l pl.UTF-8
47 Pliki nagłówkowe biblioteki Field3D.
48
49 %package apidocs
50 Summary:        Field3D API documentation
51 Summary(pl.UTF-8):      Dokumentacja API biblioteki Field3D
52 Group:          Documentation
53
54 %description apidocs
55 API and internal documentation for Field3D library.
56
57 %description apidocs -l pl.UTF-8
58 Dokumentacja API biblioteki Field3D.
59
60 %prep
61 %setup -q -n imageworks-Field3D-94d1bf3
62
63 %build
64 # main build system is scons, but there is cmake alternative, which is slightly more usable in rpm building
65 install -d build
66 cd build
67 %cmake ..
68
69 %{__make}
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73
74 %{__make} -C build install \
75         DESTDIR=$RPM_BUILD_ROOT
76
77 %{__rm} -r $RPM_BUILD_ROOT%{_prefix}/docs
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %post   -p /sbin/ldconfig
83 %postun -p /sbin/ldconfig
84
85 %files
86 %defattr(644,root,root,755)
87 %doc CHANGES COPYING README
88 %attr(755,root,root) %{_bindir}/f3dinfo
89 %attr(755,root,root) %{_libdir}/libField3D.so
90
91 %files devel
92 %defattr(644,root,root,755)
93 %{_includedir}/Field3D
94
95 %files apidocs
96 %defattr(644,root,root,755)
97 %doc docs/html/*.{css,html,js,png}
This page took 0.056823 seconds and 4 git commands to generate.