]> git.pld-linux.org Git - packages/flowcanvas.git/blob - flowcanvas.spec
- added graph patch from FreeBSD (switch from obsolete libgraph to libcgraph API)
[packages/flowcanvas.git] / flowcanvas.spec
1 Summary:        Interactive Gtkmm/Gnomecanvasmm widget for graph-based interfaces
2 Summary(pl.UTF-8):      Interaktywny widget Gtkmm/Gnomecanvasmm do interfejsów opartych na rysunkach
3 Name:           flowcanvas
4 Version:        0.7.1
5 Release:        2
6 License:        GPL v2+
7 Group:          Libraries
8 Source0:        http://download.drobilla.net/%{name}-%{version}.tar.bz2
9 # Source0-md5:  a4908f6385ce9fd2ce97c8caa823f053
10 Patch0:         %{name}-graph.patch
11 URL:            http://drobilla.net/software/flowcanvas/
12 BuildRequires:  boost-devel
13 BuildRequires:  graphviz-devel >= 2.30
14 BuildRequires:  gtkmm-devel >= 2.10.0
15 BuildRequires:  libgnomecanvasmm-devel >= 2.6.0
16 BuildRequires:  libstdc++-devel
17 BuildRequires:  pkgconfig
18 BuildRequires:  python
19 Requires:       graphviz >= 2.30
20 Requires:       gtkmm >= 2.10.0
21 Requires:       libgnomecanvasmm >= 2.6.0
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 FlowCanvas is an interactive Gtkmm/Gnomecanvasmm widget for
26 graph-based interfaces (patchers, modular synthesizers, finite state
27 automata, interactive graphs, etc).
28
29 %description -l pl.UTF-8
30 FlowCanvas to interaktywny widget Gtkmm/Gnomecanvasmm do interfejsów
31 opartych na rysunkach (syntezatory modułowe, automaty skończone,
32 wykresy interaktywne itp.).
33
34 %package devel
35 Summary:        Header files for flowcanvas library
36 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki flowcanvas
37 Group:          Development/Libraries
38 Requires:       %{name} = %{version}-%{release}
39 Requires:       boost-devel
40 Requires:       graphviz-devel >= 2.30
41 Requires:       gtkmm-devel >= 2.10.0
42 Requires:       libgnomecanvasmm-devel >= 2.6.0
43
44 %description devel
45 Header files for flowcanvas library.
46
47 %description devel -l pl.UTF-8
48 Pliki nagłówkowe biblioteki flowcanvas.
49
50 %prep
51 %setup -q
52 %patch0 -p0
53
54 %build
55 CXX="%{__cxx}" \
56 CXXFLAGS="%{rpmcxxflags}" \
57 ./waf configure \
58         --prefix=%{_prefix} \
59         --libdir=%{_libdir} \
60         --strict
61
62 ./waf -v
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 ./waf install \
68         --destdir=$RPM_BUILD_ROOT
69
70 # let rpm autogenerate dependencies
71 chmod 755 $RPM_BUILD_ROOT%{_libdir}/lib*.so*
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %post   -p /sbin/ldconfig
77 %postun -p /sbin/ldconfig
78
79 %files
80 %defattr(644,root,root,755)
81 %doc AUTHORS ChangeLog README
82 %attr(755,root,root) %{_libdir}/libflowcanvas.so.*.*.*
83 %attr(755,root,root) %ghost %{_libdir}/libflowcanvas.so.5
84
85 %files devel
86 %defattr(644,root,root,755)
87 %attr(755,root,root) %{_libdir}/libflowcanvas.so
88 %{_includedir}/flowcanvas
89 %{_pkgconfigdir}/flowcanvas.pc
This page took 0.117161 seconds and 3 git commands to generate.