]>
Commit | Line | Data |
---|---|---|
f960130c JB |
1 | Summary: Disko - multimedia framework on top of DirectFB |
2 | Summary(pl.UTF-8): Disko - szkielet multimedialny oparty na DirectFB | |
3 | Name: disko | |
4 | Version: 1.1.1 | |
5 | Release: 1 | |
6 | License: GPL v2+ | |
7 | Group: Libraries | |
8 | Source0: http://www.directfb.org/downloads/Libs/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: d34dfecc32590025caaa47a59225651f | |
10 | Patch0: %{name}-libdir.patch | |
11 | URL: http://www.directfb.org/index.php?path=Projects/Disko | |
12 | BuildRequires: DirectFB-devel >= 1:1.2.0 | |
13 | BuildRequires: alsa-lib-devel | |
14 | BuildRequires: curl-devel | |
15 | BuildRequires: libsigc++-devel >= 2.0 | |
16 | BuildRequires: libxml2-devel >= 1:2.6 | |
17 | BuildRequires: pkgconfig >= 1:0.9 | |
18 | BuildRequires: sqlite3-devel | |
19 | BuildRequires: unixODBC-devel | |
20 | BuildRequires: xine-lib-devel | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | Disko is an application framework for digital media devices. | |
25 | ||
26 | %description -l pl.UTF-8 | |
27 | Disko to szkielet aplikacji dla cyfrowych urządzeń multimedialnych. | |
28 | ||
29 | %package devel | |
30 | Summary: Header files for the Disko libraries | |
31 | Summary(pl.UTF-8): Pliki nagłówkowe dla bibliotek Disko | |
32 | Group: Development/Libraries | |
33 | Requires: %{name} = %{version}-%{release} | |
34 | Requires: DirectFB-devel >= 1:1.2.0 | |
35 | Requires: alsa-lib-devel | |
36 | Requires: curl-devel | |
37 | Requires: libsigc++-devel >= 2.0 | |
38 | Requires: libxml2-devel >= 1:2.6 | |
39 | Requires: sqlite3-devel | |
40 | Requires: unixODBC-devel | |
41 | Requires: xine-lib-devel | |
42 | ||
43 | %description devel | |
44 | Header files for Disko libraries. | |
45 | ||
46 | %description devel -l pl.UTF-8 | |
47 | Pliki nagłówkowe dla bibliotek Disko. | |
48 | ||
49 | %prep | |
50 | %setup -q | |
51 | %patch0 -p1 | |
52 | ||
53 | %build | |
54 | CFLAGS="%{rpmcflags} -fPIC" \ | |
55 | %{__make} \ | |
56 | CXX="%{__cxx}" \ | |
57 | DEBUG_FLAG_SET=1 | |
58 | ||
59 | %install | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %{__make} install \ | |
63 | DESTDIR=$RPM_BUILD_ROOT \ | |
64 | prefix=%{_prefix} \ | |
65 | libdir=%{_libdir} \ | |
66 | incdir=%{_includedir} | |
67 | ||
68 | %clean | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
71 | %post -p /sbin/ldconfig | |
72 | %postun -p /sbin/ldconfig | |
73 | ||
74 | %files | |
75 | %defattr(644,root,root,755) | |
76 | %doc README | |
77 | %attr(755,root,root) %{_libdir}/libmmsbase.so | |
78 | %attr(755,root,root) %{_libdir}/libmmsconfig.so | |
79 | %attr(755,root,root) %{_libdir}/libmmscore.so | |
80 | %attr(755,root,root) %{_libdir}/libmmsdata.so | |
81 | %attr(755,root,root) %{_libdir}/libmmsgui.so | |
82 | %attr(755,root,root) %{_libdir}/libmmsinput.so | |
83 | %attr(755,root,root) %{_libdir}/libmmsmedia.so | |
84 | %attr(755,root,root) %{_libdir}/libmmstools.so | |
85 | ||
86 | %files devel | |
87 | %defattr(644,root,root,755) | |
88 | %{_includedir}/mmsbase | |
89 | %{_includedir}/mmsconfig | |
90 | %{_includedir}/mmscore | |
91 | %{_includedir}/mmsdata | |
92 | %{_includedir}/mmsgui | |
93 | %{_includedir}/mmsinput | |
94 | %{_includedir}/mmsmedia | |
95 | %{_includedir}/mmstools | |
96 | %{_includedir}/mms.h | |
97 | %{_pkgconfigdir}/disko.pc |