[svn] r5272 - in trunk/rpms: biew cboard gq hardinfo scons

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Mon Apr 16 13:28:53 CEST 2007


Author: dag
Date: 2007-04-16 13:28:52 +0200 (Mon, 16 Apr 2007)
New Revision: 5272

Modified:
   trunk/rpms/biew/biew.spec
   trunk/rpms/cboard/cboard.spec
   trunk/rpms/gq/gq.spec
   trunk/rpms/hardinfo/hardinfo.spec
   trunk/rpms/scons/scons.spec
Log:
Updates

Modified: trunk/rpms/biew/biew.spec
===================================================================
--- trunk/rpms/biew/biew.spec	2007-04-16 10:48:32 UTC (rev 5271)
+++ trunk/rpms/biew/biew.spec	2007-04-16 11:28:52 UTC (rev 5272)
@@ -2,17 +2,16 @@
 # Authority: dag
 # Upstream: <biew-general$lists,sf,net>
 
-%define real_version 562
-
 Summary: Console hex viewer/editor with disassembler
 Name: biew
-Version: 5.6.3
+%define real_version 564
+Version: 5.6.4
 Release: 1
 License: GPL
 Group: Applications/Editors
 URL: http://biew.sourceforge.net/
 
-Source: http://dl.sf.net/biew/biew%{real_version}.tar.bz2
+Source: http://dl.sf.net/biew/biew-%{real_version}.tar.bz2
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 
 ExcludeArch: sparc sparc64
@@ -33,6 +32,7 @@
 %{__perl} -pi.orig -e 's|/usr/local|%{_prefix}|' biewlib/sysdep/generic/unix/os_dep.c
 
 %build
+%configure
 %{__make} %{?_smp_mflags}
 
 %install
@@ -54,6 +54,9 @@
 %{_datadir}/biew/
 
 %changelog
+* Sun Apr 15 2007 Dag Wieers <dag at wieers.com> - 5.6.4-1
+- Updated to release 5.6.4.
+
 * Sun Apr 01 2007 Dag Wieers <dag at wieers.com> - 5.6.3-1
 - Updated to release 5.6.3.
 

Modified: trunk/rpms/cboard/cboard.spec
===================================================================
--- trunk/rpms/cboard/cboard.spec	2007-04-16 10:48:32 UTC (rev 5271)
+++ trunk/rpms/cboard/cboard.spec	2007-04-16 11:28:52 UTC (rev 5272)
@@ -25,12 +25,13 @@
 %setup
 
 %build
-%configure
+%configure \
+	--program-prefix="%{?_program_prefix}"
 %{__make} %{?_smp_mflags}
 
 %install
 %{__rm} -rf %{buildroot}
-%makeinstall
+%{__make} install DESTDIR="%{buildroot}"
 
 %clean
 %{__rm} -rf %{buildroot}
@@ -38,7 +39,7 @@
 %files
 %defattr(-, root, root, 0755)
 %doc ChangeLog COPYING INSTALL NEWS README THANKS TODO
-%doc %{_mandir}/man6/cboard*
+%doc %{_mandir}/man6/cboard*.6*
 %{_bindir}/cboard
 %{_datadir}/cboard/
 

Modified: trunk/rpms/gq/gq.spec
===================================================================
--- trunk/rpms/gq/gq.spec	2007-04-16 10:48:32 UTC (rev 5271)
+++ trunk/rpms/gq/gq.spec	2007-04-16 11:28:52 UTC (rev 5272)
@@ -8,22 +8,25 @@
 %{?el2:%define _without_freedesktop 1}
 
 %define desktop_vendor rpmforge
+%define langpack_version 1.2.1
 
 Summary: graphical LDAP directory browser and editor
 Name: gq
-Version: 1.2.1
+Version: 1.2.2
 Release: 1
 License: GPL
 Group: Applications/Internet
 URL: http://biot.com/gq/
 
-Source: http://dl.sf.net/gqclient/gq-%{version}.tar.gz
+Source0: http://dl.sf.net/gqclient/gq-%{version}.tar.gz
+Source1: http://dl.sf.net/sourceforge/gqclient/gq-%{langpack_version}-langpack-1.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 
 BuildRequires: glib2-devel >= 2.6, gtk2-devel >= 2.6, openldap-devel
 BuildRequires: gnome-keyring-devel  >= 0.4.4, libglade2-devel
 BuildRequires: krb5-devel, openssl-devel, libxml2-devel, perl(XML::Parser)
 %{!?_without_freedesktop:BuildRequires: desktop-file-utils}
+BuildRequires: gettext,
 
 %description
 GQ is a graphical browser for LDAP directories and schemas.  Using GQ,
@@ -32,6 +35,7 @@
 
 %prep
 %setup
+%setup -T -D -a 1
 
 %{__cat} <<EOF >src/gq.desktop
 [Desktop Entry]
@@ -45,17 +49,21 @@
 Categories=GNOME;Application;System;
 EOF
 
+gq-%{langpack_version}-langpack-1/langpack .
+%{__cp} -av gq-%{langpack_version}-langpack-1/po/LINGUAS po/
+
 %build
 %configure \
 	--enable-cache \
 	--enable-browser-dnd \
-	--disable-update-mimedb
+	--disable-update-mimedb \
+	--with-included-gettext
 %{__make} %{?_smp_mflags}
 
 %install
 %{__rm} -rf %{buildroot}
 %{__make} install DESTDIR="%{buildroot}"
-#find_lang %{name}
+%find_lang %{name}
 
 %if %{!?_without_freedesktop:1}0
 	%{__install} -d -m0755 %{buildroot}%{_datadir}/applications/
@@ -65,22 +73,30 @@
 		%{buildroot}%{_datadir}/applications/gq.desktop
 %endif
 
+%post
+update-mime-database %{_datadir}/mime &>/dev/null || :
+
+%postun
+update-mime-database %{_datadir}/mime &>/dev/null || :
+
 %clean
 %{__rm} -rf %{buildroot}
 
 
-%files
-# -f %{name}.lang
+%files -f %{name}.lang
 %defattr(-, root, root, 0755)
 %doc AUTHORS ChangeLog COPYING NEWS README* TODO
-%{_bindir}/*
-%{_datadir}/pixmaps/%{name}/
+%{_bindir}/gq
 %{_datadir}/gq/
 %{_datadir}/mime/packages/gq-ldif.xml
+%{_datadir}/pixmaps/gq/
 %{!?_without_freedesktop:%{_datadir}/applications/%{desktop_vendor}-gq.desktop}
 %{?_without_freedesktop:%{_datadir}/gnome/apps/Internet/gq.desktop}
 
 %changelog
+* Mon Apr 16 2007 Dag Wieers <dag at wieers.com> - 1.2.2-1
+- Updated to release 1.2.2. 
+
 * Mon Oct 09 2006 Dries Verachtert <dries at ulyssis.org> - 1.2.1-1
 - Updated to release 1.2.1. 
 

Modified: trunk/rpms/hardinfo/hardinfo.spec
===================================================================
--- trunk/rpms/hardinfo/hardinfo.spec	2007-04-16 10:48:32 UTC (rev 5271)
+++ trunk/rpms/hardinfo/hardinfo.spec	2007-04-16 11:28:52 UTC (rev 5272)
@@ -11,7 +11,7 @@
 
 Summary: Displays information about your hardware and operating system
 Name: hardinfo
-Version: 0.4.1
+Version: 0.4.2.1
 Release: 1
 License: GPL
 Group: Applications/System
@@ -32,16 +32,7 @@
 %prep
 %setup
 
-%{__cat} <<EOF >hardinfo.desktop
-[Desktop Entry]
-Name=Hardware Information
-Comment=Display information about your hardware and operating system
-Icon=gnome-settings.png
-Exec=hardinfo
-Terminal=false
-Type=Application
-Categories=Application;Utility;System;
-EOF
+%{__perl} -pi.orig -e 's|/lib\b|/%{_lib}|g' Makefile.in
 
 %build
 %configure
@@ -49,36 +40,26 @@
 
 %install
 %{__rm} -rf %{buildroot}
+%{__make} install DESTDIR="%{buildroot}"
 
-### FIXME: Create directory as make install doesn't do that.
-%{__install} -d -m0755 %{buildroot}%{_bindir}
-%makeinstall
-
-%if %{?_without_freedesktop:1}0
-        %{__install} -Dp -m0644 hardinfo.desktop %{buildroot}%{_datadir}/gnome/apps/System/hardinfo.desktop
-%else
-	%{__install} -d -m0755 %{buildroot}%{_datadir}/applications/
-	desktop-file-install --vendor %{desktop_vendor}    \
-		--add-category X-Red-Hat-Base              \
-		--dir %{buildroot}%{_datadir}/applications \
-		%{name}.desktop
-%endif
-
 %clean
 %{__rm} -rf %{buildroot}
 
 %files
 %defattr(-, root, root, 0755)
-%doc ChangeLog
-%{_bindir}/*
+%doc LICENSE
+%{_bindir}/hardinfo
+%{_datadir}/applications/hardinfo.desktop
 %{_datadir}/hardinfo/
-%if %{?_without_freedesktop:1}0
-	%{_datadir}/gnome/apps/System/*.desktop
-%else
-	%{_datadir}/applications/*.desktop
-%endif
+%{_libdir}/hardinfo/
 
 %changelog
+* Sun Apr 15 2007 Dag Wieers <dag at wieers.com> - 0.4.2.1-1
+- Updated to release 0.4.2.1.
+
+* Wed Apr 04 2007 Dag Wieers <dag at wieers.com> - 0.4.2-1
+- Updated to release 0.4.2.
+
 * Tue Jun 20 2006 Dag Wieers <dag at wieers.com> - 0.4.1-1
 - Updated to release 0.4.1.
 

Modified: trunk/rpms/scons/scons.spec
===================================================================
--- trunk/rpms/scons/scons.spec	2007-04-16 10:48:32 UTC (rev 5271)
+++ trunk/rpms/scons/scons.spec	2007-04-16 11:28:52 UTC (rev 5272)
@@ -3,8 +3,8 @@
 
 %{?dist: %{expand: %%define %dist 1}}
 
-%{rh7:%define _with_python15 1}
-%{el2:%define _with_python15 1}
+%{?rh7:%define _with_python15 1}
+%{?el2:%define _with_python15 1}
 
 Summary: Software CONStruction tool, next-generation build tool
 Name: scons



More information about the svn-commits mailing list