Hello community, here is the log from the commit of package fam for openSUSE:Factory checked in at Thu Sep 22 13:02:00 CEST 2011.
-------- --- fam/fam.changes 2011-09-19 02:13:28.000000000 +0200 +++ /mounts/work_src_done/STABLE/fam/fam.changes 2011-09-22 11:50:25.000000000 +0200 @@ -1,0 +2,10 @@ +Thu Sep 22 09:50:05 UTC 2011 - co...@suse.com + +- ran spec-cleaner + +------------------------------------------------------------------- +Wed Sep 21 10:42:14 UTC 2011 - jeng...@medozas.de + +- Implement shlib policy (libfam0) + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fam.spec ++++++ --- /var/tmp/diff_new_pack.t3sQTg/_old 2011-09-22 13:01:55.000000000 +0200 +++ /var/tmp/diff_new_pack.t3sQTg/_new 2011-09-22 13:01:55.000000000 +0200 @@ -15,20 +15,26 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + + Name: fam -BuildRequires: gcc-c++ help2man License: LGPLv2.1+ Group: System/Daemons -PreReq: %install_info_prereq sysvinit(portmap) sysvinit(syslog) +%define lname libfam0 +BuildRequires: gcc-c++ +BuildRequires: help2man +PreReq: %install_info_prereq +PreReq: sysvinit(portmap) +PreReq: sysvinit(syslog) # bug437293 %ifarch ppc64 Obsoletes: fam-64bit %endif +Version: 2.7.0 +Release: 150 # Summary: File Alteration Monitoring Daemon Url: http://oss.sgi.com/projects/fam/ -Version: 2.7.0 -Release: 150 %define fc_version 0.6.5 Source0: ftp://oss.sgi.com/projects/fam/download/stable/fam-%{version}.tar.gz Source1: sysconfig.fam @@ -52,6 +58,18 @@ Fam is a file alteration monitoring service. With it, you can receive signals when files are created or changed. +To use fam notifications (it can reduce the network load on NFS +servers, especially if they host user home directories) you need to run +the fam daemon, which can be found in the fam-server package. + +%package -n %lname +Summary: File Alteration Monitoring Library +Group: System/Libraries + +%description -n %lname +Fam is a file alteration monitoring service. With it, you can receive +signals when files are created or changed. + This package provides libfam, which is used by KDE and GNOME. It also provides a tool for the console called fileschanged. @@ -60,11 +78,12 @@ the fam daemon, which can be found in the fam-server package. %package devel -Group: Development/Libraries/C and C++ -License: LGPLv2.1+ Summary: Include Files and Libraries Mandatory for Development +Group: Development/Libraries/C and C++ +Requires: %lname = %{version} +Requires: glibc-devel +Requires: libstdc++-devel Provides: fam:/usr/include/fam.h -Requires: glibc-devel libstdc++-devel fam = %version %description devel Fam is a file alteration monitoring service. This means that you can @@ -74,13 +93,15 @@ which use the fam service. %package server -Group: System/Daemons License: GPLv2+ +Summary: File Alternation Monitoring Daemon +Group: System/Daemons +PreReq: %fillup_prereq +PreReq: %insserv_prereq +Requires: fam +Requires: portmap Provides: fam:/etc/fam.conf Provides: file_alteration -Requires: fam portmap -PreReq: %fillup_prereq %insserv_prereq -Summary: File Alternation Monitoring Daemon %description server fam is a file alternation monitoring service. It provides signals when @@ -106,8 +127,8 @@ %{?suse_update_config:%{suse_update_config -f . }} rm -f configure autoreconf -i -f -export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" -export CXXFLAGS="$RPM_OPT_FLAGS $CXXFLAGS -fno-strict-aliasing" +export CFLAGS="%{optflags} -fno-strict-aliasing" +export CXXFLAGS="%{optflags} $CXXFLAGS -fno-strict-aliasing" %ifnarch hppa export CFLAGS="$CFLAGS -fstack-protector" export CXXFLAGS="$CXXFLAGS -fstack-protector" @@ -116,28 +137,28 @@ make %{?_smp_mflags} cd ../fileschanged-%fc_version/ autoreconf -i -f -export LD_LIBRARY_PATH=../../fam-%version/lib/.libs:${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH} -export CFLAGS="-I../../fam-%version/include/ -L../../fam-%version/lib/.libs/ $CFLAGS" +export LD_LIBRARY_PATH=../../fam-%{version}/lib/.libs:${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH} +export CFLAGS="-I../../fam-%{version}/include/ -L../../fam-%{version}/lib/.libs/ $CFLAGS" %configure make %{?_smp_mflags} %install -make DESTDIR="$RPM_BUILD_ROOT" install +%make_install # # Install fam init script -mkdir -p $RPM_BUILD_ROOT/etc/init.d -install -m 0744 %SOURCE2 $RPM_BUILD_ROOT/etc/init.d/fam -ln -sf ../../etc/init.d/fam $RPM_BUILD_ROOT/usr/sbin/rcfam -FILLUP_DIR=$RPM_BUILD_ROOT/var/adm/fillup-templates +mkdir -p %{buildroot}%{_sysconfdir}/init.d +install -m 0744 %{SOURCE2} %{buildroot}%{_initddir}/fam +ln -sf ../../etc/init.d/fam %{buildroot}%{_sbindir}/rcfam +FILLUP_DIR=%{buildroot}%{_localstatedir}/adm/fillup-templates mkdir -p $FILLUP_DIR -install -m 644 %SOURCE1 $FILLUP_DIR/sysconfig.fam -install -d -m 755 $RPM_BUILD_ROOT/etc/xinetd.d -install -m 644 %SOURCE4 $RPM_BUILD_ROOT/etc/xinetd.d/fam +install -m 644 %{SOURCE1} $FILLUP_DIR/sysconfig.fam +install -d -m 755 %{buildroot}%{_sysconfdir}/xinetd.d +install -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/xinetd.d/fam cd ../fileschanged-%fc_version/ -make DESTDIR="$RPM_BUILD_ROOT" install +%make_install cd - -rm -rf $RPM_BUILD_ROOT/usr/share/fileschanged -mkdir -p $RPM_BUILD_ROOT/var/run +rm -rf %{buildroot}%{_datadir}/fileschanged +mkdir -p %{buildroot}%{_localstatedir}/run %find_lang fileschanged %post server @@ -150,26 +171,31 @@ %preun server %stop_on_removal fam +%post -n %lname -p /sbin/ldconfig + +%postun -n %lname -p /sbin/ldconfig + %post -/sbin/ldconfig %install_info --info-dir=%{_infodir} %{_infodir}/fileschanged.info.gz %postun -/sbin/ldconfig %install_info_delete --info-dir=%{_infodir} %{_infodir}/fileschanged.info.gz %files -f fileschanged.lang %defattr(-,root,root) %doc COPYING AUTHORS ChangeLog TODO README NEWS -/%{_libdir}/libfam.so.0 -/%{_libdir}/libfam.so.0.0.0 %{_bindir}/fileschanged /%{_mandir}/man1/fileschanged.1.gz /%{_infodir}/fileschanged.info.gz +%files -n %lname +%defattr(-,root,root) +/%{_libdir}/libfam.so.0 +/%{_libdir}/libfam.so.0.0.0 + %files devel %defattr(-,root,root) -/usr/include/fam.h +%{_includedir}/fam.h /%{_libdir}/libfam.a /%{_libdir}/libfam.la /%{_libdir}/libfam.so @@ -179,11 +205,11 @@ %defattr(-,root,root) %{_sbindir}/rcfam %{_sbindir}/famd -%config(noreplace) /etc/fam.conf -/etc/init.d/fam +%config(noreplace) %{_sysconfdir}/fam.conf +%{_sysconfdir}/init.d/fam /%{_mandir}/man3/fam.3.gz /%{_mandir}/man5/famd.conf.5.gz -/var/adm/fillup-templates/sysconfig.fam -%config(noreplace) /etc/xinetd.d/fam +%{_localstatedir}/adm/fillup-templates/sysconfig.fam +%config(noreplace) %{_sysconfdir}/xinetd.d/fam %changelog ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.t3sQTg/_old 2011-09-22 13:01:55.000000000 +0200 +++ /var/tmp/diff_new_pack.t3sQTg/_new 2011-09-22 13:01:55.000000000 +0200 @@ -1 +1 @@ -fam +libfam0 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org