[tw] Update to 0.9.8
Juan Manuel Borges Caño
juanmabc at fedoraproject.org
Thu Jan 17 19:13:34 UTC 2013
commit 7130526a8945c67aeec3304e0a611eac038d1b00
Author: Juan Manuel Borges Caño <juanmabcmail at gmail.com>
Date: Thu Jan 17 20:13:17 2013 +0100
Update to 0.9.8
.gitignore | 1 +
sources | 2 +-
tw.spec | 35 +++++++++++++++++++++--------------
3 files changed, 23 insertions(+), 15 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e094d46..2152edc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/tw-0.9.4.tar.bz2
+/tw-0.9.8.tar.bz2
diff --git a/sources b/sources
index 04e970e..e060e7e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-95ea0be3a831f00546de2be041c09264 tw-0.9.4.tar.bz2
+2718d265ecb9f0ae5a9b30cd486368ed tw-0.9.8.tar.bz2
diff --git a/tw.spec b/tw.spec
index fab601f..d91edc8 100644
--- a/tw.spec
+++ b/tw.spec
@@ -1,6 +1,6 @@
Name: tw
-Version: 0.9.4
-Release: 7%{?dist}
+Version: 0.9.8
+Release: 1%{?dist}
Summary: Translate words into different languages
License: GPLv3+
@@ -25,10 +25,10 @@ Requires(post): info
Requires(preun): info
%description
-Translates words into different languages. It uses internal dictionaries,
-and contacts online to the Google Translation and the FreeTranslation
-engines. It can also be integrated via the clipboard with a desktop
-environment.
+translate word is a command that translates words into different
+languages. translate word uses internal dictionaries, and contacts
+online to the Google Translation and the FreeTranslation engines.
+It can also be integrated via the clipboard with a desktop environment.
%prep
@@ -36,15 +36,13 @@ environment.
%build
-%configure
+%configure --docdir %{_docdir}/%{name}-%{version}
make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
export AM_UPDATE_INFO_DIR=no
make install DESTDIR=$RPM_BUILD_ROOT
-mv $RPM_BUILD_ROOT%{_docdir}/%{name} $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
%post
@@ -60,14 +58,23 @@ fi
%files
%{_bindir}/%{name}
%{_bindir}/%{name}-config-klipper
+%{_bindir}/%{name}-config-gtw
%{_bindir}/mythes
%{_datadir}/%{name}
%{_docdir}/%{name}-%{version}
-%{_infodir}/%{name}.info.gz
-%{_mandir}/man1/%{name}.1.gz
+%{_infodir}/%{name}.info.*
+%{_mandir}/man1/%{name}.1.*
%changelog
+* Mon Jan 02 2013 Juan Manuel Borges Caño <juanmabcmail at gmail.com> - 0.9.8-1
+- Improve doc install.
+- Fix changelog macros.
+
+* Mon Dec 31 2012 Juan Manuel Borges Caño <juanmabcmail at gmail.com> - 0.9.6-1
+- Use more generic man and info %%files.
+- Remove obsolete "rm -rf $RPM_BUILD_ROOT".
+
* Mon Dec 13 2012 Juan Manuel Borges Caño <juanmabcmail at gmail.com> - 0.9.4-7
- Use GPLv3+.
- Omit deprecated stuff like BuildRoot, Group, clean and defattr.
@@ -92,9 +99,9 @@ fi
- In BuildRequires tag, omit coreutils, bash and sed. as per Guidelines#Exceptions.
- BuildRequires and Requires entries listed one-by-one for a better spec legibility.
- Fix Source* tag to the full URL for the compressed archive containing the (original) pristine source code.
-- Fix license to GPLv3
-- Add Changelog
+- Fix license to GPLv3.
+- Add Changelog.
* Mon Dec 10 2012 Juan Manuel Borges Caño <juanmabcmail at gmail.com> - 0.9.4-1
-- Fedora review request (bug 885833)
+- Fedora review request (bug 885833).
More information about the scm-commits
mailing list