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