diff --git a/alchemist-1.0.37-py26.patch b/alchemist-1.0.37-py26.patch new file mode 100644 index 0000000..2476f75 --- /dev/null +++ b/alchemist-1.0.37-py26.patch @@ -0,0 +1,29 @@ +diff -up alchemist-1.0.37/src/Makefile.am.py26 alchemist-1.0.37/src/Makefile.am +--- alchemist-1.0.37/src/Makefile.am.py26 2008-12-07 03:43:53.000000000 -0500 ++++ alchemist-1.0.37/src/Makefile.am 2008-12-07 03:45:01.000000000 -0500 +@@ -1,9 +1,9 @@ + AUTOMAKE_OPTIONS = 1.4 foreign + +-INCLUDES=$(GLIB_CFLAGS) -I/usr/include/python2.5 -ggdb $(LIBXSL_CFLAGS) $(LIBXML_CFLAGS) ++INCLUDES=$(GLIB_CFLAGS) -I/usr/include/python2.6 -ggdb $(LIBXSL_CFLAGS) $(LIBXML_CFLAGS) + LIBS=$(GLIB_LIBS) -lz + +-pythondatadir=$(DESTDIR)$(libdir)/python2.5/site-packages ++pythondatadir=$(DESTDIR)$(libdir)/python2.6/site-packages + pythondata_SCRIPTS= Alchemist.py \ + FileBlackBox.py \ + CacheBlackBox.py \ +diff -up alchemist-1.0.37/src/Makefile.in.py26 alchemist-1.0.37/src/Makefile.in +--- alchemist-1.0.37/src/Makefile.in.py26 2008-12-07 03:43:54.000000000 -0500 ++++ alchemist-1.0.37/src/Makefile.in 2008-12-07 03:44:52.000000000 -0500 +@@ -227,8 +227,8 @@ target_alias = @target_alias@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ + AUTOMAKE_OPTIONS = 1.4 foreign +-INCLUDES = $(GLIB_CFLAGS) -I/usr/include/python2.5 -ggdb $(LIBXSL_CFLAGS) $(LIBXML_CFLAGS) +-pythondatadir = $(DESTDIR)$(libdir)/python2.5/site-packages ++INCLUDES = $(GLIB_CFLAGS) -I/usr/include/python2.6 -ggdb $(LIBXSL_CFLAGS) $(LIBXML_CFLAGS) ++pythondatadir = $(DESTDIR)$(libdir)/python2.6/site-packages + pythondata_SCRIPTS = Alchemist.py \ + FileBlackBox.py \ + CacheBlackBox.py \ diff --git a/alchemist.spec b/alchemist.spec new file mode 100644 index 0000000..b3daa61 --- /dev/null +++ b/alchemist.spec @@ -0,0 +1,329 @@ +%{expand: %%define pyver %(python -c 'import sys;print(sys.version[0:3])')} + +Summary: A multi-sourced configuration back-end +Name: alchemist +Version: 1.0.37 +Release: 8%{?dist} +License: GPLv2+ +Group: System Environment/Base +# No URL as this project never had an upstream other than Red Hat. +# Do not use alchemist in new projects. +Source0: %{name}-%{version}.tar.gz +Patch0: alchemist-1.0.37-py26.patch +Requires(post,postun): /sbin/ldconfig +Requires: libxml2 >= 2.3.8, libxslt >= 0.9.0 +Requires: python-abi = %{pyver} +BuildRequires: libxml2 >= 2.3.8, libxslt >= 0.9.0, libxslt-devel >= 0.9.0 +BuildRequires: doxygen >= 1.2.7, python-devel, zlib-devel +BuildRequires: glib2-devel >= 2.0 +BuildRequires: gawk +BuildRoot: %{_tmppath}/%{name}-root + +%description +The alchemist is a back-end configuration architecture, which provides +multi-sourced configuration at the data level, postponing translation to +native format until the last stage. It uses XML as an intermediary data +encoding, and can be extended to arbitrarily large configuration scenarios. + +%package devel +Summary: Files needed for developing programs which use alchemist. +Group: Development/Libraries +Requires: %{name} == %{version}-%{release} + +%description devel +The alchemist is a back-end configuration architecture, which provides +multi-sourced configuration at the data level, postponing translation to +native format until the last stage. It uses XML as an intermediary data +encoding, and can be extended to arbitrarily large configuration scenarios. + +%prep +%setup -q +%patch0 -p 1 -b .py26 + +%build +export CFLAGS="-Wall -DNDEBUG -fPIC $RPM_OPT_FLAGS" +[ -f /usr/share/automake/depcomp ] && cp -f /usr/share/automake/{depcomp,ylwrap} . || : +%configure --enable-shared --enable-static +make %{?_smp_mflags} + +%install +[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT +%makeinstall +mkdir -p $RPM_BUILD_ROOT/%{_mandir} +cd src +doxygen +cp -a doc/man/* $RPM_BUILD_ROOT/%{_mandir}/ +rm -f $RPM_BUILD_ROOT/%{_libdir}/*a +rm -f $RPM_BUILD_ROOT/%{_libdir}/alchemist/blackbox/*a + +%clean +[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/python%{pyver}/site-packages/* +%{_libdir}/*.so.* +%dir %{_libdir}/alchemist +%dir %{_libdir}/alchemist/blackbox +%{_libdir}/alchemist/blackbox/*.so.* +%{_sysconfdir}/alchemist +%{_localstatedir}/cache/alchemist +%doc README + +%files devel +%defattr(-,root,root) +%{_includedir}/alchemist +%{_libdir}/*.so +%{_mandir}/*/* +%{_libdir}/alchemist/blackbox/*.so + +%changelog +* Fri Jul 24 2009 Fedora Release Engineering - 1.0.37-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Mon Feb 23 2009 Fedora Release Engineering - 1.0.37-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Sun Dec 7 2008 Ignacio Vazquez-Abrams - 1.0.37-6 +- Fix for Python 2.6 + +* Sat Nov 29 2008 Ignacio Vazquez-Abrams - 1.0.37-5 +- Rebuild for Python 2.6 + +* Wed Feb 13 2008 Tim Waugh 1.0.37-4 +- Converted spec file to UTF-8 (bug #225240). +- Removed use of PreReq and BuildPreReq (bug #225240). +- Fixed summary (bug #225240). +- Removed static libraries (bug #225240). + +* Tue Feb 12 2008 Tim Waugh 1.0.37-3 +- Removed HTML documentation to avoid multilib conflict (bug #340601). + Don't use alchemist in new software. + +* Thu Aug 23 2007 Tim Waugh 1.0.37-2 +- More specific license tag. Added dist tag. +- Build requires gawk. + +* Tue Dec 12 2006 Tim Waugh 1.0.37-1 +- 1.0.37: + - Build against Python 2.5. + +* Wed Dec 6 2006 Jeremy Katz - 1.0.36-2 +- rebuild against python 2.5 + +* Wed Jul 12 2006 Jesse Keating - 1.0.36-1.2.2 +- rebuild + +* Fri Feb 10 2006 Jesse Keating - 1.0.36-1.2.1 +- bump again for double-long bug on ppc(64) + +* Tue Feb 07 2006 Jesse Keating - 1.0.36-1.2 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Fri Dec 09 2005 Jesse Keating +- rebuilt + +* Thu Mar 3 2005 Tim Waugh 1.0.36-1 +- Rebuild for new GCC. + +* Mon Nov 8 2004 Jeremy Katz - 1.0.35-1 +- build for python 2.4 + +* Wed Sep 22 2004 Than Ngo 1.0.34-1 +- add Prereq: /sbin/ldconfig + +* Fri Mar 5 2004 Tim Waugh 1.0.33-1 +- Require python-abi = %%{pyver} (bug #117501, bug #113313). + +* Thu Feb 19 2004 Tim Waugh 1.0.32-1 +- Unnest a function (bug #116248). + +* Thu Jan 15 2004 Tim Waugh 1.0.31-1 +- Fixed another accidental bitwise operation. + +* Thu Jan 8 2004 Tim Waugh 1.0.30-1 +- Fix several accidental bitwise operations. +- Unnest a function (bug #110691). + +* Mon Jan 5 2004 Tim Waugh 1.0.29-1 +- Own %%{_sysconfdir}/alchemist (bug #74024, bug #112842). +- Build requires glib2-devel (bug #110780). + +* Thu Nov 6 2003 Tim Waugh 1.0.28-1 +- Rebuilt (Python 2.3). + +* Wed May 28 2003 Tim Waugh 1.0.27-2 +- Rebuilt. + +* Wed May 28 2003 Tim Waugh 1.0.27-1 +- 1.0.27: + - Switch to glib-2.0 (bug #91319). + +* Mon Jan 27 2003 Tim Waugh 1.0.26-1 +- Rebuild. + +* Fri Dec 13 2002 Elliot Lee 1.0.25-1 +- Rebuild, fix bugs + +* Wed Jul 10 2002 Trond Eivind Glomsrød 1.0.244 +- Move the blackbox .a and .la file to the devel subpackage (#68461) + +* Tue May 14 2002 Trond Eivind Glomsrød 1.0.24-1 +- Back to Python 2.2 + +* Tue Feb 26 2002 Trond Eivind Glomsrød 1.0.23-1 +- rebuild + +* Thu Jan 24 2002 Trond Eivind Glomsrød 1.0.22-1 +- Make build with newer automake + +* Thu Dec 13 2001 Trond Eivind Glomsrød 1.0.21-1 +- Include .pyo files + +* Fri Dec 7 2001 Trond Eivind Glomsrød 1.0.20-1 +- s/Copyright/License/ +- build for python 2.2 + +* Tue Dec 4 2001 Crutcher Dunnavant 1.0.19-1 +- removed AdmList_reparentData, it was a stupid idea +- added AdmList_renameCopyData, made AdmList_copyData use it. + +* Thu Aug 23 2001 Crutcher Dunnavant 1.0.18-1 +- fixed thinko in pyalchemist_python.py found by pychecker +- added AdmList_reparentData() function, this will be hard to bind. + +* Thu Aug 16 2001 Crutcher Dunnavant 1.0.17-1 +- added bindings for _isAlive to pyalchemist + +* Tue Aug 7 2001 Crutcher Dunnavant 1.0.16-1 +- fixed internalized handler list so that it actually finds the fileblackbox + +* Mon Aug 6 2001 Crutcher Dunnavant 1.0.15-1 +- give the fileblackbox children an open stdout and stderr to /dev/null, +- so they dont freak when they cannot write. + +* Mon Aug 6 2001 Crutcher Dunnavant 1.0.14-1 +- fixed pyalchemist's writeCtx argument parsing. +- tweaked triggerblackbox so that it works. +- internalized fileblackbox, so we dont have to dl open it. + +* Tue Jul 31 2001 Crutcher Dunnavant 1.0.13-1 +- fixed a 'fall off the list' bug in AdmList_moveData which was segfaulting + +* Mon Jul 30 2001 Crutcher Dunnavant 1.0.12-1 +- changed all occurances of ADM_ENOBOXSET to ADM_ENOSUBSPACE +- tweaked the Doxygen settings to only list the contents of +- alchemist.h and blackbox.h +- told specfile to include the man pages + +* Sun Jul 29 2001 Crutcher Dunnavant 1.0.11-1 +- limited names to 255 chars. + +* Sun Jul 29 2001 Crutcher Dunnavant 1.0.10-1 +- added a validName function to the python bindings + +* Sun Jul 29 2001 Crutcher Dunnavant 1.0.9-1 +- moved all function docs to the header. +- cleaned up the internal refstr engine +- exposed AdmData_validName, and extended names to match: +- Name = (Letter | '_') (Letter | Digit | '_' | '-' | '.')* + +* Fri Jul 18 2001 Crutcher Dunnavant +- added zlib-devel build pre req, ldconfig call + +* Fri Jul 13 2001 Crutcher Dunnavant +- added .strip() method to AdmContexts, which strips the Id tree + +* Sun Jul 8 2001 Crutcher Dunnavant +- added .get() method to pyAdmLists + +* Sun Jul 8 2001 Crutcher Dunnavant +- special case added to the pyalchemist binding AdmList getslice function, +- to handle asking for slices of empty lists + +* Wed Jun 20 2001 Crutcher Dunnavant +- added alchemist dep to alchemist-devel + +* Mon Jun 13 2001 Crutcher Dunnavant +- added some python helpers, has_key function + +* Mon Jun 06 2001 Crutcher Dunnavant +- landed major devel work. feature complete + +* Mon May 21 2001 Crutcher Dunnavant +- fixed AdmList_getChildByName, AdmList_getChildByPath, and AdmToken_nget + +* Mon May 21 2001 Crutcher Dunnavant +- rebuilt with new binding system (Major changes) + +* Mon Apr 23 2001 Nalin Dahyabhai +- Obey RPM_OPT_FLAGS. Obey. + +* Fri Apr 19 2001 Crutcher Dunnavant +- fixed readVersion in the CacheBlackBox +- added URLBlackBok + +* Mon Mar 05 2001 Philipp Knirsch +- Fixed the "_cascade_merge_" name in the switchboard to be consistent with our + new name validation. + +* Wed Feb 28 2001 Crutcher Dunnavant +- changed valid_name to the pattern /^[a-zA-Z][-a-zA-Z0-9_]?$/, +- dropping the '-' and '_' characters as legal first characters +- (because they aren't legal XML first characters) + +* Tue Feb 13 2001 Crutcher Dunnavant +- rebuilt for pknirsh's moveChild fix. (He should have written this changelog!) + +* Fri Feb 9 2001 Trond Eivind Glomsrød +- Truncate files when opening for writing (ForgeBlackBox, FileBlackBox) + +* Thu Feb 08 2001 Harald Hoyer +- fixed typos in ForgeBlackBox + +* Wed Feb 7 2001 Crutcher Dunnavant +- tweaked the ForgeBlackBox to fix some include problems + +* Wed Jan 31 2001 Crutcher Dunnavant +- check for name collides in non-anonymous lists at parse time. (oops.) + +* Wed Jan 24 2001 Crutcher Dunnavant +- changed valid name to include '-' character + +* Tue Jan 23 2001 Trond Eivind Glomsrød +- require 4Suite + +* Mon Jan 22 2001 Crutcher Dunnavant +- Fixed a bad break that I left in WriteContextToFile + +* Mon Jan 22 2001 Crutcher Dunnavant +- Fixed all occurances of Writeable to be Writable + +* Thu Jan 18 2001 Crutcher Dunnavant +- Reved the version to take into account Trond's ForgeBlackBox entry + +* Sun Jan 14 2001 Crutcher Dunnavant +- Add a CacheBlackBox, and some isNamespaceDirty logic to the alchemist +- to deal with some dirty cache nastyness + +* Thu Jan 11 2001 Crutcher Dunnavant +- Nope, Elliot had changed it to be case insensitive everywhere, reverted. + +* Thu Jan 11 2001 Crutcher Dunnavant +- Garh! Was doing case insensitive string comparisions for some reason. + +* Tue Jan 9 2001 Crutcher Dunnavant +- Fixed a bug in the import code that threw an uncaught exception + +* Tue Jan 9 2001 Crutcher Dunnavant +- Changed Alchemist.py:Switchboard:writeNamespace() to return +- the context it writes, instead of None + +* Wed Jan 3 2001 Crutcher Dunnavant +- initial packaging of alchemist + +* Wed Dec 13 2000 Crutcher Dunnavant +- Created blank package for translation. diff --git a/dead.package b/dead.package deleted file mode 100644 index 6b6e7ed..0000000 --- a/dead.package +++ /dev/null @@ -1,2 +0,0 @@ -Last package that required this was system-config-httpd, and that no -longer does. diff --git a/sources b/sources new file mode 100644 index 0000000..bb3ae8f --- /dev/null +++ b/sources @@ -0,0 +1 @@ +5580563e37531dc850e7a714a21eaf2a alchemist-1.0.37.tar.gz