Package libxerces-c28: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 | %define oname xerces-c %define tarname %oname-src_2_8_0 %ifarch alpha ppc64 s390x sparc64 x86_64 ia64 %define rcopts -b 64 %else %define rcopts -b 32 %endif # threads # values: pthreads, none %define threads pthreads Name: libxerces-c28 Version: 2.8.0 Release: alt3.qa2 Summary: Xerces-C++ validating XML parser Url: http://xml.apache.org/xerces-c/ License: Apache Group: System/Libraries Packager: Vitaly Lipatov <lav@altlinux.ru> Source: http://apache.rinet.ru/dist/xerces/c/sources/%tarname.tar.bz2 Source1: %name.pc Patch0: xerces-c-src_2_6_0-lsattr.patch # fix lib linking Patch1: %name.patch Patch2: %name-gcc43.patch Provides: xerces-c Obsoletes: xerces-c # Automatically added by buildreq on Wed Mar 09 2005 BuildRequires: gcc-c++ libstdc++-devel %description Xerces-C++ is a validating XML parser written in a portable subset of C++. Xerces-C++ makes it easy to give your application the ability to read and write XML data. A shared library is provided for parsing, generating, manipulating, and validating XML documents. The parser provides high performance, modularity, and scalability. Source code, samples and API documentation are provided with the parser. For portability, care has been taken to make minimal use of templates, no RTTI, and minimal use of #ifdefs. %package devel Group: System/Libraries Summary: Header files for Xerces-C++ validating XML parser Requires: %name = %version Provides: xerces-c-devel Obsoletes: xerces-c-devel %description devel Header files you can use to develop XML applications with Xerces-C++. Xerces-C++ is a validating XML parser written in a portable subset of C++. Xerces-C++ makes it easy to give your application the ability to read and write XML data. A shared library is provided for parsing, generating, manipulating, and validating XML documents. %package doc Group: System/Libraries Summary: Documentation for Xerces-C++ validating XML parser %description doc Documentation for Xerces-C++. Xerces-C++ is a validating XML parser written in a portable subset of C++. Xerces-C++ makes it easy to give your application the ability to read and write XML data. A shared library is provided for parsing, generating, manipulating, and validating XML documents. %prep %setup -q -n %tarname %patch0 -p1 %patch1 %patch2 %build export XERCESCROOT=$(pwd) cd $XERCESCROOT/src/xercesc ./runConfigure %rcopts -plinux -cgcc -xg++ -minmem -nsocket -tnative -r%threads -P%prefix %make_build cd $XERCESCROOT/samples ./runConfigure -plinux -cgcc -xg++ %make_build %install export XERCESCROOT=$(pwd) cd $XERCESCROOT/src/xercesc %make_install PREFIX=%buildroot%prefix install # x86_64 hack, fix it more correctly if [ ! -x %buildroot%_libdir ] ; then mv %buildroot/usr/lib %buildroot%_libdir fi mkdir -p %buildroot%_bindir #we don't want obj directory install `find $XERCESCROOT/bin -maxdepth 1 -type f` %buildroot%_bindir mkdir -p %buildroot%_datadir/%name cp -a $XERCESCROOT/samples %buildroot%_datadir/%name install -m644 -D %SOURCE1 %buildroot%_pkgconfigdir/xerces-c.pc %files %_bindir/* %_libdir/libxerces-c.so.* %_libdir/libxerces-depdom.so.* %files devel %_includedir/xercesc/ %_libdir/libxerces-c.so %_libdir/libxerces-depdom.so %dir %_datadir/%name/ %_datadir/%name/samples/ %_pkgconfigdir/xerces-c.pc %files doc %doc LICENSE NOTICE STATUS credits.txt Readme.html doc/ %changelog * Thu Nov 25 2010 Igor Vlasenko <viy@altlinux.ru> 2.8.0-alt3.qa2 - rebuild using girar-nmu to require/provide setversion by request of mithraen@ * Tue Nov 24 2009 Repocop Q. A. Robot <repocop@altlinux.org> 2.8.0-alt3.qa1 - NMU (by repocop): the following fixes applied: * post_ldconfig for libxerces-c28 * postun_ldconfig for libxerces-c28 * postclean-05-filetriggers for spec file * Fri Dec 19 2008 Vitaly Lipatov <lav@altlinux.ru> 2.8.0-alt3 - add provides/obsoletes: xerces-c(-devel) * Tue Dec 02 2008 Vitaly Lipatov <lav@altlinux.ru> 2.8.0-alt2 - fix build with gcc 4.3 * Mon Jan 07 2008 Vitaly Lipatov <lav@altlinux.ru> 2.8.0-alt1 - build separate package, rename package to libxerces-c28 - enable SMP-build, add Source URL, cleanup spec - add pkgconfig file * Fri Nov 17 2006 Eugene Ostapets <eostapets@altlinux.ru> 2.7.0-alt1 - new version 2.7.0 * Wed Mar 09 2005 Denis Klykvin <nikon@altlinux.ru> 2.6.0-alt1 - Spec cleanup * Fri Jun 6 2003 Tuan Hoang <tqhoang@bigfoot.com> - updated for new Xerces-C filename and directory format - fixed date format in changelog section * Fri Mar 14 2003 Tinny Ng <tng@ca.ibm.com> - changed to 2.3 * Wed Dec 18 2002 Albert Strasheim <albert@stonethree.com> - added symlink to libxerces-c.so in lib directory * Fri Dec 13 2002 Albert Strasheim <albert@stonethree.com> - added seperate doc package - major cleanups * Tue Sep 03 2002 <thomas@linux.de> - fixed missing DESTDIR in Makefile.util.submodule * Mon Sep 02 2002 <thomas@linux.de> - Initial build. |