SPECS (DEVEL): hal.spec - updated to todays snap from git
deejay1
deejay1 at pld-linux.org
Sun Aug 5 11:32:56 CEST 2007
Author: deejay1 Date: Sun Aug 5 09:32:56 2007 GMT
Module: SPECS Tag: DEVEL
---- Log message:
- updated to todays snap from git
---- Files affected:
SPECS:
hal.spec (1.140 -> 1.140.2.1)
---- Diffs:
================================================================
Index: SPECS/hal.spec
diff -u SPECS/hal.spec:1.140 SPECS/hal.spec:1.140.2.1
--- SPECS/hal.spec:1.140 Thu Jul 19 22:58:44 2007
+++ SPECS/hal.spec Sun Aug 5 11:32:50 2007
@@ -1,27 +1,29 @@
# $Revision$, $Date$
+# TODO:
+# - review patches
#
# Conditional build:
%bcond_without doc # disable documentation building
#
+%define _snap 20070805
Summary: HAL - Hardware Abstraction Layer
Summary(pl.UTF-8): HAL - abstrakcyjna warstwa dostÄpu do sprzÄtu
Name: hal
-Version: 0.5.9.1
-Release: 2
+Version: 0.5.10
+Release: 0.%{_snap}.1
License: AFL v2.0 or GPL v2
Group: Libraries
-Source0: http://freedesktop.org/~david/dist/%{name}-%{version}.tar.gz
-# Source0-md5: 6a40f49f964e64358e53652038f3059f
+#Source0: http://freedesktop.org/~david/dist/%{name}-20070805.tar.bz2
+Source0: %{name}-%{_snap}.tar.bz2
+# Source0-md5: af1d2d33f3857dfa6180ed7cd141c3e3
Source1: %{name}daemon.init
Source2: %{name}d.sysconfig
-Source3: %{name}-device-manager.desktop
-Source4: %{name}-storage-policy-fixed-drives.fdi
-Patch0: %{name}-device_manager.patch
-Patch1: %{name}-tools.patch
-Patch2: %{name}-parted.patch
+Source3: %{name}-storage-policy-fixed-drives.fdi
+Patch0: %{name}-tools.patch
+Patch1: %{name}-parted.patch
URL: http://freedesktop.org/Software/hal
#BuildRequires: ConsoleKit-devel
-BuildRequires: PolicyKit-devel >= 0.2
+BuildRequires: PolicyKit-devel >= 0.5
BuildRequires: autoconf >= 2.57
BuildRequires: automake
BuildRequires: dbus-glib-devel >= 0.71
@@ -122,30 +124,12 @@
%description apidocs -l pl.UTF-8
Dokumentacja API biblioteki HAL.
-%package device-manager
-Summary: HAL device manager for GNOME
-Summary(pl.UTF-8): ZarzÄ
dca urzÄ
dzeĹ HALa dla GNOME
-Group: X11/Applications
-Requires: %{name} = %{version}-%{release}
-Requires: python-gnome-ui
-Requires: python-gnome-vfs
-Requires: python-pygtk-glade
-
-%description device-manager
-GNOME program for displaying devices detected by HAL.
-
-%description device-manager -l pl.UTF-8
-Program dla GNOME wyĹwietlajÄ
cy urzÄ
dzenia wykryte przez HAL.
-
%prep
-%setup -q
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
+%setup -q -n %{name}
+#%%patch0 -p1
+#%%patch1 -p1
%build
-%{__glib_gettextize}
-%{__intltoolize}
%{__libtoolize}
%{__aclocal}
%{__autoheader}
@@ -160,7 +144,7 @@
--enable-pcmcia-support \
--enable-selinux \
--enable-policy-kit \
- --disable-console-kit \
+ --enable-console-kit \
--enable-parted \
--enable-acpi-ibm \
--enable-acpi-toshiba \
@@ -188,21 +172,18 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT%{_datadir}/hal/device-manager -name "*.py" -exec rm -f {} \;
+#find $RPM_BUILD_ROOT%{_datadir}/hal/device-manager -name "*.py" -exec rm -f {} \;
install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/haldaemon
install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/hald
-install %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}
# policy file to ignore fixed disks.
-install %{SOURCE4} \
+install %{SOURCE3} \
$RPM_BUILD_ROOT%{_datadir}/%{name}/fdi/policy/10osvendor/99-storage-policy-fixed-drives.fdi
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/hotplug.d
rm -rf $RPM_BUILD_ROOT%{_libdir}/hal.hotplug
-mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sl{_SI,}
-%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -225,19 +206,21 @@
%postun libs -p /sbin/ldconfig
-%files -f %{name}.lang
+%files
%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README doc/TODO
+%doc AUTHORS NEWS README doc/TODO
%attr(755,root,root) %{_bindir}/hal-device
%attr(755,root,root) %{_bindir}/hal-disable-polling
%attr(755,root,root) %{_bindir}/hal-find-by-capability
%attr(755,root,root) %{_bindir}/hal-find-by-property
%attr(755,root,root) %{_bindir}/hal-get-property
%attr(755,root,root) %{_bindir}/hal-is-caller-locked-out
+%attr(755,root,root) %{_bindir}/hal-is-caller-privileged
%attr(755,root,root) %{_bindir}/hal-lock
%attr(755,root,root) %{_bindir}/hal-set-property
%attr(755,root,root) %{_bindir}/lshal
%attr(755,root,root) %{_sbindir}/hald
+%attr(755,root,root) /sbin/umount.hal
%attr(755,root,root) %{_libdir}/hald-*
%attr(755,root,root) %{_libexecdir}/hal-*
%dir %{_libdir}/hal
@@ -251,7 +234,7 @@
%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/hald
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dbus*/system.d/hal.conf
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/90-hal.rules
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/PolicyKit/privilege.d/hal-*.privilege
+%config(noreplace) %verify(not md5 mtime size) %{_datadir}/PolicyKit/policy/*.policy
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/fdi
@@ -288,21 +271,15 @@
%{_gtkdocdir}/libhal
%{_gtkdocdir}/libhal-storage
-%files device-manager
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/hal-device-manager
-%dir %{_datadir}/%{name}/device-manager
-%{_datadir}/%{name}/device-manager/*.py[co]
-%{_datadir}/%{name}/device-manager/*.png
-%{_datadir}/%{name}/device-manager/*.glade
-%{_desktopdir}/*.desktop
-
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.140.2.1 2007/08/05 09:32:50 deejay1
+- updated to todays snap from git
+
Revision 1.140 2007/07/19 20:58:44 arekm
- rel 2; macbooks x8684/x86 only
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/hal.spec?r1=1.140&r2=1.140.2.1&f=u
More information about the pld-cvs-commit
mailing list