]> git.pld-linux.org Git - packages/Field3D.git/blame - Field3D.spec
Removed not needed patch
[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
JR
4Version: 1.3.2
5Release: 0.1
db37bf04
JB
6License: BSD
7Group: Libraries
8#Source0Download: https://sites.google.com/site/field3d/downloads
9Source0: http://github.com/imageworks/Field3D/tarball/v%{version}#/%{name}-%{version}.tar.gz
4bdb8101 10# Source0-md5: 98f225658977f339a734debe426694b9
db37bf04
JB
11URL: http://opensource.imageworks.com/?p=field3d
12BuildRequires: cmake >= 2.8
13BuildRequires: boost-devel >= 1.34.0
14BuildRequires: doxygen
15BuildRequires: hdf5-devel >= 1.8
16BuildRequires: ilmbase-devel >= 1.0.1
17BuildRequires: libstdc++-devel
18Requires: hdf5 >= 1.8
19Requires: ilmbase >= 1.0.1
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23Field3D is an open source library for storing voxel data. It provides
24C++ classes that handle in-memory storage and a file format based on
25HDF5 that allows the C++ objects to be written to and read from disk.
26
27%description -l pl.UTF-8
28Field3D to mająca otwarte źródła biblioteka do przechowywania danych
29vokseli. Udostępnia klasy C++ obsługujące przechowywanie ich w pamięci
30oraz format plików oparty na HDF5 pozwalający na zapis i odczyt
31obiektów C++ z dysku.
32
33%package devel
34Summary: Header files for Field3D library
35Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Field3D
36Group: Development/Libraries
37Requires: %{name} = %{version}-%{release}
38Requires: boost-devel >= 1.34.0
39Requires: hdf5-devel >= 1.8
40Requires: ilmbase-devel >= 1.0.1
41Requires: libstdc++-devel
42
43%description devel
44Header files for Field3D library.
45
46%description devel -l pl.UTF-8
47Pliki nagłówkowe biblioteki Field3D.
48
49%package apidocs
50Summary: Field3D API documentation
51Summary(pl.UTF-8): Dokumentacja API biblioteki Field3D
52Group: Documentation
53
54%description apidocs
55API and internal documentation for Field3D library.
56
57%description apidocs -l pl.UTF-8
58Dokumentacja API biblioteki Field3D.
59
60%prep
4bdb8101 61%setup -q -n imageworks-Field3D-94d1bf3
db37bf04
JB
62
63%build
64# main build system is scons, but there is cmake alternative, which is slightly more usable in rpm building
65install -d build
66cd build
67%cmake ..
68
69%{__make}
70
71%install
72rm -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
80rm -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.03873 seconds and 4 git commands to generate.