]>
Commit | Line | Data |
---|---|---|
662008e0 JK |
1 | Summary: Screen recorder for Linux |
2 | Summary(pl.UTF-8): Nagrywarka ekranu dla Linuksa | |
3 | Name: simplescreenrecorder | |
06f1913e JP |
4 | Version: 0.3.11 |
5 | Release: 1 | |
662008e0 JK |
6 | License: GPL v3 |
7 | Group: Applications | |
8 | Source0: https://github.com/MaartenBaert/ssr/archive/%{version}/ssr-%{version}.tar.gz | |
06f1913e | 9 | # Source0-md5: 035dcd0a73667d27f890c9ad242d4cf0 |
68d77f5b | 10 | Patch0: build.patch |
662008e0 JK |
11 | URL: http://www.maartenbaert.be/simplescreenrecorder/ |
12 | BuildRequires: Mesa-libGL-devel | |
13 | BuildRequires: Mesa-libGLU-devel | |
14 | BuildRequires: Qt5Core-devel >= 5.1.0 | |
15 | BuildRequires: Qt5Gui-devel | |
16 | BuildRequires: Qt5Widgets-devel | |
17 | BuildRequires: Qt5X11Extras-devel | |
18 | BuildRequires: alsa-lib-devel | |
06f1913e | 19 | BuildRequires: cmake >= 3.1 |
662008e0 JK |
20 | BuildRequires: ffmpeg-devel |
21 | BuildRequires: jack-audio-connection-kit-devel | |
662008e0 JK |
22 | BuildRequires: pulseaudio-devel |
23 | BuildRequires: qt5-build | |
24 | BuildRequires: qt5-linguist | |
25 | BuildRequires: xorg-lib-libX11-devel | |
26 | BuildRequires: xorg-lib-libXext-devel | |
27 | BuildRequires: xorg-lib-libXfixes-devel | |
28 | BuildRequires: xorg-lib-libXi-devel | |
29 | Requires: Qt5Gui-platform-xcb | |
30 | Suggests: %{name}-glinject = %{version}-%{release} | |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
32 | ||
33 | %description | |
34 | SimpleScreenRecorder is a screen recorder for Linux. Despite the name, | |
35 | this program is actually quite complex. It's 'simple' in the sense | |
36 | that it's easier to use than ffmpeg/avconv or VLC :). | |
37 | ||
38 | %package glinject | |
39 | Summary: SimpleScreenRecorder - wrapper library for recording OpenGL | |
40 | Group: Applications | |
41 | ||
42 | %description glinject | |
43 | A wrapper library and a script to inject screen recording calls into | |
44 | OpenGL applications, for use with the SimpleScreenRecorder. | |
45 | ||
46 | %prep | |
47 | %setup -q -n ssr-%{version} | |
68d77f5b | 48 | %patch0 -p1 |
662008e0 JK |
49 | |
50 | %build | |
06f1913e JP |
51 | %cmake \ |
52 | -DLRELEASE=/usr/bin/lrelease-qt5 \ | |
53 | -DWITH_JACK=ON \ | |
54 | -DWITH_PULSEAUDIO=ON \ | |
55 | -DWITH_QT5=ON | |
662008e0 JK |
56 | |
57 | %{__make} | |
58 | ||
59 | %install | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %{__make} install \ | |
63 | DESTDIR=$RPM_BUILD_ROOT | |
64 | ||
662008e0 JK |
65 | %find_lang %{name} --with-qm |
66 | ||
67 | %clean | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %files -f %{name}.lang | |
71 | %defattr(644,root,root,755) | |
72 | %doc AUTHORS.md CHANGELOG.md README.md *.txt | |
73 | %attr(755,root,root) %{_bindir}/simplescreenrecorder | |
74 | %dir %{_datadir}/simplescreenrecorder | |
75 | %{_datadir}/simplescreenrecorder/output-profiles | |
76 | %dir %{_datadir}/simplescreenrecorder/translations | |
77 | %{_mandir}/man1/simplescreenrecorder.1* | |
78 | %{_mandir}/man1/ssr-glinject.1* | |
79 | %{_iconsdir}/*/*/apps/simplescreenrecorder*.png | |
80 | %{_iconsdir}/hicolor/scalable/apps/simplescreenrecorder*.svg | |
81 | %{_desktopdir}/simplescreenrecorder.desktop | |
06f1913e | 82 | %{_datadir}/appdata/simplescreenrecorder.appdata.xml |
662008e0 JK |
83 | |
84 | %files glinject | |
85 | %defattr(644,root,root,755) | |
86 | %attr(755,root,root) %{_bindir}/ssr-glinject | |
87 | %attr(755,root,root) %{_libdir}/libssr-glinject.so |