|
|
|
@ -6,12 +6,20 @@ License: LGPL |
|
|
|
|
Group: Applications/... |
|
|
|
|
Source0: %{name}-%{version}.tar.gz |
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
|
|
|
|
BuildRequires: gnupg, subversion, automake, autoconf, doxygen |
|
|
|
|
BuildRequires: gnupg, subversion, make, automake, autoconf, rpm-build, doxygen, java-openjdk |
|
|
|
|
%if 0%{?fedora} != 20 |
|
|
|
|
BuildRequires: graphviz |
|
|
|
|
%endif |
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} || 0%{?rhl} || 0%{?centos} || 0%{?centos_ver} || 0%{?centos_version} |
|
|
|
|
BuildRequires: pkgconfig, redhat-lsb |
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} || 0%{?rhl} || 0%{?centos} || 0%{?centos_ver} || 0%{?centos_version} || 0%{?mageia} |
|
|
|
|
BuildRequires: which, pkgconfig |
|
|
|
|
%if 0%{?rhel} > 6 || 0%{?rhl} > 6 || 0%{?centos} > 6 || 0%{?fedora} || 0%{?mageia} |
|
|
|
|
BuildRequires: rpm-sign |
|
|
|
|
%endif |
|
|
|
|
%if 0%{?mageia} |
|
|
|
|
BuildRequires: gnupg, lsb-release |
|
|
|
|
%else |
|
|
|
|
BuildRequires: gpg, redhat-lsb |
|
|
|
|
%endif |
|
|
|
|
%if ! ( 0%{?centos} || 0%{?centos_ver} || 0%{?centos_version} ) |
|
|
|
|
BuildRequires: mscgen |
|
|
|
|
|
|
|
|
@ -30,8 +38,7 @@ BuildRequires: pkg-config, lsb-release |
|
|
|
|
%description |
|
|
|
|
@README@ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global debug_package %{nil} |
|
|
|
|
%prep |
|
|
|
|
%setup -q |
|
|
|
|
./configure --prefix=/usr \ |
|
|
|
@ -50,9 +57,9 @@ rm -rf $RPM_BUILD_ROOT |
|
|
|
|
|
|
|
|
|
%files |
|
|
|
|
%defattr(-,root,root,-) |
|
|
|
|
/usr/bin/* |
|
|
|
|
/usr/share/@PACKAGE_NAME@/* |
|
|
|
|
%doc |
|
|
|
|
/usr/share/* |
|
|
|
|
/usr/share/doc/packages/@PACKAGE_NAME@/* |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|