[1793] | 1 | %global apiver 2.6 |
---|
| 2 | Name: libxml++ |
---|
[3022] | 3 | Version: 2.32.0 |
---|
| 4 | Release: 1%{?_dist_release} |
---|
[1793] | 5 | Summary: C++ wrapper for the libxml2 XML parser library |
---|
[3022] | 6 | Summary(ja): libxml2 XML 解析ライブラリの C++ ラッパー |
---|
[1793] | 7 | |
---|
| 8 | Group: System Environment/Libraries |
---|
| 9 | License: LGPLv2+ |
---|
| 10 | URL: http://libxmlplusplus.sourceforge.net/ |
---|
| 11 | |
---|
[3022] | 12 | Source: http://ftp.gnome.org/pub/GNOME/sources/libxml++/2.32/libxml++-%{version}.tar.bz2 |
---|
[1793] | 13 | |
---|
[3022] | 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[1793] | 15 | BuildRequires: libxml2-devel >= 2.6.1 |
---|
| 16 | BuildRequires: glibmm-devel >= 2.4.0 |
---|
| 17 | BuildRequires: doxygen, graphviz |
---|
| 18 | |
---|
| 19 | %description |
---|
| 20 | libxml++ is a C++ wrapper for the libxml2 XML parser library. It's original |
---|
| 21 | author is Ari Johnson and it is currently maintained by Christophe de Vienne |
---|
| 22 | and Murray Cumming. |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | %package devel |
---|
| 26 | Summary: Development files for %{name} |
---|
[3022] | 27 | Summary(ja): %{name} の開発用ファイル |
---|
[1793] | 28 | Group: Development/Libraries |
---|
| 29 | Requires: %{name} = %{version}-%{release} |
---|
[3022] | 30 | Requires: pkgconfig |
---|
| 31 | Requires: libxml2-devel |
---|
| 32 | Requires: glibmm-devel |
---|
[1793] | 33 | |
---|
| 34 | %description devel |
---|
| 35 | This package contains the headers and libraries for libxml++ development. |
---|
| 36 | |
---|
| 37 | |
---|
| 38 | %prep |
---|
| 39 | %setup -q |
---|
| 40 | # fix wrong end of line |
---|
| 41 | sed -i s'#\r##' examples/dom_parser/example_with_namespace.xml |
---|
| 42 | |
---|
| 43 | %build |
---|
[3022] | 44 | %configure \ |
---|
| 45 | %if %{?_dist_release} == "vl5" |
---|
| 46 | --disable-documentation \ |
---|
| 47 | %endif |
---|
| 48 | --disable-static |
---|
[1793] | 49 | make %{?_smp_mflags} |
---|
| 50 | |
---|
| 51 | |
---|
| 52 | %install |
---|
| 53 | rm -rf $RPM_BUILD_ROOT |
---|
| 54 | %makeinstall |
---|
| 55 | find $RPM_BUILD_ROOT -name "*.la" -o -name '*.a' | xargs rm -f |
---|
[3022] | 56 | |
---|
[1793] | 57 | # Modify temporary working directories for files section. |
---|
| 58 | rm -rf _reference _examples _manual |
---|
| 59 | mkdir -m 755 _reference _examples _manual |
---|
[3022] | 60 | |
---|
| 61 | %if %{?_dist_release} != "vl5" |
---|
[1793] | 62 | cp -a $RPM_BUILD_ROOT%{_docdir}/%{name}-%{apiver}/reference/html _reference/reference |
---|
[3022] | 63 | %endif |
---|
| 64 | cp -a docs/manual/html _manual/manual |
---|
| 65 | cp -a examples _examples/examples |
---|
[1793] | 66 | rm -rf $RPM_BUILD_ROOT%{_docdir} |
---|
| 67 | |
---|
| 68 | # Delete non-working makefiles, object files, prebuilt binaries and |
---|
| 69 | # empty files. |
---|
| 70 | find _examples -type f -a \( -name Makefile\* -o -name \*.o \ |
---|
| 71 | -o \( -name example -a -perm +0111 \) -o -empty \) | xargs rm -f |
---|
| 72 | find _examples -type d -name '*.libs' -o -name '.deps' | xargs rm -rf |
---|
[3022] | 73 | |
---|
| 74 | %if %{?_dist_release} != "vl5" |
---|
[1793] | 75 | # fix devhelp index file |
---|
| 76 | sed -i "s#"$RPM_BUILD_ROOT"##g" \ |
---|
| 77 | $RPM_BUILD_ROOT%{_datadir}/devhelp/books/%{name}-%{apiver}/%{name}-%{apiver}.devhelp2 |
---|
| 78 | sed -i "s#"/%{name}-%{apiver}/reference/html"#"/%{name}-devel-%{version}/reference"#" \ |
---|
| 79 | $RPM_BUILD_ROOT%{_datadir}/devhelp/books/%{name}-%{apiver}/%{name}-%{apiver}.devhelp2 |
---|
[3022] | 80 | %endif |
---|
[1793] | 81 | |
---|
| 82 | %post -p /sbin/ldconfig |
---|
| 83 | |
---|
| 84 | %postun -p /sbin/ldconfig |
---|
| 85 | |
---|
| 86 | %clean |
---|
| 87 | rm -rf $RPM_BUILD_ROOT |
---|
| 88 | |
---|
| 89 | |
---|
| 90 | %files |
---|
| 91 | %defattr (-,root,root,-) |
---|
| 92 | %doc AUTHORS COPYING NEWS README ChangeLog |
---|
| 93 | %{_libdir}/*.so.* |
---|
| 94 | |
---|
| 95 | %files devel |
---|
| 96 | %defattr (-,root,root,-) |
---|
[3022] | 97 | %doc _examples/examples _manual/manual |
---|
[1793] | 98 | %{_includedir}/* |
---|
| 99 | %{_libdir}/*.so |
---|
| 100 | %{_libdir}/pkgconfig/* |
---|
| 101 | %dir %{_libdir}/%{name}-%{apiver} |
---|
| 102 | %dir %{_libdir}/%{name}-%{apiver}/include |
---|
| 103 | %{_libdir}/%{name}-%{apiver}/include/*.h |
---|
[3022] | 104 | %if %{?_dist_release} != "vl5" |
---|
| 105 | %doc _reference/reference |
---|
[1793] | 106 | %{_datadir}/devhelp/books/%{name}-%{apiver}/%{name}-%{apiver}.devhelp2 |
---|
[3022] | 107 | %endif |
---|
[1793] | 108 | |
---|
| 109 | %changelog |
---|
[3022] | 110 | * Thu Jan 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.32.0-1 |
---|
| 111 | - new upstream release |
---|
| 112 | - fixed spec file for Vine Linux 5 |
---|
| 113 | - added Japanese summary |
---|
| 114 | |
---|
[1901] | 115 | * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-3 |
---|
| 116 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
| 117 | |
---|
[1793] | 118 | * Thu Sep 9 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.30.0-2 |
---|
| 119 | - Initial build for VineLinux |
---|
| 120 | |
---|
| 121 | * Fri Apr 09 2010 Haïkel Guémar <hguemar@gmail.com> - 2.30.0-1 |
---|
| 122 | - Update to upstream 2.30.0 |
---|
| 123 | |
---|
| 124 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.26.0-2 |
---|
| 125 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 126 | |
---|
| 127 | * Sun Apr 12 2009 Denis Leroy <denis@poolshark.org> - 2.26.0-1 |
---|
| 128 | - Update to upstream 2.26.0 (to match Gnome release) |
---|
| 129 | |
---|
| 130 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.24.2-2 |
---|
| 131 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 132 | |
---|
| 133 | * Thu Jan 15 2009 Denis Leroy <denis@poolshark.org> - 2.24.2-1 |
---|
| 134 | - Update to 2.24.2 (memleak fixes) |
---|
| 135 | - Fixed Gnome FTP URL |
---|
| 136 | |
---|
| 137 | * Fri Aug 29 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 2.23.2-2 |
---|
| 138 | - Include unowned directories |
---|
| 139 | |
---|
| 140 | * Tue Aug 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.23.2-1 |
---|
| 141 | - update to 2.23.2 |
---|
| 142 | |
---|
| 143 | * Tue May 13 2008 Denis Leroy <denis@poolshark.org> |
---|
| 144 | - Removed unneeded example binaries from devel package |
---|
| 145 | |
---|
| 146 | * Thu Mar 13 2008 Denis Leroy <denis@poolshark.org> - 2.22.0-1 |
---|
| 147 | - Update to upstream 2.22.0 |
---|
| 148 | - GCC 4.3 patch upstreamed |
---|
| 149 | |
---|
| 150 | * Sun Feb 17 2008 Denis Leroy <denis@poolshark.org> - 2.20.0-2 |
---|
| 151 | - Added patch for gcc 4.3 rebuild |
---|
| 152 | |
---|
| 153 | * Thu Sep 20 2007 Denis Leroy <denis@poolshark.org> - 2.20.0-1 |
---|
| 154 | - Update to new 2.20 stable branch |
---|
| 155 | |
---|
| 156 | * Thu Aug 16 2007 Denis Leroy <denis@poolshark.org> - 2.18.2-2 |
---|
| 157 | - Update to upstream 2.18.2 (mem leak fix) |
---|
| 158 | - Fixed License tag |
---|
| 159 | |
---|
| 160 | * Wed Jul 25 2007 Jesse Keating <jkeating@redhat.com> - 2.18.1-2 |
---|
| 161 | - Rebuild for RH #249435 |
---|
| 162 | |
---|
| 163 | * Tue Jul 24 2007 Denis Leroy <denis@poolshark.org> - 2.18.1-1 |
---|
| 164 | - Update to version 2.18.1 |
---|
| 165 | |
---|
| 166 | * Sun Sep 03 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 2.14.0-1.1 |
---|
| 167 | - FC6 rebuild |
---|
| 168 | |
---|
| 169 | * Tue May 02 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 2.14.0-1 |
---|
| 170 | - Version 2.14.0 |
---|
| 171 | |
---|
| 172 | * Mon Feb 13 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 2.12.0-2.1 |
---|
| 173 | - FC5 Rebuild |
---|
| 174 | |
---|
| 175 | * Thu Jan 26 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 2.12.0-2 |
---|
| 176 | - Rebuilt to address RH #178592 |
---|
| 177 | |
---|
| 178 | * Thu Sep 08 2005 Konstantin Ryabitsev <icon@linux.duke.edu> - 2.12.0-1 |
---|
| 179 | - Version 2.12.0 |
---|
| 180 | - Use --disable-static for configure. |
---|
| 181 | |
---|
| 182 | * Thu Jul 21 2005 Konstantin Ryabitsev <icon@linux.duke.edu> - 2.10.0-1 |
---|
| 183 | - Version 2.10.0 |
---|
| 184 | - Rearrange and conform to new FE standards |
---|
| 185 | - Buildrequire glibmm24-devel |
---|
| 186 | - Add devel requires to -devel |
---|
| 187 | |
---|
| 188 | * Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 0.26.0-5 |
---|
| 189 | - rebuild on all arches |
---|
| 190 | |
---|
| 191 | * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> |
---|
| 192 | - rebuilt |
---|
| 193 | |
---|
| 194 | * Tue Nov 04 2003 Panu Matilainen <pmatilai@welho.com> - 0:0:26.0-0.fdr.3 |
---|
| 195 | - remove empty .libs directories |
---|
| 196 | |
---|
| 197 | * Mon Nov 3 2003 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:0.26.0-0.fdr.2 |
---|
| 198 | - buildrequires graphviz |
---|
| 199 | - devel package requires main package and pkgconfig |
---|
| 200 | - own %%_includedir/libxml++-1.0 |
---|
| 201 | - clean up examples tree |
---|
| 202 | |
---|
| 203 | * Tue Oct 21 2003 Panu Matilainen <pmatilai@welho.com> |
---|
| 204 | - Initial Fedora packaging |
---|
| 205 | |
---|