blob: 36d46fa8867956a0e37940a56f7bd73a19b6a993 (
plain)
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
|
#sbs-git:slp/pkgs/m/media-server media-server 0.1.60 e216f565fe5687a6f387f2b3ee2097b926225517
Name: media-server
Summary: File manager service server.
Version: 0.1.66
Release: 1
Group: Services
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
Source1001: packaging/media-server.manifest
Requires(post): /usr/bin/vconftool
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(vconf)
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(drm-service)
BuildRequires: pkgconfig(aul)
BuildRequires: pkgconfig(pmapi)
%description
Description: File manager service server
%package -n libmedia-utils
Summary: media server runtime library.
Group: TO_BE/FILLED_IN
Requires: %{name} = %{version}-%{release}
%description -n libmedia-utils
Description : media server runtime library.
%package -n libmedia-utils-devel
Summary: media server development library.
Group: Development/Libraries
Requires: libmedia-utils = %{version}-%{release}
%description -n libmedia-utils-devel
Description: media server development library.
%prep
%setup -q
%build
cp %{SOURCE1001} .
%autogen
%configure --prefix=%{_prefix} --disable-static
make %{?jobs:-j%jobs}
%install
rm -rf %{buildroot}
%make_install
%post
vconftool set -t int db/filemanager/dbupdate "1"
vconftool set -t int memory/filemanager/Mmc "0" -i
vconftool set -t int db/Apps/mediaserver/usbmode "0"
vconftool set -t string db/Apps/mediaserver/mmc_info ""
%files
%manifest media-server.manifest
%defattr(-,root,root,-)
%{_bindir}/media-server
%attr(755,-,-) %{_sysconfdir}/rc.d/init.d/mediasvr
/etc/rc.d/rc3.d/S48mediasvr
/etc/rc.d/rc5.d/S48mediasvr
%files -n libmedia-utils
%manifest media-server.manifest
%defattr(-,root,root,-)
%{_libdir}/libmedia-utils.so
%{_libdir}/libmedia-utils.so.0
%{_libdir}/libmedia-utils.so.0.0.0
%files -n libmedia-utils-devel
%manifest media-server.manifest
%defattr(-,root,root,-)
%{_libdir}/pkgconfig/libmedia-utils.pc
%{_includedir}/media-utils/*.h
|