3 %bcond_without static_libs # don't build static libraries
5 Summary: Library for Gtk+ which provides a widget for viewing and manipulating 2 dimensional tabular data
6 Summary(pl.UTF-8): Biblioteka Gtk+ zapewniająca widget do przeglądania i manipulowania dwuwymiarowymi danymi tabelarycznymi
7 Name: spread-sheet-widget
12 Source0: http://alpha.gnu.org/gnu/ssw/%{name}-%{version}.tar.gz
13 # Source0-md5: 9bd94714a18229eb9e9a2b79dda30e1f
14 Patch0: %{name}-am.patch
15 URL: https://www.gnu.org/software/ssw/
16 BuildRequires: autoconf
17 BuildRequires: automake
18 BuildRequires: glib2-devel >= 1:2.44
19 BuildRequires: gtk+3-devel >= 3.18.0
20 BuildRequires: intltool
21 BuildRequires: libtool
22 BuildRequires: texinfo
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 GNU Spread Sheet Widget is a library for Gtk+ which provides a widget
27 for viewing and manipulating 2 dimensional tabular data in a manner
28 similar to many popular spread sheet programs.
30 The design follows the model-view-controller paradigm and is of
31 complexity O(1) in both time and space. This means that it is
32 efficient and fast even for very large data.
34 Features commonly found in graphical user interfaces such as cut and
35 paste, drag and drop and row/column labelling are also included.
37 %description -l pl.UTF-8
38 GNU Spread Sheet Widget to biblioteka Gtk+, która udostępnia widget do
39 przeglądania i manipulowania dwuwymiarowymi danymi tabelarycznymi w
40 sposób zbliżony do wielu popularnych programów do obsługi arkuszy
43 Projekt jest zgodny z paradygmatem model-widok-kontroler i ma
44 złożoność O (1) w czasie i przestrzeni. Oznacza to, że jest wydajny
45 nawet dla bardzo dużych zestawów danych.
47 Funkcje często spotykane w graficznych interfejsach użytkownika, takie
48 jak wycinanie, wklejanie, przeciąganie i upuszczanie oraz
49 etykietowanie wiersz / kolumna są również uwzględniane.
52 Summary: Header files for %{name} library
53 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki %{name}
54 Group: Development/Libraries
55 Requires: %{name} = %{version}-%{release}
58 Header files for %{name} library.
60 %description devel -l pl.UTF-8
61 Pliki nagłówkowe biblioteki %{name}.
64 Summary: Static %{name} library
65 Summary(pl.UTF-8): Statyczna biblioteka %{name}
66 Group: Development/Libraries
67 Requires: %{name}-devel = %{version}-%{release}
70 Static %{name} library.
72 %description static -l pl.UTF-8
73 Statyczna biblioteka %{name}.
86 %{!?with_static_libs:--disable-static}
90 rm -rf $RPM_BUILD_ROOT
93 DESTDIR=$RPM_BUILD_ROOT
95 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
98 rm -rf $RPM_BUILD_ROOT
100 %post -p /sbin/ldconfig
101 %postun -p /sbin/ldconfig
103 %post devel -p /sbin/postshell
104 -/usr/sbin/fix-info-dir -c %{_infodir}
106 %postun devel -p /sbin/postshell
107 -/usr/sbin/fix-info-dir -c %{_infodir}
110 %defattr(644,root,root,755)
111 %doc AUTHORS ChangeLog NEWS README TODO
112 %attr(755,root,root) %{_libdir}/libspread-sheet-widget.so.*.*.*
113 %attr(755,root,root) %ghost %{_libdir}/libspread-sheet-widget.so.0
116 %defattr(644,root,root,755)
117 %attr(755,root,root) %{_libdir}/libspread-sheet-widget.so
118 %{_libdir}/libspread-sheet-widget.la
119 %{_includedir}/ssw-axis-model.h
120 %{_includedir}/ssw-sheet-axis.h
121 %{_includedir}/ssw-sheet.h
122 %{_pkgconfigdir}/%{name}.pc
123 %{_infodir}/%{name}.info*
125 %if %{with static_libs}
127 %defattr(644,root,root,755)
128 %{_libdir}/libspread-sheet-widget.a