Add HTML documentation

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cmocka?expand=0&rev=35
This commit is contained in:
Andreas Schneider 2018-08-29 16:03:31 +00:00 committed by Git OBS Bridge
parent a4cec5245a
commit 93bb6f8e00
2 changed files with 5 additions and 1 deletions

View File

@ -7,6 +7,7 @@ Wed Aug 29 15:15:03 UTC 2018 - Andreas Schneider <asn@cryptomilk.org>
* Fixed fixture error reporting * Fixed fixture error reporting
* Fixed compiler flags detection * Fixed compiler flags detection
* Some improvement for API documentation * Some improvement for API documentation
- Added HTML documentation
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 7 14:33:00 UTC 2017 - asn@cryptomilk.org Fri Apr 7 14:33:00 UTC 2017 - asn@cryptomilk.org

View File

@ -22,12 +22,13 @@ Release: 0
Summary: Lightweight library to simplify and generalize unit tests for C Summary: Lightweight library to simplify and generalize unit tests for C
License: Apache-2.0 License: Apache-2.0
Group: Productivity/Networking/Other Group: Productivity/Networking/Other
Url: http://cmocka.org URL: https://cmocka.org
Source0: https://cmocka.org/files/1.1/%{name}-%{version}.tar.xz Source0: https://cmocka.org/files/1.1/%{name}-%{version}.tar.xz
Source1: https://cmocka.org/files/1.1/%{name}-%{version}.tar.xz.asc Source1: https://cmocka.org/files/1.1/%{name}-%{version}.tar.xz.asc
Source2: %{name}.keyring Source2: %{name}.keyring
Source3: baselibs.conf Source3: baselibs.conf
BuildRequires: cmake BuildRequires: cmake
BuildRequires: doxygen
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: pkg-config BuildRequires: pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -103,6 +104,7 @@ Static cmocka unit testing library.
-DUNIT_TESTING=ON -DUNIT_TESTING=ON
make %{?_smp_mflags} make %{?_smp_mflags}
make docs
%install %install
%cmake_install %cmake_install
@ -122,6 +124,7 @@ popd
%{_libdir}/libcmocka.so.* %{_libdir}/libcmocka.so.*
%files -n libcmocka-devel %files -n libcmocka-devel
%doc obj/docs/html
%{_includedir}/cmocka.h %{_includedir}/cmocka.h
%{_includedir}/cmocka_pbc.h %{_includedir}/cmocka_pbc.h
%dir %{_includedir}/cmockery %dir %{_includedir}/cmockery