rpms/lvm2/devel lvm2.spec,1.171,1.172
agk
agk at fedoraproject.org
Wed Sep 16 21:33:06 UTC 2009
- Previous message (by thread): rpms/libvmime07/devel libvmime07-0.7.1-allow-no-recips-and-senders.patch, NONE, 1.1 libvmime07-0.7.1-attachfnamelen.patch, NONE, 1.1 libvmime07-0.7.1-bmoted-printable.patch, NONE, 1.1 libvmime07-0.7.1-broken-locale-error.patch, NONE, 1.1 libvmime07-0.7.1-charset-catch.patch, NONE, 1.1 libvmime07-0.7.1-charset-output-buffer-full.patch, NONE, 1.1 libvmime07-0.7.1-contentid-without-at.patch, NONE, 1.1 libvmime07-0.7.1-default-transfer-encoding.patch, NONE, 1.1 libvmime07-0.7.1-double-empty-boundary.patch, NONE, 1.1 libvmime07-0.7.1-gcc-4.3-support.patch, NONE, 1.1 libvmime07-0.7.1-gcc-4.4-support.patch, NONE, 1.1 libvmime07-0.7.1-header-value-on-next-line.patch, NONE, 1.1 libvmime07-0.7.1-mdn-disposition.patch, NONE, 1.1 libvmime07-0.7.1-mdn-final-recipient.patch, NONE, 1.1 libvmime07-0.7.1-missing-boundary.patch, NONE, 1.1 libvmime07-0.7.1-oe-compatibility.patch, NONE, 1.1 libvmime07-0.7.1-out-of-bounds-copy.patch, NONE, 1.1 libvmime07-0.7.1-package.patch, NONE, 1.1 libvmime07-0.7.1-qp-starts-on-second-line.patch, NONE, 1.1 libvmime07-0.7.1-quoted-printable-encode-questionmark.patch, NONE, 1.1 libvmime07-0.7.1-quoted-printable-specials.patch, NONE, 1.1 libvmime07-0.7.1-remove-bcc.patch, NONE, 1.1 libvmime07-0.7.1-socket-backport-and-timeout-fix.patch, NONE, 1.1 libvmime07-0.7.1-socket-tcp-nodelay.patch, NONE, 1.1 libvmime07-0.7.1-strip-header-endspaces.patch, NONE, 1.1 libvmime07-0.7.1-threading-remove-static_non-abi-change.patch, NONE, 1.1 libvmime07-0.7.1-timezone-name.patch, NONE, 1.1 libvmime07-0.7.1-unicode-1-1-utf-7-charset.patch, NONE, 1.1 libvmime07.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/libvmime07/devel libvmime07-0.7.1-plain-bodycopy.patch, NONE, 1.1 libvmime07.spec, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: agk
Update of /cvs/pkgs/rpms/lvm2/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2655
Modified Files:
lvm2.spec
Log Message:
First attempt at including dmeventd.
Index: lvm2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/lvm2/devel/lvm2.spec,v
retrieving revision 1.171
retrieving revision 1.172
diff -u -p -r1.171 -r1.172
--- lvm2.spec 15 Sep 2009 15:29:24 -0000 1.171
+++ lvm2.spec 16 Sep 2009 21:33:04 -0000 1.172
@@ -8,7 +8,7 @@
Summary: Userland logical volume management tools
Name: lvm2
Version: 2.02.52
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv2
Group: System Environment/Base
URL: http://sources.redhat.com/lvm2
@@ -17,7 +17,6 @@ Source0: ftp://sources.redhat.com/pub/lv
# Customise lvmconf.sh for built-in clustered locking in Fedora
Patch0: cluster-locking-built-in.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libselinux-devel >= 1.30.19-4, libsepol-devel
BuildRequires: ncurses-devel
BuildRequires: readline-devel
@@ -26,7 +25,11 @@ BuildRequires: clusterlib-devel >= %{clu
BuildRequires: module-init-tools
BuildRequires: pkgconfig
Requires: device-mapper >= %{device_mapper_version}-%{release}
+Requires: device-mapper-event >= %{device_mapper_version}-%{release}
+Requires: %{name}-libs = %{version}-%{release}
Requires: module-init-tools
+Requires(post): chkconfig
+Requires(preun): chkconfig
Conflicts: lvm
Obsoletes: lvm
@@ -48,24 +51,35 @@ or more physical volumes and creating on
%define _sbindir /sbin
%define _libdir /%{_lib}
-%configure --enable-lvm1_fallback --enable-fsadm --with-clvmd=cman,corosync --with-cluster=internal --with-pool=internal --with-user= --with-group= --with-usrlibdir=/usr/%{_lib} --with-usrsbindir=/usr/sbin --with-device-uid=0 --with-device-gid=6 --with-device-mode=0660 --enable-pkgconfig --enable-applib --enable-cmdlib
+%configure --enable-lvm1_fallback --enable-fsadm --with-clvmd=cman,corosync --with-cluster=internal --with-pool=internal --with-user= --with-group= --with-usrlibdir=/usr/%{_lib} --with-usrsbindir=/usr/sbin --with-device-uid=0 --with-device-gid=6 --with-device-mode=0660 --enable-pkgconfig --enable-applib --enable-cmdlib --enable-dmeventd
+
make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
install -m 0700 -d $RPM_BUILD_ROOT/etc/lvm/archive
install -m 0700 -d $RPM_BUILD_ROOT/etc/lvm/backup
install -m 0700 -d $RPM_BUILD_ROOT/etc/lvm/cache
install -m 0700 -d $RPM_BUILD_ROOT/var/lock/lvm
install -m 0600 /dev/null $RPM_BUILD_ROOT/etc/lvm/cache/.cache
+
mkdir -p -m755 $RPM_BUILD_ROOT/etc/rc.d/init.d
install scripts/clvmd_init_red_hat $RPM_BUILD_ROOT/etc/rc.d/init.d/clvmd
+install -m 0755 scripts/lvm2_monitoring_init_rhel4 $RPM_BUILD_ROOT/etc/rc.d/init.d/lvm2-monitor
install -m 0755 scripts/lvmconf.sh $RPM_BUILD_ROOT/sbin/lvmconf
%clean
rm -rf $RPM_BUILD_ROOT
+%post
+/sbin/ldconfig
+/sbin/chkconfig --add lvm2-monitor
+
+%preun
+if [ "$1" = 0 ]; then
+ /sbin/chkconfig --del lvm2-monitor
+fi
+
%files
%defattr(-,root,root,-)
%doc COPYING COPYING.LIB INSTALL README VERSION WHATS_NEW
@@ -167,6 +181,7 @@ rm -rf $RPM_BUILD_ROOT
%dir /etc/lvm/cache
%dir /etc/lvm/archive
%dir /var/lock/lvm
+/etc/rc.d/init.d/lvm2-monitor
##############################################################################
# Library and Development subpackages
@@ -178,6 +193,7 @@ License: LGPLv2
Requires: %{name} = %{version}-%{release}
Requires: %{name}-libs = %{version}-%{release}
Requires: device-mapper-devel >= %{device_mapper_version}-%{release}
+Requires: device-mapper-event-devel >= %{device_mapper_version}-%{release}
Requires: pkgconfig
%description devel
@@ -186,8 +202,8 @@ the lvm2 libraries.
%files devel
%defattr(-,root,root,-)
-%attr(755,root,root) /%{_lib}/liblvm2app.so
-%attr(755,root,root) /%{_lib}/liblvm2cmd.so
+%{_libdir}/liblvm2app.so
+%{_libdir}/liblvm2cmd.so
%{_includedir}/lvm2app.h
%{_includedir}/lvm2cmd.h
/usr%{_libdir}/pkgconfig/lvm2app.pc
@@ -205,8 +221,12 @@ This package contains shared lvm2 librar
%postun libs -p /sbin/ldconfig
%files libs
-%attr(755,root,root) /%{_lib}/liblvm2app.so.*
-%attr(755,root,root) /%{_lib}/liblvm2cmd.so.*
+%attr(755,root,root) %{_libdir}/liblvm2app.so.*
+%attr(755,root,root) %{_libdir}/liblvm2cmd.so.*
+%attr(755,root,root) %{_libdir}/libdevmapper-event-lvm2mirror.so.*
+%attr(755,root,root) %{_libdir}/libdevmapper-event-lvm2snapshot.so.*
+%{_libdir}/libdevmapper-event-lvm2mirror.so
+%{_libdir}/libdevmapper-event-lvm2snapshot.so
##############################################################################
# Cluster subpackage
@@ -282,7 +302,7 @@ the device-mapper libraries.
%files -n device-mapper-devel
%defattr(-,root,root,-)
-%attr(755,root,root) /%{_lib}/libdevmapper.so
+%{_libdir}/libdevmapper.so
%{_includedir}/libdevmapper.h
/usr%{_libdir}/pkgconfig/devmapper.pc
@@ -302,10 +322,67 @@ This package contains the device-mapper
%postun -n device-mapper-libs -p /sbin/ldconfig
%files -n device-mapper-libs
-%attr(755,root,root) /%{_lib}/libdevmapper.so.*
+%attr(755,root,root) %{_libdir}/libdevmapper.so.*
+
+%package -n device-mapper-event
+Summary: Device-mapper event daemon
+Group: System Environment/Base
+Requires: device-mapper = %{version}-%{release}
+Requires: device-mapper-event-libs = %{version}-%{release}
+
+%description -n device-mapper-event
+This package contains the dmeventd daemon for monitoring the state
+of device-mapper devices.
+
+%files -n device-mapper-event
+%defattr(-,root,root,-)
+%{_sbindir}/dmeventd
+
+%package -n device-mapper-event-libs
+Summary: Device-mapper event daemon shared library
+Version: %{device_mapper_version}
+Release: %{release}
+License: LGPLv2
+Requires: device-mapper-event = %{version}-%{release}
+Group: System Environment/Libraries
+
+%description -n device-mapper-event-libs
+This package contains the device-mapper event daemon shared library,
+libdevmapper-event.
+
+%post -n device-mapper-event-libs -p /sbin/ldconfig
+
+%postun -n device-mapper-event-libs -p /sbin/ldconfig
+
+%files -n device-mapper-event-libs
+%{_libdir}/libdevmapper-event.so.*
+
+%package -n device-mapper-event-devel
+Summary: Development libraries and headers for the device-mapper event daemon
+Version: %{device_mapper_version}
+Release: %{release}
+License: LGPLv2
+Group: Development/Libraries
+Requires: device-mapper-event = %{device_mapper_version}-%{release}
+Requires: device-mapper-event-libs = %{device_mapper_version}-%{release}
+Requires: pkgconfig
+
+%description -n device-mapper-event-devel
+This package contains files needed to develop applications that use
+the device-mapper event library.
+
+%files -n device-mapper-event-devel
+%defattr(-,root,root,-)
+%attr(755,root,root) /%{_lib}/libdevmapper-event.so
+%{_includedir}/libdevmapper-event.h
+/usr%{_libdir}/pkgconfig/devmapper-event.pc
%changelog
+* Wed Sep 16 2009 Alasdair Kergon <agk at redhat.com> - 2.02.52-2
+- Build dmeventd and place into a separate set of subpackages.
+- Remove no-longer-needed BuildRoot tag and buildroot emptying at install.
+
* Tue Sep 15 2009 Alasdair Kergon <agk at redhat.com> - 2.02.52-1
- Prioritise write locks over read locks by default for file locking.
- Add local lock files with suffix ':aux' to serialise locking requests.
- Previous message (by thread): rpms/libvmime07/devel libvmime07-0.7.1-allow-no-recips-and-senders.patch, NONE, 1.1 libvmime07-0.7.1-attachfnamelen.patch, NONE, 1.1 libvmime07-0.7.1-bmoted-printable.patch, NONE, 1.1 libvmime07-0.7.1-broken-locale-error.patch, NONE, 1.1 libvmime07-0.7.1-charset-catch.patch, NONE, 1.1 libvmime07-0.7.1-charset-output-buffer-full.patch, NONE, 1.1 libvmime07-0.7.1-contentid-without-at.patch, NONE, 1.1 libvmime07-0.7.1-default-transfer-encoding.patch, NONE, 1.1 libvmime07-0.7.1-double-empty-boundary.patch, NONE, 1.1 libvmime07-0.7.1-gcc-4.3-support.patch, NONE, 1.1 libvmime07-0.7.1-gcc-4.4-support.patch, NONE, 1.1 libvmime07-0.7.1-header-value-on-next-line.patch, NONE, 1.1 libvmime07-0.7.1-mdn-disposition.patch, NONE, 1.1 libvmime07-0.7.1-mdn-final-recipient.patch, NONE, 1.1 libvmime07-0.7.1-missing-boundary.patch, NONE, 1.1 libvmime07-0.7.1-oe-compatibility.patch, NONE, 1.1 libvmime07-0.7.1-out-of-bounds-copy.patch, NONE, 1.1 libvmime07-0.7.1-package.patch, NONE, 1.1 libvmime07-0.7.1-qp-starts-on-second-line.patch, NONE, 1.1 libvmime07-0.7.1-quoted-printable-encode-questionmark.patch, NONE, 1.1 libvmime07-0.7.1-quoted-printable-specials.patch, NONE, 1.1 libvmime07-0.7.1-remove-bcc.patch, NONE, 1.1 libvmime07-0.7.1-socket-backport-and-timeout-fix.patch, NONE, 1.1 libvmime07-0.7.1-socket-tcp-nodelay.patch, NONE, 1.1 libvmime07-0.7.1-strip-header-endspaces.patch, NONE, 1.1 libvmime07-0.7.1-threading-remove-static_non-abi-change.patch, NONE, 1.1 libvmime07-0.7.1-timezone-name.patch, NONE, 1.1 libvmime07-0.7.1-unicode-1-1-utf-7-charset.patch, NONE, 1.1 libvmime07.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/libvmime07/devel libvmime07-0.7.1-plain-bodycopy.patch, NONE, 1.1 libvmime07.spec, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list