rpm-recordmydesktop/gtk-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

149 lines
5.5 KiB
RPMSpec

Name: gtk-recordmydesktop
Version: 0.3.8
Release: 20%{?dist}
Summary: GUI Desktop session recorder with audio and video
License: GPLv2+
URL: https://recordmydesktop.sourceforge.net/
Source0: https://downloads.sourceforge.net/recordmydesktop/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: gcc, m4, automake, autogen, autoconf
BuildRequires: pygtk2-devel
BuildRequires: desktop-file-utils, gettext
Requires: recordmydesktop >= %{version}
Requires: pygtk2
%if 0%{?fedora} >= 22
Requires: python27
%elif 0%{?centos} >= 8
Requires: python27
%endif
%description
Graphical frontend for the recordmydesktop desktop session recorder.
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
# Use /var/tmp by default
sed -i -e 's@"/tmp"@"/var/tmp"@' src/rmdConfig.*
# Clean up interpreter shebang
sed -i -e 's@^#!/usr/bin/python$@#!/usr/bin/env python2@' src/gtk-recordMyDesktop.in
%build
%configure
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -c -p"
%find_lang gtk-recordMyDesktop
desktop-file-install --delete-original \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--remove-category Application \
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
%files -f gtk-recordMyDesktop.lang
%doc AUTHORS COPYING README ChangeLog
%{_bindir}/*
%{python2_sitelib}/*
%{_datadir}/applications/*
%{_datadir}/pixmaps/*
%changelog
* Tue Feb 09 2021 James Edington <james@ishygddt.xyz> - 0.3.8-20
- Fix shebang for https://developers.redhat.com/blog/2018/11/14/python-in-rhel-8/#Why_not_just_Python
- Update BuildRequires
- Fix typos and clean up spec file
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.8-17
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Mon Nov 30 2015 Mat Booth <mat.booth@redhat.com> - 0.3.8-15
- Add missing R: pygtk2
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.8-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Fri Apr 03 2015 Mat Booth <mat.booth@redhat.com> - 0.3.8-13
- Some minor spec file cleanup
* Fri Apr 03 2015 Mat Booth <mat.booth@redhat.com> - 0.3.8-12
- Use /var/tmp by default for writing large tmp files, rhbz#1060324
- http://fedoraproject.org/wiki/Features/tmp-on-tmpfs
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.8-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.8-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Tue Apr 23 2013 Jon Ciesla <limburgher@gmail.com> - 0.3.8-9
- Drop desktop vendor tag.
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.8-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.8-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.8-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Mon Jun 13 2011 Mat Booth <fedora@matbooth.co.uk> 0.3.8-5
- Fix URL.
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.8-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.3.8-3
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.8-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
- New upstream release
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.7.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.3.7.2-3
- Rebuild for Python 2.6
* Wed May 28 2008 Sindre Pedersen Bjørdal <sindrepb@fedoraproject.org> - 0.3.7.2-2
- New upstream release
* Thu Jan 17 2008 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.3.7-1
- New upstream release
* 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
* Tue Mar 06 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.3.3.1-2
- Preserve timestamps
* Mon Mar 05 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.3.3.1-2
- Add missing BR
* Sun Mar 04 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.3.3.1-1
- Initial build