From b931a685bff7b6768b899be040e20fbf7ab5b731 Mon Sep 17 00:00:00 2001 From: Mat Booth Date: Fri, 3 Apr 2015 09:36:48 +0100 Subject: [PATCH] Some minor spec file cleanup --- .gitignore | 6 +++++- gtk-recordmydesktop.spec | 16 ++++------------ 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index 69d257d..e6d952c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,5 @@ -gtk-recordmydesktop-0.3.8.tar.gz +/gtk-recordmydesktop-0.3.8.tar.gz +/.project +/noarch +/.build-*.log +/*.src.rpm diff --git a/gtk-recordmydesktop.spec b/gtk-recordmydesktop.spec index 9c37c5a..a43c576 100644 --- a/gtk-recordmydesktop.spec +++ b/gtk-recordmydesktop.spec @@ -2,14 +2,12 @@ Name: gtk-recordmydesktop Version: 0.3.8 -Release: 12%{?dist} +Release: 13%{?dist} Summary: GUI Desktop session recorder with audio and video -Group: Applications/Multimedia License: GPLv2+ URL: http://recordmydesktop.sourceforge.net/ Source0: http://dl.sourceforge.net/recordmydesktop/%{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -17,7 +15,6 @@ BuildRequires: python-devel, pygtk2-devel BuildRequires: desktop-file-utils, gettext Requires: recordmydesktop >= %{version} - %description Graphical frontend for the recordmydesktop desktop session recorder. @@ -38,9 +35,7 @@ sed -i -e 's@"/tmp"@"/var/tmp"@' src/rmdConfig.* %configure make %{?_smp_mflags} - %install -rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -c -p" %find_lang gtk-recordMyDesktop @@ -50,13 +45,7 @@ desktop-file-install --delete-original \ --remove-category Application \ $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop - -%clean -rm -rf $RPM_BUILD_ROOT - - %files -f gtk-recordMyDesktop.lang -%defattr(-,root,root,-) %doc AUTHORS COPYING README ChangeLog %{_bindir}/* %{python_sitelib}/* @@ -64,6 +53,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/pixmaps/* %changelog +* Fri Apr 03 2015 Mat Booth - 0.3.8-13 +- Some minor spec file cleanup + * Fri Apr 03 2015 Mat Booth - 0.3.8-12 - Use /var/tmp by default for writing large tmp files, rhbz#1060324 - http://fedoraproject.org/wiki/Features/tmp-on-tmpfs