ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/sigcpp.spec
(Generate patch)

Comparing COMP/CMSDIST/sigcpp.spec (file contents):
Revision 1.2 by eulisse, Fri Jun 23 12:00:07 2006 UTC vs.
Revision 1.18 by eulisse, Thu Sep 15 11:30:46 2011 UTC

# Line 1 | Line 1
1 < ### RPM external sigcpp 2.0.17
2 < %define majorv %(echo %v | cut -d. -f1,2)
3 < Source: http://ftp.gnome.org/pub/GNOME/sources/libsigc++/%{majorv}/libsigc++-%{v}.tar.gz
4 <
1 > ### RPM external sigcpp 2.2.10
2 > %define majorv %(echo %realversion | cut -d. -f1,2)
3 > Source: http://ftp.gnome.org/pub/GNOME/sources/libsigc++/%{majorv}/libsigc++-%{realversion}.tar.bz2
4   %prep
5 < %setup -q -n libsigc++-%{v}
6 < ./configure  --prefix=%{i}
5 > %setup -q -n libsigc++-%{realversion}
6 > ./configure --prefix=%{i} --disable-static
7  
8   %build
9   make %makeprocesses
10 + %install
11 + make install
12 + # We remove pkg-config files for two reasons:
13 + # * it's actually not required (macosx does not even have it).
14 + # * rpm 4.8 adds a dependency on the system /usr/bin/pkg-config
15 + #   on linux.
16 + # In the case at some point we build a package that can be build
17 + # only via pkg-config we have to think on how to ship our own
18 + # version.
19 + rm -rf %i/lib/pkgconfig
20 + # Read documentation online.
21 + rm -rf %i/share
22 + cp %i/lib/sigc++-2.0/include/sigc++config.h %i/include/sigc++-2.0/

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines