]> git.pld-linux.org Git - SPECS.git/blob - libopenshot-audio.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / libopenshot-audio.spec
1 Summary:        Audio library used by OpenShot
2 Name:           libopenshot-audio
3 Version:        0.1.6
4 Release:        1
5 License:        GPL v3+
6 Group:          Libraries
7 URL:            http://openshot.org/
8 Source0:        https://github.com/OpenShot/libopenshot-audio/archive/v%{version}.tar.gz
9 # Source0-md5:  4e5b78acf7cae3dbcf07107c66f8fab8
10 BuildRequires:  alsa-lib-devel
11 BuildRequires:  cmake
12 BuildRequires:  freetype-devel
13 BuildRequires:  xorg-lib-libX11-devel
14 BuildRequires:  xorg-lib-libXcursor-devel
15 BuildRequires:  xorg-lib-libXinerama-devel
16 BuildRequires:  xorg-lib-libXrandr-devel
17
18 %description
19 OpenShot Audio Library (libopenshot-audio) is an open-source project
20 powered by JUCE, and enables high-quality audio editing and playback
21 for libopenshot.
22
23 %package devel
24 Summary:        Development files for %{name}
25 Requires:       %{name} = %{version}-%{release}
26
27 %description devel
28 The %{name}-devel package contains libraries and header files for
29 developing applications that use %{name}.
30
31 %prep
32 %setup -q
33
34 %build
35 install -d build
36
37 cd build
38 %cmake ..
39 %{__make}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 %{__make} -C build install \
45         DESTDIR=$RPM_BUILD_ROOT
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %post -p /sbin/ldconfig
51 %postun -p /sbin/ldconfig
52
53 %files
54 %defattr(644,root,root,755)
55 %doc AUTHORS README
56 %attr(755,root,root) %{_libdir}/libopenshot-audio.so.*.*
57 %attr(755,root,root) %ghost %{_libdir}/libopenshot-audio.so.6
58
59 %files devel
60 %defattr(644,root,root,755)
61 %attr(755,root,root) %{_bindir}/openshot-audio-test-sound
62 %{_includedir}/%{name}
63 %attr(755,root,root) %{_libdir}/libopenshot-audio.so
64 %{_mandir}/man1/openshot-audio-test-sound.1*
This page took 0.241133 seconds and 3 git commands to generate.