SPECS: shake.spec - up to 0.99 - BR: attr-devel, cmake - %build: cmake, fix...
duddits
duddits at pld-linux.org
Fri Mar 13 10:48:13 CET 2009
Author: duddits Date: Fri Mar 13 09:48:12 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- up to 0.99
- BR: attr-devel, cmake
- %build: cmake, fix paths
---- Files affected:
SPECS:
shake.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SPECS/shake.spec
diff -u SPECS/shake.spec:1.2 SPECS/shake.spec:1.3
--- SPECS/shake.spec:1.2 Tue Jun 10 23:05:13 2008
+++ SPECS/shake.spec Fri Mar 13 10:48:07 2009
@@ -2,13 +2,15 @@
Summary: File shaker
Summary(pl.UTF-8): Mieszacz plików
Name: shake
-Version: 0.29
+Version: 0.99
Release: 1
License: GPL
Group: Applications
Source0: http://download.savannah.nongnu.org/releases/shake/%{name}-%{version}.tar.bz2
-# Source0-md5: 6713f30353be2891f60e64a5c899bfde
+# Source0-md5: b27fe7a21f767e3af105207c27d0c3e7
URL: http://vleu.net/shake/
+BuildRequires: attr-devel
+BuildRequires: cmake
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -29,13 +31,20 @@
%setup -q
%build
+cd build
+%{__cmake} ../
+# fix paths
+%{__sed} -i -e 's,/usr/local,/usr,g' CPackConfig.cmake
+%{__sed} -i -e 's,/usr/local,/usr,g' CPackSourceConfig.cmake
+%{__sed} -i -e 's,/usr/local,/usr,g' cmake_install.cmake
+
%{__make} \
CC="%{__cc} %{rpmcflags}"
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man8}
-
+cd build
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
@@ -44,7 +53,7 @@
%files
%defattr(644,root,root,755)
-%doc Changelog
+%doc NEWS
%attr(755,root,root) %{_bindir}/*
%{_mandir}/man8/*
@@ -54,6 +63,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2009/03/13 09:48:07 duddits
+- up to 0.99
+- BR: attr-devel, cmake
+- %build: cmake, fix paths
+
Revision 1.2 2008/06/10 21:05:13 qboosh
- formatting
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/shake.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list