[svn] r5190 - in trunk/rpms: . ipmitool leafpad ushare

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Wed Feb 21 02:39:47 CET 2007


Author: dag
Date: 2007-02-21 02:39:46 +0100 (Wed, 21 Feb 2007)
New Revision: 5190

Added:
   trunk/rpms/leafpad/
   trunk/rpms/leafpad/leafpad.spec
Modified:
   trunk/rpms/ipmitool/ipmitool.spec
   trunk/rpms/ushare/ushare.spec
Log:
Updates

Modified: trunk/rpms/ipmitool/ipmitool.spec
===================================================================
--- trunk/rpms/ipmitool/ipmitool.spec	2007-02-21 00:57:58 UTC (rev 5189)
+++ trunk/rpms/ipmitool/ipmitool.spec	2007-02-21 01:39:46 UTC (rev 5190)
@@ -1,6 +1,8 @@
 # $Id$
 # Authority: dag
 
+### FIXME: Added included sysv scripts.
+
 Summary: Utility for IPMI control
 Name: ipmitool
 Version: 1.8.8
@@ -13,25 +15,27 @@
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
 
 %description
-This package contains a utility for interfacing with devices that support
-the Intelligent Platform Management Interface specification.  IPMI is
-an open standard for machine health, inventory, and remote power control.
+ipmitool is a utility for interfacing with devices that support the
+Intelligent Platform Management Interface specification. IPMI is an
+open standard for machine health, inventory, and remote power control.
 
-This utility can communicate with IPMI-enabled devices through either a
+ipmitool can communicate with IPMI-enabled devices through either a
 kernel driver such as OpenIPMI or over the RMCP LAN protocol defined in
 the IPMI specification.  IPMIv2 adds support for encrypted LAN
 communications and remote Serial-over-LAN functionality.
 
 It provides commands for reading the Sensor Data Repository (SDR) and
 displaying sensor values, displaying the contents of the System Event
-Log (SEL), printing Field Replaceable Unit (FRU) information, reading and
-setting LAN configuration, and chassis power control.
+Log (SEL), printing Field Replaceable Unit (FRU) information, reading
+and setting LAN configuration, and chassis power control.
 
 %prep
 %setup
 
 %build
-%configure --with-kerneldir
+%configure \
+	--program-prefix="%{?_program_prefix}" \
+	--with-kerneldir
 %{__make} %{?_smp_mflags}
 
 %install

Added: trunk/rpms/leafpad/leafpad.spec
===================================================================
--- trunk/rpms/leafpad/leafpad.spec	                        (rev 0)
+++ trunk/rpms/leafpad/leafpad.spec	2007-02-21 01:39:46 UTC (rev 5190)
@@ -0,0 +1,71 @@
+# $Id$
+# Authority: dag
+
+%{?dist: %{expand: %%define %dist 1}}
+
+%{?rh7:%define _without_freedesktop 1}
+
+Summary: Simple graphical text editor
+Name: leafpad
+Version: 0.8.9
+Release: 1
+License: GPL
+Group: Applications/Editors
+URL: http://tarot.freeshell.org/leafpad/
+
+Source: http://savannah.nongnu.org/download/leafpad/leafpad-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: gtk2-devel >= 2.0
+%{!?_without_freedesktop:BuildRequires: desktop-file-utils}
+%{!?_without_freedesktop:Requires: desktop-file-utils}
+
+%description
+Leafpad is a GTK+ based simple text editor. The user interface is similar to
+Notepad. It aims to be lighter than GEdit and KWrite, and to be as useful as
+them.
+
+%prep
+%setup
+%{__cat} <<EOF >>leafpad.desktop
+StartupNotify=true
+GenericName=Text Editor
+EOF
+
+%build
+%configure --enable-chooser
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} install DESTDIR="%{buildroot}"
+%find_lang %{name}
+
+%if %{!?_without_freedesktop:1}0
+	desktop-file-install --delete-original             \
+		--vendor=%{desktop_vendor}                 \
+		--add-category GTK                         \
+		--dir %{buildroot}%{_datadir}/applications \
+		%{buildroot}%{_datadir}/applications/leafpad.desktop
+%endif
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%post
+update-desktop-database || :
+
+%postun
+update-desktop-database || :
+
+%files -f %{name}.lang
+%defattr(-, root, root, 0755)
+%{_bindir}/leafpad
+%{!?_without_freedesktop:%{_datadir}/applications/%{desktop_vendor}-leafpad.desktop}
+%{?_without_freedesktop:%{_datadir}/applications/leafpad.desktop}
+%{_datadir}/pixmaps/leafpad.png
+%{_datadir}/pixmaps/leafpad.xpm
+
+%changelog
+* Wed Feb 21 2007 Dag Wieers <dag at wieers.com> - 0.8.9-1
+- Initial package. (using DAR)


Property changes on: trunk/rpms/leafpad/leafpad.spec
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native

Modified: trunk/rpms/ushare/ushare.spec
===================================================================
--- trunk/rpms/ushare/ushare.spec	2007-02-21 00:57:58 UTC (rev 5189)
+++ trunk/rpms/ushare/ushare.spec	2007-02-21 01:39:46 UTC (rev 5190)
@@ -14,7 +14,7 @@
 Source: http://ushare.geexbox.org/releases/ushare-%{version}.tar.bz2
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 
-BuildRequires: libupnp-devel
+BuildRequires: pkgconfig >= 0.9.0, libupnp-devel
 Requires(post): /sbin/chkconfig
 Requires(preun): /sbin/service, /sbin/chkconfig
 Requires(postun): /sbin/service



More information about the svn-commits mailing list