~ubuntu-branches/ubuntu/saucy/sage/saucy

« back to all changes in this revision

Viewing changes to sage.spec

  • Committer: Bazaar Package Importer
  • Author(s): Michael Koch
  • Date: 2005-10-24 15:31:30 UTC
  • mto: (2.1.1 etch)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20051024153130-sofzw63wunzo3bzn
Tags: upstream-0.1.2
ImportĀ upstreamĀ versionĀ 0.1.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
%define name    sage
2
 
%define version 0.1.1
 
2
%define version 0.1.2
3
3
%define release 1
4
 
%define serial 1
5
4
%define prefix /usr
6
5
 
7
6
Summary:        An OpenGL Extensions library using SDL
8
7
Name:           %{name}
9
8
Version:        %{version}
10
9
Release:        %{release}
11
 
Serial:         %{serial}
12
 
Copyright:      LGPL
 
10
License:        LGPL
13
11
Group:          System Environment/Libraries
14
12
Source:         %{name}-%{version}.tar.gz
15
 
BuildRoot:      /var/temp/%{name}-%{version}-buildroot
16
13
Requires:       SDL >= 1.2.2
17
14
BuildRequires:  SDL-devel >= 1.2.2
18
 
Prefix:         %{prefix}
 
15
BuildRoot:      %{_tmppath}/%{name}-%{version}-buildroot
 
16
 
 
17
AutoReqProv: no
19
18
 
20
19
%description
21
20
Sage is an OpenGL extensions library using SDL's SDL_GetProcAddress function to connect OpenGL extension functions.
23
22
%package devel
24
23
Summary:        An OpenGL Extensions library using SDL
25
24
Group:          Development/Libraries
26
 
Requires:       %{name} = %{version}
 
25
Requires:       %{name} = %{version} SDL-devel >= 1.2.2
27
26
 
28
27
%description devel
29
28
Sage is an OpenGL extensions library using SDL's SDL_GetProcAddress function to connect OpenGL extension functions.
30
29
 
31
30
%prep
32
 
%setup
 
31
%setup -q
33
32
 
34
33
%build
35
 
CXXFLAGS=$RPM_OPT_FLAGS ./configure --prefix=%{prefix}
 
34
CXXFLAGS=$RPM_OPT_FLAGS %configure
36
35
 
37
36
%install
38
37
rm -rf $RPM_BUILD_ROOT
39
 
make prefix=$RPM_BUILD_ROOT%{prefix} install
 
38
%makeinstall
40
39
 
41
40
%clean
42
41
rm -rf $RPM_BUILD_ROOT
43
42
 
44
43
%files
45
44
%defattr(-,root,root)
46
 
%{prefix}/lib/libsage.so.*
 
45
%{_libdir}/libsage.so.*
47
46
%doc AUTHORS README COPYING NEWS
48
47
 
49
48
%files devel
50
49
%defattr(-,root,root)
51
 
%{prefix}/include/sage/sage.h
52
 
%{prefix}/include/sage/header.h
53
 
%{prefix}/include/sage/utility.h
54
 
%{prefix}/include/sage/glext_sage.h
55
 
%{prefix}/lib/libsage.a
56
 
%{prefix}/lib/libsage.so
57
 
%{prefix}/lib/libsage.la
58
 
%{prefix}/lib/pkgconfig/sage.pc
 
50
%{_includedir}/sage/sage.h
 
51
%{_includedir}/sage/header.h
 
52
%{_includedir}/sage/utility.h
 
53
%{_includedir}/sage/glext_sage.h
 
54
%{_includedir}/sage/GL.h
 
55
%{_includedir}/sage/GLU.h
 
56
%{_includedir}/sage/undefs.h
 
57
%{_libdir}/libsage.a
 
58
%{_libdir}/libsage.so
 
59
%{_libdir}/libsage.la
 
60
%{_libdir}/pkgconfig/sage.pc
 
61
%{_mandir}/man3/sage.3.gz
 
62
%{_mandir}/man3/sage_init.3.gz
 
63
 
 
64
%changelog
 
65
* Mon Oct 10 2005 Simon Goodall <sage@simongoodall.co.uk>
 
66
- Add man pages to files section
 
67
 
 
68
* Mon Jun 28 2004 Simon Goodall <sage@simongoodall.co.uk>
 
69
- Replace _prefix with better macros
 
70
- Add missing file entries
 
71
- Ignore libGL.so.1