]> git.pld-linux.org Git - packages/suil.git/blame - suil.spec
- updated to 0.8.0
[packages/suil.git] / suil.spec
CommitLineData
ff9ca567
JB
1Summary: Lightweight C library for loading and wrapping LV2 plugin UIs
2Summary(pl.UTF-8): Lekka biblioteka C do ładowania i obudowywania UI wtyczek LV2
3Name: suil
50e923b3 4Version: 0.8.0
ff9ca567
JB
5Release: 1
6License: ISC
7Group: Libraries
8Source0: http://download.drobilla.net/%{name}-%{version}.tar.bz2
50e923b3 9# Source0-md5: 8b6039593b2b8d6838b3b29e36874c1c
ff9ca567
JB
10URL: http://drobilla.net/software/suil/
11BuildRequires: QtGui-devel >= 4.0.0
12BuildRequires: gtk+2-devel >= 2:2.18.0
13BuildRequires: libstdc++-devel
50e923b3 14BuildRequires: lv2-devel >= 1.6.0
ff9ca567
JB
15BuildRequires: python
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19Suil is a lightweight C library for loading and wrapping LV2 plugin
20UIs.
21
22Suil makes it possible to load a UI of any toolkit in a host using any
23other toolkit (assuming the toolkits are both supported by Suil).
24Hosts do not need to build against or link to foreign toolkit
25libraries to use UIs written with that toolkit (Suil performs its
26magic at runtime using dynamically loaded modules). The API is
27designed such that hosts do not need to explicitly support particular
28toolkits whatsoever - if Suil supports a particular toolkit, then all
29hosts that use Suil will support that toolkit "for free".
30
31%description -l pl.UTF-8
32Suil to lekka biblioteka C do ładowania i obudowywania interfejsów
33użytkownika (UI) wtyczek LV2.
34
35Suil umożliwia wczytanie UI dowolnego toolkitu do hosta
36wykorzystującego dowolny inny toolkit (zakładając, że oba toolkity są
37obsługiwane prez Suil). Hosty nie muszą być budowane z obsługą obcych
38bibliotek toolkitów, aby można było używać UI napisanego z użyciem
39danego toolkitu (Suil wykonuje całą potrzebną magię w czasie działania
40przy użyciu modułów ładowanych dynamicznie). API jest zaprojektowane
41tak, że hosty nie muszą jawnie obsługiwać konkretnego toolkitu - jeśli
42Suil obsługuje ten toolkit, to wszystkie hosty wykorzystujące Suil
43będą obsługiwały ten toolkit za darmo.
44
45%package modules
46Summary: UI wrapper modules for suil library
47Summary(pl.UTF-8): Moduły obudowujące UI dla biblioteki suil
48Group: Libraries
49Requires: %{name} = %{version}-%{release}
50Requires: QtGui >= 4.0.0
51Requires: gtk+2 >= 2:2.18.0
52
53%description modules
54Dynamically loaded modules for suil library, allowing to use X11
55UIs in GTK+ or Qt host, GTK+ UI in Qt host, Qt UI in GTK+ host.
56
57%description modules -l pl.UTF-8
58Dynamicznie wczytywane moduły dla biblioteki suil, pozwalające na
59używanie interfejsów użytkownika X11 w hostach GTK+ lub Qt,
60interfejsów GTK+ w hostach Qt oraz interfejsów Qt w hostach GTK+.
61
62%package devel
63Summary: Header files for suil library
64Summary(pl.UTF-8): Pliki nagłówkowe biblioteki suil
65Group: Development/Libraries
66Requires: %{name} = %{version}-%{release}
50e923b3 67Requires: lv2-devel >= 1.6.0
ff9ca567
JB
68
69%description devel
70Header files for suil library.
71
72%description devel -l pl.UTF-8
73Pliki nagłówkowe biblioteki suil.
74
75%prep
76%setup -q
77
78%build
79CC="%{__cc}" \
80CFLAGS="%{rpmcflags}" \
81./waf configure \
82 --prefix=%{_prefix} \
83 --libdir=%{_libdir} \
84 --gtk2-lib-name=libgtk-x11-2.0.so.0
85
86./waf -v
87
88%install
89rm -rf $RPM_BUILD_ROOT
90
91./waf install \
92 --destdir=$RPM_BUILD_ROOT
93
94%clean
95rm -rf $RPM_BUILD_ROOT
96
97%post -p /sbin/ldconfig
98%postun -p /sbin/ldconfig
99
100%files
101%defattr(644,root,root,755)
102%doc AUTHORS COPYING NEWS README
103%attr(755,root,root) %{_libdir}/libsuil-0.so.*.*.*
104%attr(755,root,root) %ghost %{_libdir}/libsuil-0.so.0
105%dir %{_libdir}/suil-0
106
107%files modules
108%defattr(644,root,root,755)
109%attr(755,root,root) %{_libdir}/suil-0/libsuil_x11_in_gtk2.so
110%attr(755,root,root) %{_libdir}/suil-0/libsuil_x11_in_qt4.so
111%attr(755,root,root) %{_libdir}/suil-0/libsuil_gtk2_in_qt4.so
112%attr(755,root,root) %{_libdir}/suil-0/libsuil_qt4_in_gtk2.so
113
114%files devel
115%defattr(644,root,root,755)
116%attr(755,root,root) %{_libdir}/libsuil-0.so
117%{_includedir}/suil-0
118%{_pkgconfigdir}/suil-0.pc
This page took 0.064705 seconds and 4 git commands to generate.