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