~ubuntu-branches/ubuntu/saucy/qgo/saucy

« back to all changes in this revision

Viewing changes to qgo.spec~

  • Committer: Bazaar Package Importer
  • Author(s): Cyril Chaboisseau
  • Date: 2008-03-16 23:53:01 UTC
  • mfrom: (2.1.14 hardy)
  • Revision ID: james.westby@ubuntu.com-20080316235301-j1a8p2sgprtkgxm1
Tags: 1.5.4-r2-2
* fix several minor issues
* remove libqt3-compat-headers from control (closes: #464760)
* Bumped Standards-Version to 3.7.3. No changes needed.
* adding qgo-16.xpm

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# This spec file was generated by KDevelop 
 
2
# Please report any problem to KDevelop Team <kdevelop-devel@kdevelop.org> 
 
3
# Thanks to Matthias Saou for his explanations on http://freshrpms.net/docs/fight.html
 
4
 
 
5
Name: qgo
 
6
Version: 1.5.4
 
7
Release: r2
 
8
Vendor: <Emmanuel Beranger>
 
9
Copyright: GPL
 
10
Summary: SGF viewer / editor and Go servers client
 
11
Group: Games
 
12
Packager: <Emmanuel Beranger>
 
13
BuildRoot:  %{_tmppath}/%{name}-root 
 
14
Source: %{name}-%{version}.tar.gz
 
15
 
 
16
%description
 
17
-
 
18
 
 
19
%prep
 
20
%setup
 
21
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure $LOCALFLAGS
 
22
 
 
23
%build
 
24
# Setup for parallel builds
 
25
numprocs=`egrep -c ^cpu[0-9]+ /proc/stat || :`
 
26
if [ "$numprocs" = "0" ]; then
 
27
  numprocs=1
 
28
fi
 
29
 
 
30
make -j$numprocs
 
31
 
 
32
%install
 
33
make install-strip DESTDIR=$RPM_BUILD_ROOT
 
34
 
 
35
cd $RPM_BUILD_ROOT
 
36
find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.qgo
 
37
find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.qgo
 
38
find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.qgo
 
39
 
 
40
%clean
 
41
rm -rf $RPM_BUILD_ROOT/*
 
42
rm -rf $RPM_BUILD_DIR/qgo
 
43
rm -rf ../file.list.qgo
 
44
 
 
45
 
 
46
%files -f ../file.list.qgo
 
 
b'\\ No newline at end of file'