FILE(MAKE_DIRECTORY ${RPM_ROOTDIR}/tmp)
FILE(MAKE_DIRECTORY ${RPM_ROOTDIR}/BUILD)
FILE(MAKE_DIRECTORY ${RPM_ROOTDIR}/RPMS)
- FILE(MAKE_DIRECTORY ${RPM_ROOTDIR}/SOURCES)
+ # FILE(MAKE_DIRECTORY ${RPM_ROOTDIR}/SOURCES)
FILE(MAKE_DIRECTORY ${RPM_ROOTDIR}/SPECS)
FILE(MAKE_DIRECTORY ${RPM_ROOTDIR}/SRPMS)
Name: ${RPMNAME}
Version: ${PACKAGE_VERSION}
Release: 1
-License: Unknown
-Group: Unknown
+License: GPLv2+ with exceptions
+Group: Applications/Sciences
+URL: http://euroreves.ined.fr/imach
Source: ${CPACK_SOURCE_PACKAGE_FILE_NAME}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: cmake
-%define prefix /opt/${RPMNAME}-%{version}
+%define prefix /usr/local/${RPMNAME}-%{version}
%define rpmprefix $RPM_BUILD_ROOT%{prefix}
%define srcdirname %{name}-%{version}-Source