This commit is contained in:
parent
a3583282bd
commit
47469c663c
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 24 12:04:24 CEST 2007 - mmarek@suse.cz
|
||||
|
||||
- fixed some rpmlint errors
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 4 16:23:51 CEST 2007 - mmarek@suse.cz
|
||||
|
||||
|
13
swig.spec
13
swig.spec
@ -18,7 +18,7 @@ Group: Development/Languages/C and C++
|
||||
Autoreqprov: on
|
||||
Summary: Simplified Wrapper and Interface Generator
|
||||
Version: 1.3.31
|
||||
Release: 2
|
||||
Release: 15
|
||||
Source: swig-%{version}.tar.bz2
|
||||
Patch1: swig-testsuite.patch
|
||||
Patch2: swig-1.3.31-testsuite-warnings.patch
|
||||
@ -90,7 +90,6 @@ Authors:
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
chmod -x Doc/Manual/*
|
||||
%patch1
|
||||
%patch2
|
||||
|
||||
@ -119,6 +118,14 @@ cp -a FUTURE TODO NEW ANNOUNCE CHANGES* LICENSE README Doc/{Devel,Manual} \
|
||||
$RPM_BUILD_ROOT%{_docdir}/%{name}/
|
||||
install -d $RPM_BUILD_ROOT%{_libdir}/swig
|
||||
cp -a Examples $RPM_BUILD_ROOT%_libdir/swig/
|
||||
# rm files that are not needed for runnig or rebuilding the examples
|
||||
find $RPM_BUILD_ROOT%_libdir/swig \
|
||||
-name '*.dsp' -o -name '*.vcproj' -o -name '*.sln' -o \
|
||||
-name '*.o' -o -name '*_wrap.c' | xargs rm
|
||||
# fix perms
|
||||
chmod -x $RPM_BUILD_ROOT%_docdir/%name/Manual/*
|
||||
find $RPM_BUILD_ROOT%_libdir/swig -name '*.h' -perm +111 | \
|
||||
xargs --no-run-if-empty chmod -x
|
||||
ln -s %_libdir/swig/Examples $RPM_BUILD_ROOT%_docdir/%name/
|
||||
|
||||
%clean
|
||||
@ -142,6 +149,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_libdir}/swig
|
||||
|
||||
%changelog
|
||||
* Thu May 24 2007 - mmarek@suse.cz
|
||||
- fixed some rpmlint errors
|
||||
* Wed Apr 04 2007 - mmarek@suse.cz
|
||||
- install the precompiled examples to %%_libdir/swig
|
||||
* Wed Jan 24 2007 - mmarek@suse.cz
|
||||
|
Loading…
Reference in New Issue
Block a user