[2041] | 1 | |
---|
| 2 | # Fedora package review: http://bugzilla.redhat.com/451643 |
---|
| 3 | |
---|
| 4 | # do unit tests |
---|
| 5 | %define _with_check 0 |
---|
| 6 | |
---|
| 7 | Summary: Library for accessing MusicBrainz servers |
---|
| 8 | Name: libmusicbrainz3 |
---|
[8758] | 9 | Version: 3.0.3 |
---|
[10525] | 10 | Release: 2%{?_dist_release} |
---|
[2041] | 11 | License: LGPLv2+ |
---|
| 12 | Group: System Environment/Libraries |
---|
| 13 | URL: http://www.musicbrainz.org/ |
---|
| 14 | Source0: ftp://ftp.musicbrainz.org/pub/musicbrainz/libmusicbrainz-%{version}.tar.gz |
---|
| 15 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
| 16 | |
---|
| 17 | Source10: doxygen-footer.html |
---|
| 18 | |
---|
| 19 | BuildRequires: cmake |
---|
| 20 | %if 0%{?_with_check} |
---|
| 21 | BuildRequires: cppunit-devel |
---|
| 22 | %endif |
---|
| 23 | BuildRequires: doxygen |
---|
| 24 | BuildRequires: libdiscid-devel |
---|
| 25 | BuildRequires: neon-devel |
---|
| 26 | BuildRequires: pkgconfig |
---|
| 27 | |
---|
| 28 | %description |
---|
| 29 | The MusicBrainz client library allows applications to make metadata |
---|
| 30 | lookup to a MusicBrainz server, generate signatures from WAV data and |
---|
| 31 | create CD Index Disk ids from audio CD roms. |
---|
| 32 | |
---|
| 33 | %package devel |
---|
| 34 | Summary: Headers for developing programs that will use %{name} |
---|
| 35 | Group: Development/Libraries |
---|
| 36 | Requires: %{name} = %{version}-%{release} |
---|
| 37 | Requires: pkgconfig |
---|
| 38 | %description devel |
---|
| 39 | This package contains the headers that programmers will need to develop |
---|
| 40 | applications which will use %{name}. |
---|
| 41 | |
---|
| 42 | |
---|
| 43 | %prep |
---|
| 44 | %setup -q -n libmusicbrainz-%{version} |
---|
| 45 | |
---|
| 46 | # until doxygen is fixed, something like |
---|
| 47 | # http://bugzilla.gnome.org/show_bug.cgi?id=579303 , hack out |
---|
| 48 | # mulitilib-conflicting doxygen footers |
---|
| 49 | install -p %{SOURCE10} doxygen-footer.html |
---|
| 50 | echo "HTML_FOOTER = doxygen-footer.html" >> Doxygen |
---|
| 51 | |
---|
| 52 | |
---|
| 53 | %build |
---|
| 54 | %{cmake} . |
---|
| 55 | |
---|
| 56 | make %{?_smp_mflags} all docs |
---|
| 57 | |
---|
| 58 | |
---|
| 59 | %install |
---|
| 60 | rm -rf %{buildroot} |
---|
| 61 | |
---|
| 62 | make install/fast DESTDIR=%{buildroot} |
---|
| 63 | |
---|
| 64 | rm -f docs/installdox |
---|
| 65 | |
---|
| 66 | |
---|
| 67 | %check |
---|
| 68 | %if %{?_with_check} |
---|
| 69 | make check |
---|
| 70 | %endif |
---|
| 71 | |
---|
| 72 | |
---|
| 73 | %clean |
---|
| 74 | rm -rf %{buildroot} |
---|
| 75 | |
---|
| 76 | |
---|
| 77 | %post -p /sbin/ldconfig |
---|
| 78 | |
---|
| 79 | %postun -p /sbin/ldconfig |
---|
| 80 | |
---|
| 81 | |
---|
| 82 | %files |
---|
| 83 | %defattr(-,root,root,-) |
---|
| 84 | %doc AUTHORS.txt COPYING.txt NEWS.txt README.txt |
---|
| 85 | %{_libdir}/libmusicbrainz3.so.* |
---|
| 86 | |
---|
| 87 | %files devel |
---|
| 88 | %defattr(-,root,root,-) |
---|
| 89 | %doc docs/* |
---|
| 90 | %{_includedir}/musicbrainz3/ |
---|
| 91 | %{_libdir}/libmusicbrainz3.so |
---|
| 92 | %{_libdir}/pkgconfig/libmusicbrainz3.pc |
---|
| 93 | |
---|
| 94 | |
---|
| 95 | %changelog |
---|
[10525] | 96 | * Sun Jul 03 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.3-2 |
---|
| 97 | - rebuild with gcc-5.4.0 |
---|
| 98 | |
---|
[8758] | 99 | * Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.3-1 |
---|
| 100 | - update to 3.0.3 |
---|
| 101 | - remove all patches |
---|
| 102 | |
---|
[2041] | 103 | * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.2-1 |
---|
| 104 | - initial build for Vine Linux |
---|
| 105 | |
---|
| 106 | |
---|
| 107 | * Tue May 25 2010 Bastien Nocera <bnocera@redhat.com> 3.0.2-7 |
---|
| 108 | - Remove script from devel docs |
---|
| 109 | |
---|
| 110 | * Tue Nov 03 2009 Rex Dieter <rdieter@fedoraproject.org> - 3.0.2-7 |
---|
| 111 | - fix/enable unit tests |
---|
| 112 | |
---|
| 113 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.2-6 |
---|
| 114 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 115 | |
---|
| 116 | * Mon Jun 29 2009 Rex Dieter <rdieter@fedoraproject.org> - 3.0.2-5 |
---|
| 117 | - fix doxygen-induced multilib conflicts (#480378) |
---|
| 118 | - add %%check section (disabled by default, pending cppunit detection issues) |
---|
| 119 | |
---|
| 120 | * Wed Feb 25 2009 Rex Dieter <rdieter@fedoraproject.org> - 3.0.2-4 |
---|
| 121 | - work harder to omit extraneous pkgconfig deps |
---|
| 122 | - gcc44 patch |
---|
| 123 | |
---|
| 124 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.2-3 |
---|
| 125 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 126 | |
---|
| 127 | * Fri Dec 12 2008 Rex Dieter <rdieter@fedoraproject.org> 3.0.2-2 |
---|
| 128 | - rebuild for pkgconfig deps |
---|
| 129 | |
---|
| 130 | * Tue Sep 16 2008 Rex Dieter <rdieter@fedoraproject.org> 3.0.2-1 |
---|
| 131 | - libmusicbrainz3-3.0.2 |
---|
| 132 | |
---|
| 133 | * Fri Sep 05 2008 Rex Dieter <rdieter@fedoraproject.org> 3.0.1-4 |
---|
| 134 | - Build docs (#461238) |
---|
| 135 | - -devel: drop extraneous Requires |
---|
| 136 | |
---|
| 137 | * Fri Jul 25 2008 Rex Dieter <rdieter@fedoraproject.org> 3.0.1-3 |
---|
| 138 | - fix recursive linking against libdiscid neon |
---|
| 139 | |
---|
| 140 | * Thu Jul 24 2008 Rex Dieter <rdieter@fedoraproject.org> 3.0.1-2 |
---|
| 141 | - BR: libdiscid-devel |
---|
| 142 | - -devel: Requires: libdiscid-devel neon-devel |
---|
| 143 | |
---|
| 144 | * Mon Jun 16 2008 Rex Dieter <rdieter@fedoraproject.org> 3.0.1-1 |
---|
| 145 | - libmusicbrainz3-3.0.1 |
---|
| 146 | |
---|
| 147 | * Sun Jun 15 2008 Rex Dieter <rdieter@fedoraproject.org> 2.1.5-7 |
---|
| 148 | - Provides: libmusicbrainz2(-devel), prepare for libmusicbrainz3 |
---|
| 149 | |
---|
| 150 | * Fri Feb 22 2008 Rex Dieter <rdieter@fedoraproject.org> 2.1.5-6 |
---|
| 151 | - gcc43 patch (#434127) |
---|
| 152 | |
---|
| 153 | * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.1.5-5 |
---|
| 154 | - Autorebuild for GCC 4.3 |
---|
| 155 | |
---|
| 156 | * Mon Feb 18 2008 Rex Dieter <rdieter@fedoraproject.org> - 2.1.5-4 |
---|
| 157 | - specfile cosmetics |
---|
| 158 | |
---|
| 159 | * Thu Nov 15 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 2.1.5-3 |
---|
| 160 | - use versioned Obsoletes |
---|
| 161 | - drop (Build)Requires: libstdc++-devel |
---|
| 162 | - License: LGPLv2+ |
---|
| 163 | |
---|
| 164 | * Fri Aug 24 2007 Adam Jackson <ajax@redhat.com> - 2.1.5-2 |
---|
| 165 | - Rebuild for PPC toolchain bug |
---|
| 166 | |
---|
| 167 | * Thu Jun 21 2007 - Bastien Nocera <bnocera@redhat.com> - 2.1.5-1 |
---|
| 168 | - Update to 2.1.5 |
---|
| 169 | |
---|
| 170 | * Mon Oct 23 2006 Matthias Clasen <mclasen@redhat.com> - 2.1.4-1 |
---|
| 171 | - Update to 2.1.4 |
---|
| 172 | |
---|
| 173 | * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.1.1-4.1 |
---|
| 174 | - rebuild |
---|
| 175 | |
---|
| 176 | * Wed Jun 7 2006 Jeremy Katz <katzj@redhat.com> - 2.1.1-4 |
---|
| 177 | - rebuild for -devel deps |
---|
| 178 | |
---|
| 179 | * Tue Apr 18 2006 Matthias Clasen <mclasen@redhat.com> - 2.1.1-3 |
---|
| 180 | - apply .spec file cleanups from Matthias Saou (#172926) |
---|
| 181 | |
---|
| 182 | * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.1.1-2.1 |
---|
| 183 | - bump again for double-long bug on ppc(64) |
---|
| 184 | |
---|
| 185 | * Tue Feb 7 2006 Christopher Aillon <caillon@redhat.com> - 2.1.1-2 |
---|
| 186 | - Stop shipping the .a file in the main package |
---|
| 187 | |
---|
| 188 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.1.1-1.2 |
---|
| 189 | - rebuilt for new gcc4.1 snapshot and glibc changes |
---|
| 190 | |
---|
| 191 | * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> |
---|
| 192 | - rebuilt |
---|
| 193 | |
---|
| 194 | * Wed Mar 23 2005 John (J5) Palmieri <johnp@redhat.com> 2.1.1-1 |
---|
| 195 | - Update to upstream version 2.1.1 |
---|
| 196 | - Removed libmusicbrainz-2.0.2-missing-return.patch |
---|
| 197 | - Removed libmusicbrainz-2.0.2-conf.patch |
---|
| 198 | |
---|
[8758] | 199 | * Thu Mar 03 2005 John (J5) Palmieri <johnp@redhat.com> 2.0.2-14 |
---|
[2041] | 200 | - Add patch to fix percision cast error to compile correctly on s390x |
---|
| 201 | |
---|
[8758] | 202 | * Thu Mar 03 2005 John (J5) Palmieri <johnp@redhat.com> 2.0.2-13 |
---|
[2041] | 203 | - rebuild with gcc 4.0 |
---|
| 204 | |
---|
| 205 | * Mon Nov 08 2004 Colin Walters <walters@redhat.com> 2.0.2-12 |
---|
| 206 | - Add libmusicbrainz-2.0.2-missing-return.patch (bug #137289) |
---|
| 207 | |
---|
| 208 | * Thu Oct 07 2004 Colin Walters <walters@redhat.com> 2.0.2-11 |
---|
| 209 | - BuildRequire expat-devel |
---|
| 210 | |
---|
| 211 | * Tue Sep 28 2004 Colin Walters <walters@redhat.com> 2.0.2-10 |
---|
| 212 | - Move .so symlink to -devel package |
---|
| 213 | |
---|
| 214 | * Tue Aug 31 2004 Colin Walters <walters@redhat.com> 2.0.2-9 |
---|
| 215 | - Add ldconfig calls (bz #131281) |
---|
| 216 | |
---|
| 217 | * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> |
---|
| 218 | - rebuilt |
---|
| 219 | |
---|
| 220 | * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> |
---|
| 221 | - rebuilt |
---|
| 222 | |
---|
| 223 | * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> |
---|
| 224 | - rebuilt |
---|
| 225 | |
---|
| 226 | * Thu Dec 18 2003 Brent Fox <bfox@redhat.com> 2.0.2-6 |
---|
| 227 | - add a BuildPreReq for libstdc++-devel and gcc-c++ (bug #106556) |
---|
| 228 | - add a Requires for libstdc++-devel for libmusicbrainz-devel |
---|
| 229 | |
---|
| 230 | * Mon Sep 1 2003 Bill Nottingham <notting@redhat.com> |
---|
| 231 | - Obsoletes musicbrainz-devel too |
---|
| 232 | |
---|
| 233 | * Mon Sep 1 2003 Jonathan Blandford <jrb@redhat.com> |
---|
| 234 | - Obsoletes musicbrainz |
---|
| 235 | |
---|
| 236 | * Fri Aug 22 2003 Bill Nottingham <notting@redhat.com> 2.0.2-5 |
---|
| 237 | - fix autoconf/libtool weirdness, remove exclusivearch |
---|
| 238 | |
---|
| 239 | * Fri Aug 22 2003 Brent Fox <bfox@redhat.com> 2.0.2-4 |
---|
| 240 | - add ExcludeArch for s390x (something is really broken) |
---|
| 241 | |
---|
| 242 | * Fri Aug 22 2003 Brent Fox <bfox@redhat.com> 2.0.2-3 |
---|
| 243 | - add ExcludeArch for ppc64 |
---|
| 244 | |
---|
| 245 | * Fri Aug 22 2003 Brent Fox <bfox@redhat.com> 2.0.2-2 |
---|
| 246 | - add ExcludeArch for x86_64 for now |
---|
| 247 | |
---|
| 248 | * Thu Aug 21 2003 Brent Fox <bfox@redhat.com> |
---|
| 249 | - Initial build. |
---|
| 250 | |
---|
| 251 | |
---|