diff --git a/libdiscid.spec b/libdiscid.spec index 14e14c2..6f408ef 100644 --- a/libdiscid.spec +++ b/libdiscid.spec @@ -6,6 +6,8 @@ License: LGPLv2+ URL: https://musicbrainz.org/doc/libdiscid Source0: http://ftp.musicbrainz.org/pub/musicbrainz/%{name}/%{name}-%{version}.tar.gz +BuildRequires: doxygen + %description This C library %{name} creates MusicBrainz DiscIDs from audio CDs. It reads the table of contents (TOC) of a CD and generates an identifier @@ -17,7 +19,7 @@ Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel -This package contains libraries and header files for +This package contains libraries, header files and documentation for developing applications that use %{name}. @@ -28,6 +30,7 @@ developing applications that use %{name}. %build %configure --disable-static make %{?_smp_mflags} +make docs %check @@ -50,6 +53,7 @@ find %{buildroot} -name '*.la' -delete -print %{_libdir}/%{name}.so.0* %files devel +%doc docs/* %{_includedir}/discid/ %{_libdir}/%{name}.so %{_libdir}/pkgconfig/%{name}.pc @@ -58,6 +62,7 @@ find %{buildroot} -name '*.la' -delete -print %changelog * Mon Jan 30 2017 David King - 0.6.2-1 - Update to 0.6.2 +- Include doxygen-generated API documentation * Fri Jul 29 2016 David King - 0.6.1-6 - Use license macro for COPYING