/[packages]/cauldron/t4k_common/current/SPECS/t4k_common.spec
ViewVC logotype

Diff of /cauldron/t4k_common/current/SPECS/t4k_common.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1242783 by umeabot, Fri Feb 5 23:11:03 2016 UTC revision 1242784 by wally, Mon Jul 9 14:03:21 2018 UTC
# Line 1  Line 1 
 %define release 7  
   
1  %define major   0  %define major   0
2  %define libname %mklibname %{name} %{major}  %define libname %mklibname %{name} %{major}
3  %define devname %mklibname -d %{name}  %define devname %mklibname -d %{name}
4    
5  Name:           t4k_common  Name:           t4k_common
6  Version:        0.1.1  Version:        0.1.1
7  Release:        %mkrel %{release}  Release:        %mkrel 8
8  Summary:        Tux4Kids common files  Summary:        Tux4Kids common files
9  Group:          Games/Other  Group:          Games/Other
10  License:        GPLv3+  License:        GPLv3+
# Line 14  URL:            http://tux4kids.alioth.d Line 12  URL:            http://tux4kids.alioth.d
12  # have to change with each new release as the number after download.php changes :(  # have to change with each new release as the number after download.php changes :(
13  Source0:        http://alioth.debian.org/frs/download.php/3439/%{name}-%{version}.tar.gz  Source0:        http://alioth.debian.org/frs/download.php/3439/%{name}-%{version}.tar.gz
14  Patch0:         t4k_common-0.1.1-libpng15.patch  Patch0:         t4k_common-0.1.1-libpng15.patch
15    BuildRequires:  gettext-devel
16  BuildRequires:  SDL-devel  BuildRequires:  SDL-devel
17  BuildRequires:  SDL_mixer-devel  BuildRequires:  SDL_mixer-devel
18  BuildRequires:  SDL_image-devel  BuildRequires:  SDL_image-devel
# Line 51  that use %{libname}. Line 50  that use %{libname}.
50  %setup -q -n %{name}-%{version}  %setup -q -n %{name}-%{version}
51  %patch0 -p0  %patch0 -p0
52    
53    #make autoreconf more happy
54    sed -i -e 's,AM_INIT_AUTOMAKE(\(.*\)),AM_INIT_AUTOMAKE(\[\1 subdir-objects\]),' configure.ac
55    
56  %build  %build
57    # fix build on aarch64
58    autoreconf -vfi
59    
60  %configure2_5x \  %configure2_5x \
61          --disable-static \          --disable-static \
62          --disable-rpath \          --disable-rpath \
63          --disable-doxygen-doc          --disable-doxygen-doc
64  %make  %make_build
65    
66  %install  %install
67  %makeinstall_std  %make_install
68    
69  # we don't want these  # we don't want these
70  find %{buildroot} -name '*.la' -exec rm -f {} ';'  find %{buildroot} -name '*.la' -delete
71    
72  %files  %files
73  %{_datadir}/%{name}  %{_datadir}/%{name}/
74    
75  %files -n %{libname}  %files -n %{libname}
76  %doc README  %doc README

Legend:
Removed from v.1242783  
changed lines
  Added in v.1242784

  ViewVC Help
Powered by ViewVC 1.1.30