]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | %define _rc rc4 | |
3 | Summary: | |
4 | Summary(pl.UTF-8): | |
5 | Name: coriander | |
6 | Version: 2.0.0 | |
7 | Release: 0.%{_rc}.1 | |
8 | License: LGPL v2.1+ | |
9 | Group: Libraries | |
10 | Source0: http://dl.sourceforge.net/coriander/%{name}-%{version}-%{_rc}.tar.gz | |
11 | # Source0-md5: b62c7e9b240a9c7f8bb9b66cce8310b6 | |
12 | URL: http://sourceforge.net/projects/coriander/ | |
13 | BuildRequires: SDL-devel | |
14 | BuildRequires: autoconf >= 2.59-9 | |
15 | BuildRequires: automake | |
16 | BuildRequires: ffmpeg-devel | |
17 | BuildRequires: libdc1394-devel >= 2.0.0-0.rc5.1 | |
18 | BuildRequires: libgnomeui-devel | |
19 | BuildRequires: libtool | |
20 | BuildRequires: pkgconfig | |
21 | BuildRequires: xorg-lib-libX11-devel | |
22 | BuildRequires: xorg-lib-libXext-devel | |
23 | BuildRequires: xorg-lib-libXv-devel | |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | %description | |
27 | ||
28 | %description -l pl.UTF-8 | |
29 | ||
30 | %package devel | |
31 | Summary: coriander header files | |
32 | Summary(pl.UTF-8): Pliki nagłówkowe coriandera | |
33 | Group: Development/Libraries | |
34 | Requires: %{name} = %{version}-%{release} | |
35 | Requires: libdc1394-devel | |
36 | ||
37 | %description devel | |
38 | coriander header files. | |
39 | ||
40 | %description devel -l pl.UTF-8 | |
41 | Pliki nagłówkowe coriandera. | |
42 | ||
43 | %prep | |
44 | %setup -q -n %{name}-%{version}-%{_rc} | |
45 | ||
46 | %build | |
47 | %{__libtoolize} | |
48 | %{__aclocal} | |
49 | %{__autoconf} | |
50 | %{__autoheader} | |
51 | %{__automake} | |
52 | %configure | |
53 | %{__make} | |
54 | ||
55 | %install | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %{__make} install \ | |
59 | DESTDIR=$RPM_BUILD_ROOT | |
60 | ||
61 | %clean | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %post -p /sbin/ldconfig | |
65 | %postun -p /sbin/ldconfig | |
66 | ||
67 | %files | |
68 | %defattr(644,root,root,755) | |
69 | %doc AUTHORS ChangeLog NEWS README | |
70 | #%attr(755,root,root) %{_bindir}/dc1394_reset_bus | |
71 | #%attr(755,root,root) %{_bindir}/dc1394_vloopback | |
72 | #%attr(755,root,root) %{_libdir}/libdc1394.so.20.0.0 | |
73 | ||
74 | %files devel | |
75 | %defattr(644,root,root,755) | |
76 | #%attr(755,root,root) %{_libdir}/libdc1394.so | |
77 | #%{_libdir}/libdc1394.la | |
78 | #%{_includedir}/dc1394 | |
79 | #%{_pkgconfigdir}/libdc1394.pc |