]> git.pld-linux.org Git - packages/suil.git/blob - suil.spec
- updated to 0.6.6
[packages/suil.git] / suil.spec
1 Summary:        Lightweight C library for loading and wrapping LV2 plugin UIs
2 Summary(pl.UTF-8):      Lekka biblioteka C do ładowania i obudowywania UI wtyczek LV2
3 Name:           suil
4 Version:        0.6.6
5 Release:        1
6 License:        ISC
7 Group:          Libraries
8 Source0:        http://download.drobilla.net/%{name}-%{version}.tar.bz2
9 # Source0-md5:  6b596ad806b7bf34dfba34afb48bb758
10 URL:            http://drobilla.net/software/suil/
11 BuildRequires:  QtGui-devel >= 4.0.0
12 BuildRequires:  gtk+2-devel >= 2:2.18.0
13 BuildRequires:  libstdc++-devel
14 BuildRequires:  lv2-devel >= 1.0.0
15 BuildRequires:  python
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Suil is a lightweight C library for loading and wrapping LV2 plugin
20 UIs.
21
22 Suil makes it possible to load a UI of any toolkit in a host using any
23 other toolkit (assuming the toolkits are both supported by Suil).
24 Hosts do not need to build against or link to foreign toolkit
25 libraries to use UIs written with that toolkit (Suil performs its
26 magic at runtime using dynamically loaded modules). The API is
27 designed such that hosts do not need to explicitly support particular
28 toolkits whatsoever - if Suil supports a particular toolkit, then all
29 hosts that use Suil will support that toolkit "for free".
30
31 %description -l pl.UTF-8
32 Suil to lekka biblioteka C do ładowania i obudowywania interfejsów
33 użytkownika (UI) wtyczek LV2.
34
35 Suil umożliwia wczytanie UI dowolnego toolkitu do hosta
36 wykorzystującego dowolny inny toolkit (zakładając, że oba toolkity są
37 obsługiwane prez Suil). Hosty nie muszą być budowane z obsługą obcych
38 bibliotek toolkitów, aby można było używać UI napisanego z użyciem
39 danego toolkitu (Suil wykonuje całą potrzebną magię w czasie działania
40 przy użyciu modułów ładowanych dynamicznie). API jest zaprojektowane
41 tak, że hosty nie muszą jawnie obsługiwać konkretnego toolkitu - jeśli
42 Suil obsługuje ten toolkit, to wszystkie hosty wykorzystujące Suil
43 będą obsługiwały ten toolkit za darmo.
44
45 %package modules
46 Summary:        UI wrapper modules for suil library
47 Summary(pl.UTF-8):      Moduły obudowujące UI dla biblioteki suil
48 Group:          Libraries
49 Requires:       %{name} = %{version}-%{release}
50 Requires:       QtGui >= 4.0.0
51 Requires:       gtk+2 >= 2:2.18.0
52
53 %description modules
54 Dynamically loaded modules for suil library, allowing to use X11
55 UIs in GTK+ or Qt host, GTK+ UI in Qt host, Qt UI in GTK+ host.
56
57 %description modules -l pl.UTF-8
58 Dynamicznie wczytywane moduły dla biblioteki suil, pozwalające na
59 używanie interfejsów użytkownika X11 w hostach GTK+ lub Qt,
60 interfejsów GTK+ w hostach Qt oraz  interfejsów Qt w hostach GTK+.
61
62 %package devel
63 Summary:        Header files for suil library
64 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki suil
65 Group:          Development/Libraries
66 Requires:       %{name} = %{version}-%{release}
67 Requires:       lv2-devel >= 1.0.0
68
69 %description devel
70 Header files for suil library.
71
72 %description devel -l pl.UTF-8
73 Pliki nagłówkowe biblioteki suil.
74
75 %prep
76 %setup -q
77
78 %build
79 CC="%{__cc}" \
80 CFLAGS="%{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
89 rm -rf $RPM_BUILD_ROOT
90
91 ./waf install \
92         --destdir=$RPM_BUILD_ROOT
93
94 %clean
95 rm -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.10521 seconds and 3 git commands to generate.