[packages/ganv] - new

qboosh qboosh at pld-linux.org
Sun Jul 20 19:54:55 CEST 2014


commit 7b9b5409f8c66e2890165c7adb3de142a488ecb2
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jul 20 19:59:50 2014 +0200

    - new

 ganv.spec | 89 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 89 insertions(+)
---
diff --git a/ganv.spec b/ganv.spec
new file mode 100644
index 0000000..e69d6af
--- /dev/null
+++ b/ganv.spec
@@ -0,0 +1,89 @@
+Summary:	Interactive Gtk canvas widget for graph-based interfaces
+Summary(pl.UTF-8):	Interaktywny widget płótna Gtk dla interfejsów opartych na grafach
+Name:		ganv
+Version:	1.4.0
+Release:	1
+License:	GPL v3+
+Group:		Libraries
+Source0:	http://download.drobilla.net/%{name}-%{version}.tar.bz2
+# Source0-md5:	a72fdabc57959cc32065e66b48fea6aa
+URL:		http://drobilla.net/software/ganv/
+BuildRequires:	gettext-devel
+BuildRequires:	gobject-introspection-devel
+BuildRequires:	graphviz-devel >= 2.30
+BuildRequires:	gtk+2-devel >= 2.0
+BuildRequires:	gtkmm-devel >= 2.10.0
+BuildRequires:	libstdc++-devel
+BuildRequires:	pkgconfig
+BuildRequires:	python
+BuildRequires:	yelp-tools
+Requires:	gtkmm >= 2.10.0
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Ganv is an interactive Gtk canvas widget for graph-based interfaces
+(patchers, modular synthesizers, finite state automata, interactive
+graphs, etc).
+
+%description -l pl.UTF-8
+Ganv to interaktywny widget płótna Gtk do interfejsów opartych na
+grafach (panele połączeniowe, modularne syntezatory, automaty
+skończone, wykresy interaktywne itp.).
+
+%package devel
+Summary:	Header files for Ganv library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki Ganv
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	gtk+2-devel >= 2.0
+Requires:	gtkmm-devel >= 2.10.0
+
+%description devel
+Header files for Ganv library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki Ganv.
+
+%prep
+%setup -q
+
+%build
+CC="%{__cc}" \
+CFLAGS="%{rpmcflags}" \
+./waf configure \
+	--prefix=%{_prefix} \
+	--libdir=%{_libdir} \
+	--gir \
+	--strict
+
+./waf -v
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+./waf install \
+	--destdir=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_datadir}/gir-1.0
+%{__mv} $RPM_BUILD_ROOT%{_libdir}/girepository-1.0/*.gir $RPM_BUILD_ROOT%{_datadir}/gir-1.0
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS NEWS README
+%attr(755,root,root) %{_bindir}/ganv_bench
+%attr(755,root,root) %{_libdir}/libganv-1.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libganv-1.so.1
+%{_libdir}/girepository-1.0/Ganv-1.0.typelib
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libganv-1.so
+%{_includedir}/ganv-1
+%{_datadir}/gir-1.0/Ganv-1.0.gir
+%{_pkgconfigdir}/ganv-1.pc
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ganv.git/commitdiff/7b9b5409f8c66e2890165c7adb3de142a488ecb2



More information about the pld-cvs-commit mailing list