Author: qboosh Date: Sat Jun 16 16:27:27 2012 GMT Module: packages Tag: HEAD ---- Log message: - new
---- Files affected: packages/suil: suil.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/suil/suil.spec diff -u /dev/null packages/suil/suil.spec:1.1 --- /dev/null Sat Jun 16 18:27:27 2012 +++ packages/suil/suil.spec Sat Jun 16 18:27:21 2012 @@ -0,0 +1,128 @@ +# $Revision$, $Date$ +Summary: Lightweight C library for loading and wrapping LV2 plugin UIs +Summary(pl.UTF-8): Lekka biblioteka C do ładowania i obudowywania UI wtyczek LV2 +Name: suil +Version: 0.6.2 +Release: 1 +License: ISC +Group: Libraries +Source0: http://download.drobilla.net/%{name}-%{version}.tar.bz2 +# Source0-md5: 062f1166786cf59a28b3b9bfbda6f15c +URL: http://drobilla.net/software/suil/ +BuildRequires: QtGui-devel >= 4.0.0 +BuildRequires: gtk+2-devel >= 2:2.18.0 +BuildRequires: libstdc++-devel +BuildRequires: lv2-devel >= 1.0.0 +BuildRequires: python +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Suil is a lightweight C library for loading and wrapping LV2 plugin +UIs. + +Suil makes it possible to load a UI of any toolkit in a host using any +other toolkit (assuming the toolkits are both supported by Suil). +Hosts do not need to build against or link to foreign toolkit +libraries to use UIs written with that toolkit (Suil performs its +magic at runtime using dynamically loaded modules). The API is +designed such that hosts do not need to explicitly support particular +toolkits whatsoever - if Suil supports a particular toolkit, then all +hosts that use Suil will support that toolkit "for free". + +%description -l pl.UTF-8 +Suil to lekka biblioteka C do ładowania i obudowywania interfejsów +użytkownika (UI) wtyczek LV2. + +Suil umożliwia wczytanie UI dowolnego toolkitu do hosta +wykorzystującego dowolny inny toolkit (zakładając, że oba toolkity są +obsługiwane prez Suil). Hosty nie muszą być budowane z obsługą obcych +bibliotek toolkitów, aby można było używać UI napisanego z użyciem +danego toolkitu (Suil wykonuje całą potrzebną magię w czasie działania +przy użyciu modułów ładowanych dynamicznie). API jest zaprojektowane +tak, że hosty nie muszą jawnie obsługiwać konkretnego toolkitu - jeśli +Suil obsługuje ten toolkit, to wszystkie hosty wykorzystujące Suil +będą obsługiwały ten toolkit za darmo. + +%package modules +Summary: UI wrapper modules for suil library +Summary(pl.UTF-8): Moduły obudowujące UI dla biblioteki suil +Group: Libraries +Requires: %{name} = %{version}-%{release} +Requires: QtGui >= 4.0.0 +Requires: gtk+2 >= 2:2.18.0 + +%description modules +Dynamically loaded modules for suil library, allowing to use X11 +UIs in GTK+ or Qt host, GTK+ UI in Qt host, Qt UI in GTK+ host. + +%description modules -l pl.UTF-8 +Dynamicznie wczytywane moduły dla biblioteki suil, pozwalające na +używanie interfejsów użytkownika X11 w hostach GTK+ lub Qt, +interfejsów GTK+ w hostach Qt oraz interfejsów Qt w hostach GTK+. + +%package devel +Summary: Header files for suil library +Summary(pl.UTF-8): Pliki nagłówkowe biblioteki suil +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: lv2-devel >= 1.0.0 + +%description devel +Header files for suil library. + +%description devel -l pl.UTF-8 +Pliki nagłówkowe biblioteki suil. + +%prep +%setup -q + +%build +CC="%{__cc}" \ +CFLAGS="%{rpmcflags}" \ +./waf configure \ + --prefix=%{_prefix} \ + --libdir=%{_libdir} \ + --gtk2-lib-name=libgtk-x11-2.0.so.0 + +./waf -v + +%install +rm -rf $RPM_BUILD_ROOT + +./waf install \ + --destdir=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(644,root,root,755) +%doc AUTHORS COPYING NEWS README +%attr(755,root,root) %{_libdir}/libsuil-0.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libsuil-0.so.0 +%dir %{_libdir}/suil-0 + +%files modules +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/suil-0/libsuil_x11_in_gtk2.so +%attr(755,root,root) %{_libdir}/suil-0/libsuil_x11_in_qt4.so +%attr(755,root,root) %{_libdir}/suil-0/libsuil_gtk2_in_qt4.so +%attr(755,root,root) %{_libdir}/suil-0/libsuil_qt4_in_gtk2.so + +%files devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libsuil-0.so +%{_includedir}/suil-0 +%{_pkgconfigdir}/suil-0.pc + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2012/06/16 16:27:21 qboosh +- new ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
