SPECS: ivman.spec (NEW) - new spec from Dariusz W³odarczyk (milley...

jpc jpc at pld-linux.org
Mon Nov 21 18:02:28 CET 2005


Author: jpc                          Date: Mon Nov 21 17:02:28 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new spec from Dariusz Włodarczyk (milley AT hostyn DOT pl)

---- Files affected:
SPECS:
   ivman.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/ivman.spec
diff -u /dev/null SPECS/ivman.spec:1.1
--- /dev/null	Mon Nov 21 18:02:28 2005
+++ SPECS/ivman.spec	Mon Nov 21 18:02:23 2005
@@ -0,0 +1,168 @@
+# $Revision$, $Date$
+Summary:	An extremely flexible desktop independent frontend to HAL
+Summary(pl):	Wysoce konfigurowalny, niezależny od menadżera okien frontend do HAL
+Name:		ivman
+Version:	0.6.5
+Release:	1
+License:	GPL
+Group:		Daemons
+Source0:	http://dl.sourceforge.net/ivman/%{name}-%{version}.tar.bz2
+# Source0-md5:	0d83d1d5df716c120de201d5cf3e6e9b
+Source1:	%{name}.init
+URL:		http://ivman.sourceforge.net
+BuildRequires:	dbus-devel >= 0.34
+BuildRequires:	dbus-glib-devel >= 0.3
+BuildRequires:	glib2-devel >= 2.6
+BuildRequires:	hal-devel >= 0.4
+BuildRequires:	libxml2-devel >= 2.6.17
+Requires(post,preun):	rc-scripts >= 0.2.0
+Requires(post,preun):	/sbin/chkconfig
+Requires(pre):  /bin/id
+Requires(pre):  /usr/bin/getgid
+Requires(pre):  /usr/sbin/useradd
+Requires(pre):  /usr/sbin/groupadd
+Requires(postun):	/usr/sbin/userdel
+Requires(postun):	/usr/sbin/groupdel
+Requires:	hal >= 0.4
+Provides:	user(ivman)
+Provides:	group(plugdev)
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Ivman is an extremely flexible desktop independent frontend to HAL,
+the userspace Hardware Abstraction Layer for Linux. It can be used to
+execute arbitrary commands when devices are added to or removed from
+your system, when device properties change, or when devices emit
+conditions. Any properties of the new or changed device can be
+included within the executed command.
+
+%description -l pl
+Ivman jest wysoce konfigurowalnym frontendem do HAL (Hardware
+Abstraction Layer). Może być używany do wykonywania poleceń podczas
+dodawania, usuwania urządzeń, zmiany ich właściwości bądź też w
+odpowiedzi na komunikaty pochodzące od urządzeń. Wszelkie właściwości
+urządzenia mogą być wykorzystane w wykonywanym poleceniu.
+
+%package devel
+Summary:	Development files for ivman
+Summary(pl):	Pliki niezbędne programistom dla ivman
+Group:		Development/Libraries
+Requires:	%{name} = %{version}
+
+%description devel
+Ivman is an extremely flexible desktop independent frontend to HAL,
+the userspace Hardware Abstraction Layer for Linux. It can be used to
+execute arbitrary commands when devices are added to or removed from
+your system, when device properties change, or when devices emit
+conditions. Any properties of the new or changed device can be
+included within the executed command. This package contains files need
+for development.
+
+%description devel -l pl
+Ivman jest wysoce konfigurowalnym frontendem do HAL (Hardware
+Abstraction Layer). Może być używany do wykonywania poleceń podczas
+dodawania, usuwania urządzeń, zmiany ich właściwości bądź też w
+odpowiedzi na komunikaty pochodzące od urządzeń. Wszelkie właściwości
+urządzenia mogą być wykorzystane w wykonywanym poleceniu. Ten pakiet
+zawiera pliki niezbędne programistom.
+
+%package static
+Summary:	Static libraries for ivman
+Summary(pl):	Biblioteki statyczne dla ivman
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}
+
+%description static
+Ivman is an extremely flexible desktop independent frontend to HAL,
+the userspace Hardware Abstraction Layer for Linux. It can be used to
+execute arbitrary commands when devices are added to or removed from
+your system, when device properties change, or when devices emit
+conditions. Any properties of the new or changed device can be
+included within the executed command. This package contains static
+libraries.
+
+%description static -l pl
+Ivman jest wysoce konfigurowalnym frontendem do HAL (Hardware
+Abstraction Layer). Może być używany do wykonywania poleceń podczas
+dodawania, usuwania urządzeń, zmiany ich właściwości bądź też w
+odpowiedzi na komunikaty pochodzące od urządzeń. Wszelkie właściwości
+urządzenia mogą być wykorzystane w wykonywanym poleceniu. Ten pakiet
+zawiera biblioteki statyczne.
+
+%prep
+%setup -q
+
+%build
+%configure
+
+%{__make} \
+	OPTFLAGS="%{rpmcflags}" \
+	CC="%{__cc}" \
+	bindir=%{_bindir} \
+	datadir=%{_datadir} \
+	sysconfdir=%{_sysconfdir}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT \
+	bindir=%{_bindir} \
+	datadir=%{_datadir} \
+	sysconfdir=%{_sysconfdir}
+
+install -D %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/ivman
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%pre
+%groupadd -g 211 plugdev
+%useradd -u 211 -d /usr/share/empty -s /bin/false -c "ivman daemon" -g plugdev ivman
+
+%post
+/sbin/ldconfig
+/sbin/chkconfig --add ivman
+%service ivman restart
+
+%preun
+if [ "$1" = "0" ]; then
+	%service -q ivman stop
+	/sbin/chkconfig --del ivman
+fi
+
+%postun
+/sbin/ldconfig
+if [ "$1" = "0" ]; then
+	%userremove ivman
+	%groupremove plugdev
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING ChangeLog README TODO
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ivman/*
+%attr(754,root,root) /etc/rc.d/init.d/*
+%attr(755,root,root) %{_bindir}/ivman
+%attr(755,root,root) %{_libdir}/libIvmConfig.so.*
+%{_mandir}/man5/*.5*
+%{_mandir}/man8/*.8*
+
+%files devel
+%defattr(644,root,root,755)
+%{_libdir}/*.la
+%attr(755,root,root) %{_libdir}/*.so
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/*.a
+
+%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.1  2005/11/21 17:02:23  jpc
+- new spec from Dariusz Włodarczyk (milley AT hostyn DOT pl)
+
================================================================



More information about the pld-cvs-commit mailing list