SHA256
1
0
forked from pool/doxygen
Petr Gajdos 2015-08-31 10:52:05 +00:00 committed by Git OBS Bridge
parent 1406d9d5ed
commit 988d1498c3
4 changed files with 12 additions and 22 deletions

View File

@ -1,8 +1,3 @@
-------------------------------------------------------------------
Thu Aug 27 07:34:04 UTC 2015 - mpluskal@suse.com
- Move checks to doxywizard package to avoid build cycle
-------------------------------------------------------------------
Fri Aug 21 09:41:39 UTC 2015 - tchvatal@suse.com

View File

@ -40,6 +40,11 @@ BuildRequires: gcc-c++
BuildRequires: python-base
BuildRequires: python-xml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} > 1230 && 0%{?suse_version} != 1315
# for make tests
BuildRequires: libxml2-tools
BuildRequires: texlive-bibtex
%endif
%description
Doxygen is a documentation system for C, C++, Java, and IDL. It can
@ -74,6 +79,13 @@ make %{?_smp_mflags}
mkdir -p %{buildroot}%{_mandir}/man1/
install -m 644 doc/doxygen.1 %{buildroot}%{_mandir}/man1/
%if 0%{?suse_version} > 1230 && 0%{?suse_version} != 1315
%check
pushd build
make tests %{?_smp_mflags}
popd
%endif
%files
%defattr(-,root,root)
%doc LICENSE

View File

@ -1,8 +1,3 @@
-------------------------------------------------------------------
Thu Aug 27 07:34:32 UTC 2015 - mpluskal@suse.com
- Move checks to doxywizard package to avoid build cycle
-------------------------------------------------------------------
Fri Aug 21 09:42:05 UTC 2015 - tchvatal@suse.com

View File

@ -39,11 +39,6 @@ BuildRequires: libqt4-devel >= 4.3
BuildRequires: update-desktop-files
Requires: doxygen = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} > 1230 && 0%{?suse_version} != 1315
# for make tests
BuildRequires: libxml2-tools
BuildRequires: texlive-bibtex
%endif
%description
Doxywizard is a graphical front-end to read/edit/write doxygen
@ -64,13 +59,6 @@ export CXXFLAGS="%{optflags} -fPIC"
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -pie -Wl,-z,relro,-z,now"
make %{?_smp_mflags}
%if 0%{?suse_version} > 1230 && 0%{?suse_version} != 1315
%check
pushd build
make tests %{?_smp_mflags}
popd
%endif
%install
%cmake_install
rm %{buildroot}%{_bindir}/doxygen