rpms/classads/devel classads.spec, NONE, 1.1 f9_gcc_header.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Matthew Farrellee (matt) fedora-extras-commits at redhat.com
Mon Feb 11 20:05:55 UTC 2008


Author: matt

Update of /cvs/pkgs/rpms/classads/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12814

Modified Files:
	.cvsignore sources 
Added Files:
	classads.spec f9_gcc_header.patch 
Log Message:
Initial version of ClassAds for Fedora


--- NEW FILE classads.spec ---
# NOTE: When updating the version change the Source0 and %setup lines

Summary: Condor's ClassAd Library
Name: classads
Version: 1.0
Release: 0.2.rc3
License: ASL 2.0
Group: Development/Libraries
URL: http://www.cs.wisc.edu/condor/classad/
Source0: ftp://ftp.cs.wisc.edu/condor/classad/c++/classads-1.0rc3.tar.gz
Patch0: f9_gcc_header.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

# BZ 432211
ExcludeArch: ppc
# BZ 432212
ExcludeArch: x86_64
# BZ 432213
ExcludeArch: ppc64

#BuildRequires: libtool
#BuildRequires: pkgconfig
BuildRequires: pcre-devel

Requires: pcre

%description
Classified Advertisements (classads) are the lingua franca of
Condor. They are used for describing jobs, workstations, and other
resources. They are exchanged by Condor processes to schedule
jobs. They are logged to files for statistical and debugging
purposes. They are used to enquire about current state of the system.

A classad is a mapping from attribute names to expressions. In the
simplest cases, the expressions are simple constants (integer,
floating point, or string). A classad is thus a form of property
list. Attribute expressions can also be more complicated. There is a
protocol for evaluating an attribute expression of a classad vis a vis
another ad. For example, the expression "other.size > 3" in one ad
evaluates to true if the other ad has an attribute named size and the
value of that attribute is (or evaluates to) an integer greater than
three. Two classads match if each ad has an attribute requirements
that evaluates to true in the context of the other ad. Classad
matching is used by the Condor central manager to determine the
compatibility of jobs and workstations where they may be run.

%package devel
Summary: Headers for Condor's ClassAd Library
Group: Development/System
Requires: %name = %version-%release
Requires: pcre-devel

%description devel
Header files for Condor's ClassAd Library, a powerful and flexible,
semi-structured representation of data.

%package static
Summary: Condor's ClassAd Library's static libraries
Group: Development/System
Requires: %name = %version-%release

%description static
Static versions of Condor's ClassAd Library's libraries, a powerful
and flexible, semi-structured representation of data.

%prep
%setup -q -n classads-1.0rc3
%patch0 -p1

%build
%configure --enable-namespace --enable-flexible-member CC=g++
make %{?_smp_mflags}

%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
rm -rf %{buildroot}%_libdir/*.la

%clean
rm -rf %{buildroot}

%check
make check

%files
%defattr(-,root,root,-)
%doc LICENSE-2.0.txt README CHANGELOG NOTICE.txt
%_libdir/libclassad.so.0
%_libdir/libclassad.so.0.0.0
%_libdir/libclassad_ns.so.0
%_libdir/libclassad_ns.so.0.0.0


%files devel
%defattr(-,root,root,-)
%doc LICENSE-2.0.txt README CHANGELOG NOTICE.txt
%_bindir/classad_version
%_bindir/classad_version_ns
%_bindir/classad_functional_tester
%_bindir/classad_functional_tester_ns
%_bindir/cxi
%_bindir/cxi_ns
%_libdir/libclassad.so
%_libdir/libclassad_ns.so
%_includedir/classad/attrrefs.h
%_includedir/classad/cclassad.h
%_includedir/classad/classad_distribution.h
%_includedir/classad/classadErrno.h
%_includedir/classad/classad.h
%_includedir/classad/classadItor.h
%_includedir/classad/classad_stl.h
%_includedir/classad/collectionBase.h
%_includedir/classad/collection.h
%_includedir/classad/common.h
%_includedir/classad/debug.h
%_includedir/classad/exprList.h
%_includedir/classad/exprTree.h
%_includedir/classad/fnCall.h
%_includedir/classad/indexfile.h
%_includedir/classad/lexer.h
%_includedir/classad/lexerSource.h
%_includedir/classad/literals.h
%_includedir/classad/matchClassad.h
%_includedir/classad/operators.h
%_includedir/classad/query.h
%_includedir/classad/sink.h
%_includedir/classad/source.h
%_includedir/classad/transaction.h
%_includedir/classad/util.h
%_includedir/classad/value.h
%_includedir/classad/view.h
%_includedir/classad/xmlLexer.h
%_includedir/classad/xmlSink.h
%_includedir/classad/xmlSource.h

%files static
%defattr(-,root,root,-)
%doc LICENSE-2.0.txt README CHANGELOG NOTICE.txt
%_libdir/libclassad.a
%_libdir/libclassad_ns.a

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig


%changelog
* Sat Feb  9 2008  <mfarrellee at redhat> - 1.0-0.2.rc3
- Added patch to address gcc 4.3.0's strict header requirements, for
  F9
- Added ExcludeArch and BZ tickets for x86_64, ppc64 and ppc, because
  of test failures

* Thu Jan 24 2008  <mfarrellee at redhat> - 1.0-0.1.rc3
- Updated to Apache Licensed version, 1.0.0rc3
- Added LICENSE-2.0.txt and NOTICE.txt to doc lines

* Fri Aug 17 2007  <mfarrellee at redhat> - 1.0-0.1.rc2
- Fixed Release tag

* Tue Aug 14 2007  <mfarrellee at redhat> - 1.0-rc2
- See CHANGELOG

* Fri Aug  3 2007  <mfarrellee at redhat> - 0.9.9-1
- Initial build.

f9_gcc_header.patch:

--- NEW FILE f9_gcc_header.patch ---
diff -rupN classads-1.0rc3-original/classad/common.h classads-1.0rc3/classad/common.h
--- classads-1.0rc3-original/classad/common.h	2008-02-09 09:25:39.000000000 -0600
+++ classads-1.0rc3/classad/common.h	2008-02-09 09:25:26.000000000 -0600
@@ -51,6 +51,7 @@
 
 #endif /* WIN32 */
 
+#include <string.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <time.h>


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/classads/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	11 Feb 2008 17:44:23 -0000	1.1
+++ .cvsignore	11 Feb 2008 20:05:17 -0000	1.2
@@ -0,0 +1 @@
+classads-1.0rc3.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/classads/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	11 Feb 2008 17:44:23 -0000	1.1
+++ sources	11 Feb 2008 20:05:17 -0000	1.2
@@ -0,0 +1 @@
+374f0e4aad2cbcd385b31ef39b14c666  classads-1.0rc3.tar.gz




More information about the fedora-extras-commits mailing list