]>
Commit | Line | Data |
---|---|---|
1aa9ade6 JB |
1 | Summary: LV2 host library to make LV2 plugin use as simple as possible |
2 | Summary(pl.UTF-8): Biblioteka hosta LV2 ułatwiająca korzystanie z wtyczek LV2 | |
3 | Name: lilv | |
50afd6bb | 4 | Version: 0.24.6 |
1aa9ade6 JB |
5 | Release: 1 |
6 | License: ISC | |
7 | Group: Libraries | |
8 | Source0: http://download.drobilla.net/%{name}-%{version}.tar.bz2 | |
50afd6bb | 9 | # Source0-md5: 26768e5bdf3601f280e97c86dcbda79f |
1aa9ade6 JB |
10 | URL: http://drobilla.net/software/lilv/ |
11 | BuildRequires: doxygen | |
ac55eab6 | 12 | BuildRequires: libsndfile-devel >= 1.0.0 |
1aa9ade6 | 13 | BuildRequires: libstdc++-devel |
50afd6bb | 14 | BuildRequires: lv2-devel >= 1.16.0 |
1aa9ade6 | 15 | BuildRequires: pkgconfig |
50afd6bb JB |
16 | # or python 2.6+, but no sense to introduce in 2020 |
17 | BuildRequires: python3 >= 1:3.4 | |
18 | BuildRequires: python3-modules >= 1:3.4 | |
19 | BuildRequires: rpmbuild(macros) >= 1.507 | |
20 | BuildRequires: serd-devel >= 0.30.0 | |
3a693a76 | 21 | BuildRequires: sord-devel >= 0.14.0 |
ddbd4e4c | 22 | BuildRequires: sratom-devel >= 0.4.0 |
50afd6bb JB |
23 | Requires: lv2 >= 1.16.0 |
24 | Requires: serd >= 0.30.0 | |
3a693a76 | 25 | Requires: sord >= 0.14.0 |
ddbd4e4c | 26 | Requires: sratom >= 0.4.0 |
1aa9ade6 JB |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
28 | ||
29 | %description | |
30 | Lilv is a library to make the use of LV2 plugins as simple as possible | |
31 | for applications. Lilv is the successor to SLV2, rewritten to be | |
32 | significantly faster and have minimal dependencies. | |
33 | ||
34 | %description -l pl.UTF-8 | |
35 | Lilv to biblioteka ułatwiająca korzystanie z wtyczek LV2 w | |
36 | aplikacjach. Jest następczynią SLV2; została przepisana tak, aby była | |
37 | znacznie szybsza i miała minimalne zależności. | |
38 | ||
39 | %package devel | |
40 | Summary: Header files for Lilv library | |
41 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Lilv | |
42 | Group: Development/Libraries | |
43 | Requires: %{name} = %{version}-%{release} | |
50afd6bb JB |
44 | Requires: lv2-devel >= 1.16.0 |
45 | Requires: serd-devel >= 0.30.0 | |
3a693a76 | 46 | Requires: sord-devel >= 0.14.0 |
ddbd4e4c | 47 | Requires: sratom-devel >= 0.4.0 |
1aa9ade6 JB |
48 | |
49 | %description devel | |
50 | Header files for Lilv library. | |
51 | ||
52 | %description devel -l pl.UTF-8 | |
53 | Pliki nagłówkowe biblioteki Lilv. | |
54 | ||
55 | %package -n bash-completion-lilv | |
56 | Summary: Bash auto-completion for lilv commands | |
57 | Summary(pl.UTF-8): Bashowe dopełnianie składni dla poleceń lilv | |
58 | Group: Applications/Shells | |
59 | Requires: bash-completion | |
60 | ||
61 | %description -n bash-completion-lilv | |
62 | Bash auto-completion script for lv2info and lv2jack commands. | |
63 | ||
64 | %description -n bash-completion-lilv -l pl.UTF-8 | |
65 | Skrypt bashowego dopełniania parametrów dla poleceń lv2info i lv2jack. | |
66 | ||
50afd6bb JB |
67 | %package -n python3-lilv |
68 | Summary: Python binding for lilv | |
69 | Summary(pl.UTF-8): Wiązania Pythona do lilv | |
70 | Group: Libraries/Python | |
71 | Requires: %{name} = %{version}-%{release} | |
72 | Requires: python3-modules >= 1:3.4 | |
73 | ||
74 | %description -n python3-lilv | |
75 | Python binding for lilv. | |
76 | ||
77 | %description -n python3-lilv -l pl.UTF-8 | |
78 | Wiązania Pythona do lilv. | |
79 | ||
1aa9ade6 JB |
80 | %prep |
81 | %setup -q | |
82 | ||
83 | %build | |
84 | CC="%{__cc}" \ | |
85 | CFLAGS="%{rpmcflags}" \ | |
50afd6bb | 86 | %{__python3} ./waf configure \ |
1aa9ade6 JB |
87 | --prefix=%{_prefix} \ |
88 | --libdir=%{_libdir} \ | |
89 | --configdir=/etc \ | |
90 | --strict | |
91 | ||
50afd6bb | 92 | %{__python3} ./waf -v |
1aa9ade6 JB |
93 | |
94 | %install | |
95 | rm -rf $RPM_BUILD_ROOT | |
96 | ||
50afd6bb | 97 | %{__python3} ./waf install \ |
1aa9ade6 JB |
98 | --destdir=$RPM_BUILD_ROOT |
99 | ||
50afd6bb JB |
100 | %py3_comp $RPM_BUILD_ROOT%{py3_sitescriptdir} |
101 | %py3_ocomp $RPM_BUILD_ROOT%{py3_sitescriptdir} | |
102 | ||
1aa9ade6 JB |
103 | %clean |
104 | rm -rf $RPM_BUILD_ROOT | |
105 | ||
106 | %post -p /sbin/ldconfig | |
107 | %postun -p /sbin/ldconfig | |
108 | ||
109 | %files | |
110 | %defattr(644,root,root,755) | |
50afd6bb | 111 | %doc AUTHORS COPYING NEWS README.md |
1aa9ade6 | 112 | %attr(755,root,root) %{_bindir}/lilv-bench |
ac55eab6 | 113 | %attr(755,root,root) %{_bindir}/lv2apply |
a3e8a303 | 114 | %attr(755,root,root) %{_bindir}/lv2bench |
1aa9ade6 JB |
115 | %attr(755,root,root) %{_bindir}/lv2info |
116 | %attr(755,root,root) %{_bindir}/lv2ls | |
117 | %attr(755,root,root) %{_libdir}/liblilv-0.so.*.*.* | |
118 | %attr(755,root,root) %ghost %{_libdir}/liblilv-0.so.0 | |
ac55eab6 | 119 | %{_mandir}/man1/lv2apply.1* |
1aa9ade6 JB |
120 | %{_mandir}/man1/lv2info.1* |
121 | %{_mandir}/man1/lv2ls.1* | |
122 | ||
123 | %files devel | |
124 | %defattr(644,root,root,755) | |
125 | %attr(755,root,root) %{_libdir}/liblilv-0.so | |
126 | %{_includedir}/lilv-0 | |
127 | %{_pkgconfigdir}/lilv-0.pc | |
128 | ||
129 | %files -n bash-completion-lilv | |
130 | %defattr(644,root,root,755) | |
131 | /etc/bash_completion.d/lilv | |
50afd6bb JB |
132 | |
133 | %files -n python3-lilv | |
134 | %defattr(644,root,root,755) | |
135 | %{py3_sitescriptdir}/lilv.py | |
136 | %{py3_sitescriptdir}/__pycache__/lilv.cpython-*.py[co] |