Some minor spec file cleanup

This commit is contained in:
Mat Booth 2015-04-03 09:36:48 +01:00
parent 5a3996114f
commit b931a685bf
2 changed files with 9 additions and 13 deletions

6
.gitignore vendored
View File

@ -1 +1,5 @@
gtk-recordmydesktop-0.3.8.tar.gz /gtk-recordmydesktop-0.3.8.tar.gz
/.project
/noarch
/.build-*.log
/*.src.rpm

View File

@ -2,14 +2,12 @@
Name: gtk-recordmydesktop Name: gtk-recordmydesktop
Version: 0.3.8 Version: 0.3.8
Release: 12%{?dist} Release: 13%{?dist}
Summary: GUI Desktop session recorder with audio and video Summary: GUI Desktop session recorder with audio and video
Group: Applications/Multimedia
License: GPLv2+ License: GPLv2+
URL: http://recordmydesktop.sourceforge.net/ URL: http://recordmydesktop.sourceforge.net/
Source0: http://dl.sourceforge.net/recordmydesktop/%{name}-%{version}.tar.gz Source0: http://dl.sourceforge.net/recordmydesktop/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch BuildArch: noarch
@ -17,7 +15,6 @@ BuildRequires: python-devel, pygtk2-devel
BuildRequires: desktop-file-utils, gettext BuildRequires: desktop-file-utils, gettext
Requires: recordmydesktop >= %{version} Requires: recordmydesktop >= %{version}
%description %description
Graphical frontend for the recordmydesktop desktop session recorder. Graphical frontend for the recordmydesktop desktop session recorder.
@ -38,9 +35,7 @@ sed -i -e 's@"/tmp"@"/var/tmp"@' src/rmdConfig.*
%configure %configure
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -c -p" make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -c -p"
%find_lang gtk-recordMyDesktop %find_lang gtk-recordMyDesktop
@ -50,13 +45,7 @@ desktop-file-install --delete-original \
--remove-category Application \ --remove-category Application \
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
%clean
rm -rf $RPM_BUILD_ROOT
%files -f gtk-recordMyDesktop.lang %files -f gtk-recordMyDesktop.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING README ChangeLog %doc AUTHORS COPYING README ChangeLog
%{_bindir}/* %{_bindir}/*
%{python_sitelib}/* %{python_sitelib}/*
@ -64,6 +53,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/pixmaps/* %{_datadir}/pixmaps/*
%changelog %changelog
* 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 * 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 - Use /var/tmp by default for writing large tmp files, rhbz#1060324
- http://fedoraproject.org/wiki/Features/tmp-on-tmpfs - http://fedoraproject.org/wiki/Features/tmp-on-tmpfs