[qstardict] - Update to 1.0 - Other specfile cleanups

cheeselee cheeselee at fedoraproject.org
Sun Jul 31 11:35:45 UTC 2011


commit a4f3c2ab3788ed32124752fc55a2f1649c5dcd05
Author: Robin Lee <cheeselee at fedoraproject.org>
Date:   Sun Jul 31 19:35:27 2011 +0800

    - Update to 1.0
    - Other specfile cleanups

 .gitignore                 |    1 +
 qstardict-dictziplib.patch |   11 -----------
 qstardict.spec             |   18 ++++++------------
 sources                    |    2 +-
 4 files changed, 8 insertions(+), 24 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 14214cb..66d6ea8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 qstardict-0.13.1.tar.bz2
+/qstardict-1.0.tar.bz2
diff --git a/qstardict.spec b/qstardict.spec
index e2f0e0a..816bc4a 100644
--- a/qstardict.spec
+++ b/qstardict.spec
@@ -1,6 +1,6 @@
 Name:       qstardict
-Version:    0.13.1
-Release:    4%{?dist}
+Version:    1.0
+Release:    1%{?dist}
 Summary:    StarDict clone written using Qt4
 License:    GPLv2+
 Group:      Applications/System
@@ -8,11 +8,7 @@ URL:        http://qstardict.ylsoftware.com/
 Source0:    http://qstardict.ylsoftware.com/files/%{name}-%{version}.tar.bz2
 # include a manpage from Debian
 Source1:    qstardict.1
-# fixed macro in stardict plugin. probably not compatible with gcc-4.4.1
-# applied in upstream svn447
-Patch0:     qstardict-dictziplib.patch
 
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  glib2-devel
 BuildRequires:  desktop-file-utils
 BuildRequires:  kdelibs4-devel
@@ -41,7 +37,6 @@ This package contains KDE plasma applet of qstardict.
 
 %prep
 %setup -q
-%patch0 -p1 -b .fix
 
 %build
 %_qt4_qmake PLUGINS_DIR=%{_libdir}/%{name}/plugins LIBS+=" -lX11"
@@ -56,7 +51,6 @@ popd
 make %{?_smp_mflags} -C %{_target_platform}
 
 %install
-rm -fr %{buildroot}
 make install INSTALL_ROOT=%{buildroot}
 
 pushd kdeplasma
@@ -72,11 +66,7 @@ install -p -m 644 %SOURCE1 %{buildroot}%{_datadir}/man/man1/
 
 rm -fr %{buildroot}%{_docdir}
 
-%clean
-rm -rf %{buildroot}
-
 %files
-%defattr(-,root,root,-)
 %doc AUTHORS COPYING ChangeLog README THANKS
 %{_bindir}/%{name}
 %{_libdir}/%{name}
@@ -93,6 +83,10 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Sun Jul 31 2011 Robin Lee <cheeselee at fedoraproject.org> - 1.0-1
+- Update to 1.0
+- Other specfile cleanups
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.13.1-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index 44a8252..764860a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0828c3fa01c5237db8a67d356a9d1a8c  qstardict-0.13.1.tar.bz2
+07f97bd61a5f64f0c8f80f68bd1ed07c  qstardict-1.0.tar.bz2


More information about the scm-commits mailing list