rpm-recordmydesktop/recordmydesktop.spec
James Edington dc3d9f3400 Bruh moment
the COPR builders have HTTP disabled (why not just use SHA256??)
2021-03-13 17:29:49 -06:00

177 lines
7.0 KiB
RPMSpec

Name: recordmydesktop
Version: 0.3.8.1
Release: 19%{?dist}
Summary: Desktop session recorder with audio and video
License: GPLv2+
URL: https://recordmydesktop.sourceforge.net/
Source0: https://downloads.sourceforge.net/recordmydesktop/%{name}-%{version}.tar.gz
# from gentoo: http://bugs.gentoo.org/attachment.cgi?id=209904
# 2010-01-15: Bug with proposed fix already upstream:
# http://sourceforge.net/tracker/?func=detail&aid=2889699&group_id=172357&atid=861428
Patch0: recordmydesktop-shmstr.h-to-shmproto.h.patch
# Use default Alsa device instead of hardcoded device:
# https://bugzilla.redhat.com/show_bug.cgi?id=538853
Patch1: recordmydesktop-ALSA-default.patch
# Use sane theora defaults
# https://bugzilla.redhat.com/show_bug.cgi?id=525155
Patch2: recordmydesktop-sane-theora-defaults.patch
# Fix jack support detection
# https://bugzilla.redhat.com/show_bug.cgi?id=554292
# Patch by debian
# 2010-01-15: patch submitted upstream:
# https://sourceforge.net/tracker/?func=detail&aid=2894861&group_id=172357&atid=861428
Patch3: recordmydesktop-fix-configure-ac-jack-support.patch
# Use /var/tmp by default for writing large files
# See http://fedoraproject.org/wiki/Features/tmp-on-tmpfs
Patch4: recordmydesktop-var-tmp.patch
BuildRequires: gcc, make, autogen, autoconf
BuildRequires: libXdamage-devel, libSM-devel
BuildRequires: libXext-devel, libXfixes-devel
BuildRequires: alsa-lib-devel, zlib-devel
BuildRequires: libogg-devel, libtheora-devel, libvorbis-devel, jack-audio-connection-kit-devel, alsa-lib-devel
Requires: jack-audio-connection-kit-example-clients, alsa-lib
Requires: libX11, libXdamage, libXfixes, libICE, libSM
%description
recordMyDesktop is a desktop session recorder for linux that attempts to be
easy to use, yet also effective at its primary task.
As such, the program is separated in two parts; a simple command line tool that
performs the basic tasks of capturing and encoding and an interface that
exposes the program functionality in a usable way.
%prep
%setup -q
# seems that shmstr.h was renamed to shmproto.h in Fedora 12
%if 0%{?fedora} >= 12
%patch0 -p1 -b .shmstr.h-to-shmproto.h
%endif
%patch1 -p1 -b .ALSA-default
%patch2 -p1 -b .sane-theora-defaults
%patch3 -p1 -b .fix-configure-ac-jack-support
%patch4
%build
# re-run autoreconf to add support for aarch64
autoreconf -i -f
%configure
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -c -p"
%files
%doc AUTHORS COPYING README ChangeLog
%{_bindir}/*
%{_mandir}/man?/*
%changelog
* Tue Feb 09 2021 James Edington <james@ishygddt.xyz> - 0.3.8-20
- Update BuildRequires
- Update Requires
- Fix typos and clean up spec file
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8.1-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8.1-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8.1-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8.1-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.8.1-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Fri Apr 03 2015 Mat Booth <mat.booth@redhat.com> - 0.3.8.1-14
- Use /var/tmp by default for writing large tmp files, rhbz#1060324
- http://fedoraproject.org/wiki/Features/tmp-on-tmpfs
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.8.1-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.8.1-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.8.1-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Mon Apr 29 2013 Mat Booth <fedora@matbooth.co.uk> - 0.3.8.1-10
- Re-run autoreconf to add support for aarch64, rhbz #926435
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.8.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.8.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.8.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.8.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Tue Feb 02 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.3.8.1-5
- update URL
* Fri Jan 15 2010 Till Maas <opensource@till.name> - 0.3.8.1-4
- fix jack support: https://bugzilla.redhat.com/show_bug.cgi?id=554292
- use default Alsa device: https://bugzilla.redhat.com/show_bug.cgi?id=538853
- use sane theora defaults: https://bugzilla.redhat.com/show_bug.cgi?id=525155
- apply patch0 only for F12 and higher
* Fri Jan 15 2010 Till Maas <opensource@till.name> - 0.3.8.1-3
- Fix SF.net Source0 URL
- Fix BTFS bug with patch from gentoo: https://bugzilla.redhat.com/show_bug.cgi?id=538931
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.8.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Wed Apr 01 2009 Sindre Pedersen Bjørdal <sindrepb@fedoraproject.org> - 0.3.8.1-1
- New upstream release
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.7.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Wed Sep 3 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.3.7.3-2
- fix license tag
* Wed May 28 2008 Sindre Pedersen Bjørdal <sindrepb@fedoraproject.org> - 0.3.7.3-1
- New upstream release
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.3.7-3
- Autorebuild for GCC 4.3
* Tue Jan 22 2008 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.3.7-2
- Add missing jack dependency
* Thu Jan 17 2008 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.3.7-1
- New upstream release
* Sun Dec 02 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.3.6-2
- Add jack support
* Sun Oct 21 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.3.6-1
- New version
- Update URL
* Sat Jun 02 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.3.4-1
- New version 0.3.4
* Mon Mar 05 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.3.3.1-3
- chmod +x on source files to make rpmlint happy
* Mon Mar 05 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.3.3.1-2
- Remove duplicate BR
- Add missing zlib-devel BR
- Preserve timestamps
* Sun Mar 04 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.3.3.1-1
- Initial build