]> git.pld-linux.org Git - packages/ganv.git/blob - ganv.spec
- updated to 1.8.2, now uses meson
[packages/ganv.git] / ganv.spec
1 Summary:        Interactive Gtk canvas widget for graph-based interfaces
2 Summary(pl.UTF-8):      Interaktywny widget płótna Gtk dla interfejsów opartych na grafach
3 Name:           ganv
4 Version:        1.4.2
5 Release:        1
6 License:        GPL v3+
7 Group:          Libraries
8 Source0:        http://download.drobilla.net/%{name}-%{version}.tar.bz2
9 # Source0-md5:  30c2c36d0c64d0a3b73e0bc7c564861c
10 URL:            http://drobilla.net/software/ganv/
11 BuildRequires:  gettext-devel
12 BuildRequires:  gobject-introspection-devel
13 BuildRequires:  graphviz-devel >= 2.30
14 BuildRequires:  gtk+2-devel >= 2.0
15 BuildRequires:  gtkmm-devel >= 2.10.0
16 BuildRequires:  libstdc++-devel
17 BuildRequires:  pkgconfig
18 BuildRequires:  python
19 BuildRequires:  yelp-tools
20 Requires:       gtkmm >= 2.10.0
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Ganv is an interactive Gtk canvas widget for graph-based interfaces
25 (patchers, modular synthesizers, finite state automata, interactive
26 graphs, etc).
27
28 %description -l pl.UTF-8
29 Ganv to interaktywny widget płótna Gtk do interfejsów opartych na
30 grafach (panele połączeniowe, modularne syntezatory, automaty
31 skończone, wykresy interaktywne itp.).
32
33 %package devel
34 Summary:        Header files for Ganv library
35 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Ganv
36 Group:          Development/Libraries
37 Requires:       %{name} = %{version}-%{release}
38 Requires:       gtk+2-devel >= 2.0
39 Requires:       gtkmm-devel >= 2.10.0
40
41 %description devel
42 Header files for Ganv library.
43
44 %description devel -l pl.UTF-8
45 Pliki nagłówkowe biblioteki Ganv.
46
47 %prep
48 %setup -q
49
50 %build
51 CC="%{__cc}" \
52 CFLAGS="%{rpmcflags}" \
53 ./waf configure \
54         --prefix=%{_prefix} \
55         --libdir=%{_libdir} \
56         --gir \
57         --strict
58
59 ./waf -v
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63
64 ./waf install \
65         --destdir=$RPM_BUILD_ROOT
66
67 install -d $RPM_BUILD_ROOT%{_datadir}/gir-1.0
68 %{__mv} $RPM_BUILD_ROOT%{_libdir}/girepository-1.0/*.gir $RPM_BUILD_ROOT%{_datadir}/gir-1.0
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %post   -p /sbin/ldconfig
74 %postun -p /sbin/ldconfig
75
76 %files
77 %defattr(644,root,root,755)
78 %doc AUTHORS NEWS README
79 %attr(755,root,root) %{_bindir}/ganv_bench
80 %attr(755,root,root) %{_libdir}/libganv-1.so.*.*.*
81 %attr(755,root,root) %ghost %{_libdir}/libganv-1.so.1
82 %{_libdir}/girepository-1.0/Ganv-1.0.typelib
83
84 %files devel
85 %defattr(644,root,root,755)
86 %attr(755,root,root) %{_libdir}/libganv-1.so
87 %{_includedir}/ganv-1
88 %{_datadir}/gir-1.0/Ganv-1.0.gir
89 %{_pkgconfigdir}/ganv-1.pc
This page took 0.072116 seconds and 3 git commands to generate.