Sophie

Sophie

distrib > Mandriva > 10.2 > i586 > by-pkgid > a1bcfde5dc025ce418114dc4babd2074 > files > 2

cmake-2.0.5-2mdk.src.rpm

%define name 	cmake
%define version 2.0.5
%define release 2mdk

Summary: 	Cross-platform, open-source make system
Name: 		%name
Version: 	%version
Release: 	%release
License: 	BSD
Group: 		Development/Other
Url: 		http://www.cmake.org/HTML/Index.html
Source: 	http://www.cmake.org/files/v2.0/%name-%{version}.tar.bz2
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires:  chrpath

%description
CMake is used to control the software compilation process using
simple platform and compiler independent configuration files.
CMake generates native makefiles and workspaces that can be
used in the compiler environment of your choice. CMake is quite
sophisticated: it is possible to support complex environments
requiring system configuration, pre-processor generation, code
generation, and template instantiation.

%prep

%setup -q

%build
# --libdir is not used... unable avoid rpmlint error :'-(
./configure --prefix=%{_prefix} --mandir=/share/man #--libdir=%{_libdir}

%make

# fix rpath
chrpath -d bin/c*


%install
rm -rf $RPM_BUILD_ROOT
%makeinstall DESTDIR=$RPM_BUILD_ROOT

# docs are managed with %doc
rm -rf $RPM_BUILD_ROOT/%{_prefix}/doc


%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%_bindir/*
%_mandir/*/*
%_datadir/CMake
%doc CMake.pdf CMakeLogo.gif ChangeLog.txt Docs/* Example

%changelog
* Fri Mar 11 2005 Gaetan Lehmann <gaetan.lehmann@jouy.inra.fr> 2.0.5-2mdk
- fix some lint
- add examples in docs

* Tue Nov 23 2004 Gaetan LEHMANN <gaetan.lehmann@jouy.inra.fr> 2.0.5-1mdk
- 2.0.5

* Tue Jun 15 2004 Laurent MONTEL <lmontel@mandrakesoft.com> 1.6.7-2mdk
- Rebuild

* Thu Jul 17 2003 Austin Acton <aacton@yorku.ca> 1.6.7-1mdk
- 1.6.7

* Thu Jan 9 2003 Austin Acton <aacton@yorku.ca> 1.4.7-1mdk
- initial package