]> git.pld-linux.org Git - packages/suil.git/commitdiff
- new
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 16 Jun 2012 16:27:21 +0000 (16:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    suil.spec -> 1.1

suil.spec [new file with mode: 0644]

diff --git a/suil.spec b/suil.spec
new file mode 100644 (file)
index 0000000..5ce4ea2
--- /dev/null
+++ b/suil.spec
@@ -0,0 +1,118 @@
+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
This page took 0.147598 seconds and 4 git commands to generate.