1 # NOTE: previous names of this projects were: tide, celduin, jonen
4 %bcond_without apidocs # do not build and package API docs
8 Summary: Tawara file format implementation
9 Summary(pl.UTF-8): Implementacja formatu plików Tawara
12 Release: 0.%{snap}.%{rel}
15 Source0: http://github.com/gbiggs/tawara/archive/master/%{name}-%{snap}.tar.gz
16 # Source0-md5: 682d240fad7fd3e74026fa7c2a660b1f
17 Patch0: %{name}-lib.patch
18 Patch1: missing-header.patch
19 URL: http://gbiggs.github.io/tawara/
20 # filesystem, system, date_time
21 BuildRequires: boost-devel
22 BuildRequires: cmake >= 2.8
24 BuildRequires: doxygen
25 BuildRequires: python-breathe
26 BuildRequires: sphinx-pdg
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 An interface, with implementations, for a channel-based system for
32 storing data that is indexed by time. Multiple channels of data can be
33 stored. Extensive meta-data is available, including channel names,
34 stored data type information, and key-value tags (capable of storing
35 anything that can be converted to binary data).
37 %description -l pl.UTF-8
38 Interfejs wraz z implementacjami opartego na kanałach systemu
39 przechowywania danych indeksowanych po czasie. Pozwala na
40 przechowywanie wielu kanałów. Dostępne są rozszerzalne metadane, w tym
41 nazwy kanałów, informacje o przechowywanym typie danych oraz znaczniki
42 klucz-wartość (pozwalające przechowywać wszystko, co można
43 przekształcić do danych binarnych).
46 Summary: Header files for Tawara library
47 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Tawara
48 Group: Development/Libraries
49 Requires: %{name} = %{version}-%{release}
52 Header files for Tawara library.
54 %description devel -l pl.UTF-8
55 Pliki nagłówkowe biblioteki Tawara.
58 Summary: Tawara API documentation
59 Summary(pl.UTF-8): Dokumentacja API biblioteki Tawara
64 API documentation for Tawara library.
66 %description apidocs -l pl.UTF-8
67 Dokumentacja API biblioteki Tawara.
70 %setup -q -n %{name}-master
76 %{!?with_apidocs:-DBUILD_DOCUMENTATION=OFF} \
82 rm -rf $RPM_BUILD_ROOT
85 DESTDIR=$RPM_BUILD_ROOT
88 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/tawara-0
91 rm -rf $RPM_BUILD_ROOT
93 %post -p /sbin/ldconfig
94 %postun -p /sbin/ldconfig
97 %defattr(644,root,root,755)
98 %doc LICENSE.txt README.txt
99 %attr(755,root,root) %{_bindir}/tawara_info
100 %attr(755,root,root) %{_libdir}/libtawara.so
103 %defattr(644,root,root,755)
104 %{_includedir}/tawara-0
105 %{_pkgconfigdir}/tawara.pc
111 %defattr(644,root,root,755)
112 %doc doc/html/{_static,doxygen,*.html,*.js}