]> git.pld-linux.org Git - packages/fam.git/commitdiff
- release 7, fam-2_6_7-7
authorkloczek <kloczek@pld-linux.org>
Thu, 2 May 2002 16:14:19 +0000 (16:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- add -fno-rtti -fno-exceptions to CXXFLAGS and map %%{__cc} on %{__cxx} (now
  libstdc++ patch can be removed),
- per subpackage License field (mail GPL all other LGPL),
- fixed requires rules for libs, devel and static subpackages.
Added TODO:
- add rc-inetd upport or fam service.

Changed files:
    fam.spec -> 1.9

fam.spec

index cfaaa4f2f05de309fd2462bf72625a2a971f414b..2122233b2300401f75ab65dff8802bbeb8a93714 100644 (file)
--- a/fam.spec
+++ b/fam.spec
@@ -1,26 +1,31 @@
+# TODO:
+# - add rc-inetd suport for fam service.
+#
 Summary:       Fam, the File Alteration Monitor
 Summary(pl):   Monitor zmian w plikach
 Name:          fam
 Version:       2.6.7
-Release:       1
-License:       GPL/LGPL
+Release:       7
+License:       LGPL
 Group:         Networking/Daemons
 Source0:       ftp://oss.sgi.com/projects/fam/download/%{name}-%{version}.tar.gz
 Patch0:                %{name}-dnotify.patch
 Patch1:                %{name}-build.patch
 Patch2:                %{name}-clean_files.patch
-Patch3:                %{name}-libstdc++.patch
-Patch4:                %{name}-rpcsvc.patch
+Patch3:                %{name}-rpcsvc.patch
 URL:           http://oss.sgi.com/projects/fam/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: libstdc++-devel
 BuildRequires: libtool
 Prereq:                rc-inetd
+Requires:      %{name}-libs = %{version}
 Requires:      inetdaemon
 Requires:      portmap
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                __cxx           %{__cc}
+
 %description
 fam, the File Alteration Monitor, provides a daemon and an API which
 applications can use to be notified when specific files or directories
@@ -33,6 +38,7 @@ informacji o zmianach w okre
 %package libs
 Summary:       Libraries for FAM
 Summary(pl):   Biblioteki FAMa
+License:       LGPL
 Group:         Libraries
 Obsoletes:     libfam0
 
@@ -45,8 +51,9 @@ Biblioteki FAMa.
 %package devel
 Summary:       Includes to develop using FAM
 Summary(pl):   Pliki nag³ówkowe FAM
+License:       LGPL
 Group:         Development/Libraries
-Requires:      %{name}-libs
+Requires:      %{name}-libs = %{version}
 Obsoletes:     libfam0-devel
 
 %description devel
@@ -58,8 +65,9 @@ Pliki nag
 %package static
 Summary:       FAM static libraries
 Summary(pl):   Biblioteki statyczne FAM
+License:       LGPL
 Group:         Development/Libraries
-Requires:      %{name}
+Requires:      %{name}-devel = %{version}
 
 %description static
 FAM static libraries.
@@ -73,7 +81,6 @@ Biblioteki statyczne FAM.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
-%patch4 -p1
 
 %build
 rm -f missing
@@ -81,6 +88,7 @@ libtoolize --copy --force
 aclocal
 autoconf
 automake -a -c -f
+CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions"
 %configure
 %{__make}
 
This page took 0.040534 seconds and 4 git commands to generate.