]> git.pld-linux.org Git - packages/cmake.git/commitdiff
- adapterized
authorAdam Gołębiowski <adamg@pld-linux.org>
Tue, 29 Jun 2004 12:54:41 +0000 (12:54 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cmake.spec -> 1.2

cmake.spec

index d5eb062dcf4da4e80e059aafdcf721cc1a2adafc..6b246747070d9913d7db58dfd1e65ae2c3f325e6 100644 (file)
@@ -2,46 +2,48 @@
 %define version 1.4.7
 %define release 1
 
-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: CMake%{version}-src-unix.tar.bz2
-Patch0: cmake-ncurses.patch
-BuildRoot: %_tmppath/%name-%version
+Summary:       Cross-platform, open-source make system
+Name:          %name
+Version:       %version
+Release:       %release
+License:       BSD
+Group:         Development/Other
+######         Unknown group!
+Url:           http://www.cmake.org/HTML/Index.html
+Source0:       CMake%{version}-src-unix.tar.bz2
+Patch0:                cmake-ncurses.patch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %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.
+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 -n CMake-%version
 %patch0 -p1
 
 %build
-CXXFLAGS="%{rpmcflags} -I/usr/include/ncurses"
+CXXFLAGS="%{rpmcflags} -I%{_includedir}/ncurses"
 %configure2_13
 %{__make} \
-       CXXFLAGS="%{rpmcflags} -I/usr/include/ncurses"
+       CXXFLAGS="%{rpmcflags} -I%{_includedir}/ncurses"
 
 %install
+rm -rf $RPM_BUILD_ROOT
 %{__make} install DESTDIR=$RPM_BUILD_ROOT
-mv $RPM_BUILD_ROOT/usr/man $RPM_BUILD_ROOT/%_datadir/
+mv $RPM_BUILD_ROOT%{_prefix}/man $RPM_BUILD_ROOT/%_datadir/
 bzip2 $RPM_BUILD_ROOT/%_datadir/man/man1/*
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(-,root,root)
+%defattr(644,root,root,755)
 %doc ChangeLog.txt *.pdf *.rtf Copyright.txt *.gif
 %_bindir/ccmake
 %_bindir/cmake
@@ -50,7 +52,3 @@ rm -rf $RPM_BUILD_ROOT
 %_mandir/man1/*.1.*
 %_datadir/CMake/Modules
 %_datadir/CMake/Templates
-
-%changelog
-* Thu Jan 9 2003 Austin Acton <aacton@yorku.ca> 1.4.7-1mdk
-- initial package
This page took 0.135864 seconds and 4 git commands to generate.