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