]> git.pld-linux.org Git - packages/lilv.git/blame - lilv.spec
- updated to 0.24.24
[packages/lilv.git] / lilv.spec
CommitLineData
5e1ce647
JB
1#
2# Conditional build:
3%bcond_with apidocs # API documentation
4
1aa9ade6
JB
5Summary: LV2 host library to make LV2 plugin use as simple as possible
6Summary(pl.UTF-8): Biblioteka hosta LV2 ułatwiająca korzystanie z wtyczek LV2
7Name: lilv
5ce97a3e 8Version: 0.24.24
5e1ce647 9Release: 1
1aa9ade6
JB
10License: ISC
11Group: Libraries
5e1ce647 12Source0: http://download.drobilla.net/%{name}-%{version}.tar.xz
5ce97a3e 13# Source0-md5: 02e4d830bb82314aff2ceb441fe4d0c1
1aa9ade6 14URL: http://drobilla.net/software/lilv/
ac55eab6 15BuildRequires: libsndfile-devel >= 1.0.0
1aa9ade6 16BuildRequires: libstdc++-devel
5e1ce647
JB
17BuildRequires: lv2-devel >= 1.18.2
18BuildRequires: meson >= 0.56.0
19BuildRequires: ninja >= 1.5
1aa9ade6 20BuildRequires: pkgconfig
50afd6bb
JB
21# or python 2.6+, but no sense to introduce in 2020
22BuildRequires: python3 >= 1:3.4
23BuildRequires: python3-modules >= 1:3.4
a851ef81 24BuildRequires: rpm-build >= 4.6
8e6ea2f7 25BuildRequires: rpmbuild(macros) >= 1.736
40cbf1ce 26BuildRequires: serd-devel >= 0.30.10
5ce97a3e 27BuildRequires: sord-devel >= 0.16.15
40cbf1ce 28BuildRequires: sratom-devel >= 0.6.10
5e1ce647
JB
29BuildRequires: tar >= 1:1.22
30BuildRequires: xz
5ce97a3e 31BuildRequires: zix-devel >= 0.4.0
5e1ce647
JB
32%if %{with apidocs}
33BuildRequires: doxygen
34BuildRequires: sphinx-pdg
5ce97a3e 35BuildRequires: sphinxygen
5e1ce647
JB
36%endif
37Requires: lv2 >= 1.18.2
40cbf1ce 38Requires: serd >= 0.30.10
5ce97a3e 39Requires: sord >= 0.16.15
40cbf1ce 40Requires: sratom >= 0.6.10
5ce97a3e 41Requires: zix >= 0.4.0
1aa9ade6
JB
42BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43
44%description
45Lilv is a library to make the use of LV2 plugins as simple as possible
46for applications. Lilv is the successor to SLV2, rewritten to be
47significantly faster and have minimal dependencies.
48
49%description -l pl.UTF-8
50Lilv to biblioteka ułatwiająca korzystanie z wtyczek LV2 w
51aplikacjach. Jest następczynią SLV2; została przepisana tak, aby była
52znacznie szybsza i miała minimalne zależności.
53
54%package devel
55Summary: Header files for Lilv library
56Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Lilv
57Group: Development/Libraries
58Requires: %{name} = %{version}-%{release}
5e1ce647 59Requires: lv2-devel >= 1.18.2
40cbf1ce 60Requires: serd-devel >= 0.30.10
5ce97a3e 61Requires: sord-devel >= 0.16.15
40cbf1ce 62Requires: sratom-devel >= 0.6.10
5ce97a3e 63Requires: zix-devel >= 0.4.0
1aa9ade6
JB
64
65%description devel
66Header files for Lilv library.
67
68%description devel -l pl.UTF-8
69Pliki nagłówkowe biblioteki Lilv.
70
71%package -n bash-completion-lilv
72Summary: Bash auto-completion for lilv commands
73Summary(pl.UTF-8): Bashowe dopełnianie składni dla poleceń lilv
74Group: Applications/Shells
75Requires: bash-completion
a851ef81 76BuildArch: noarch
1aa9ade6
JB
77
78%description -n bash-completion-lilv
79Bash auto-completion script for lv2info and lv2jack commands.
80
81%description -n bash-completion-lilv -l pl.UTF-8
82Skrypt bashowego dopełniania parametrów dla poleceń lv2info i lv2jack.
83
50afd6bb
JB
84%package -n python3-lilv
85Summary: Python binding for lilv
86Summary(pl.UTF-8): Wiązania Pythona do lilv
87Group: Libraries/Python
88Requires: %{name} = %{version}-%{release}
89Requires: python3-modules >= 1:3.4
90
91%description -n python3-lilv
92Python binding for lilv.
93
94%description -n python3-lilv -l pl.UTF-8
95Wiązania Pythona do lilv.
96
1aa9ade6
JB
97%prep
98%setup -q
99
100%build
5e1ce647
JB
101%meson build \
102 --default-library=shared \
103 %{!?with_apidocs:-Ddocs=disabled}
1aa9ade6 104
5e1ce647 105%ninja_build -C build
1aa9ade6
JB
106
107%install
108rm -rf $RPM_BUILD_ROOT
109
5e1ce647 110%ninja_install -C build
1aa9ade6 111
50afd6bb
JB
112%py3_comp $RPM_BUILD_ROOT%{py3_sitescriptdir}
113%py3_ocomp $RPM_BUILD_ROOT%{py3_sitescriptdir}
114
1aa9ade6
JB
115%clean
116rm -rf $RPM_BUILD_ROOT
117
118%post -p /sbin/ldconfig
119%postun -p /sbin/ldconfig
120
121%files
122%defattr(644,root,root,755)
50afd6bb 123%doc AUTHORS COPYING NEWS README.md
ac55eab6 124%attr(755,root,root) %{_bindir}/lv2apply
a3e8a303 125%attr(755,root,root) %{_bindir}/lv2bench
1aa9ade6
JB
126%attr(755,root,root) %{_bindir}/lv2info
127%attr(755,root,root) %{_bindir}/lv2ls
128%attr(755,root,root) %{_libdir}/liblilv-0.so.*.*.*
129%attr(755,root,root) %ghost %{_libdir}/liblilv-0.so.0
ac55eab6 130%{_mandir}/man1/lv2apply.1*
5e1ce647 131%{_mandir}/man1/lv2bench.1*
1aa9ade6
JB
132%{_mandir}/man1/lv2info.1*
133%{_mandir}/man1/lv2ls.1*
134
135%files devel
136%defattr(644,root,root,755)
137%attr(755,root,root) %{_libdir}/liblilv-0.so
138%{_includedir}/lilv-0
139%{_pkgconfigdir}/lilv-0.pc
140
141%files -n bash-completion-lilv
142%defattr(644,root,root,755)
143/etc/bash_completion.d/lilv
50afd6bb
JB
144
145%files -n python3-lilv
146%defattr(644,root,root,755)
147%{py3_sitescriptdir}/lilv.py
148%{py3_sitescriptdir}/__pycache__/lilv.cpython-*.py[co]
This page took 0.185002 seconds and 4 git commands to generate.