1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
Summary: SDL SMJPEG library
Summary(pl.UTF-8): Biblioteka SDL SMJPEG
Name: smjpeg
Version: 0.2.2
Release: 1
License: LGPL
Group: Libraries
# taken from http://icculus.org/smjpeg/ SVN
Source0: %{name}-%{version}.tar.gz
# Source0-md5: 39364a0e32b564a116d1adc9525ac00d
URL: http://www.lokigames.com/development/smjpeg.php3
BuildRequires: SDL-devel >= 1.2.0
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
SMJPEG is a custom Motion JPEG format used by Loki Entertainment
Software in the games they port.
%description -l pl.UTF-8
SMJPEG to własny format ruchomych obrazów Motion JPEG używany przez
Loki Entertainment Software w ich portach gier.
%package devel
Summary: Smjpeg header files and development documentation
Summary(pl.UTF-8): Pliki nagłówkowe oraz dokumentacja do smjpeg
Group: X11/Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
Header files and development documentation for smjpeg.
%description devel -l pl.UTF-8
Pliki nagłówkowe oraz dokumentacja do biblioteki smjpeg.
%package static
Summary: Smjpeg static libraries
Summary(pl.UTF-8): Biblioteki statyczne smjpeg
Group: X11/Development/Libraries
Requires: %{name}-devel = %{version}-%{release}
%description static
Smjpeg static libraries.
%description static -l pl.UTF-8
Biblioteki statyczne smjpeg.
%prep
%setup -q
%build
rm -f missing
#%%{__libtoolize}
%{__aclocal}
%{__autoconf}
%{__automake}
%configure
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/*
%attr(755,root,root) %{_libdir}/lib*.so.*.*
%files devel
%defattr(644,root,root,755)
%doc CHANGES README SMJPEG.txt TODO
%attr(755,root,root) %{_libdir}/lib*.so
%{_libdir}/lib*.la
%{_includedir}/*
%files static
%defattr(644,root,root,755)
%{_libdir}/lib*.a
|