]>
Commit | Line | Data |
---|---|---|
6708edd3 AF |
1 | Summary: rygel |
2 | Name: rygel | |
3 | Version: 0.12.5 | |
4 | Release: 1 | |
5 | License: LGPL v2+ | |
6 | Group: X11/Applications | |
7 | Source0: http://ftp.gnome.org/pub/GNOME/sources/rygel/0.12/%{name}-%{version}.tar.xz | |
8 | # Source0-md5: 1a52accbbe8ccb178ab428e6c1abd7a3 | |
9 | Source1: git-version-gen | |
10 | URL: http://live.gnome.org/Rygel | |
11 | BuildRequires: autoconf >= 2.64 | |
12 | BuildRequires: automake >= 1.11.1 | |
13 | BuildRequires: gettext-devel | |
14 | BuildRequires: glib2-devel >= 2.26 | |
15 | BuildRequires: gssdp-devel <= 0.12.9999 | |
16 | BuildRequires: gssdp-devel >= 0.11.0 | |
17 | BuildRequires: gstreamer-devel >= 0.10.23 | |
18 | BuildRequires: gstreamer-plugins-base-devel >= 0.10.28 | |
19 | BuildRequires: gtk+3-devel >= 3.0.0 | |
20 | BuildRequires: gupnp-av-devel <= 0.10.9999 | |
21 | BuildRequires: gupnp-av-devel >= 0.9.0 | |
22 | BuildRequires: gupnp-devel <= 0.18.9999 | |
23 | BuildRequires: gupnp-devel >= 0.17.1 | |
24 | BuildRequires: gupnp-dlna-devel <= 0.6.9999 | |
25 | BuildRequires: gupnp-dlna-devel >= 0.5.0 | |
26 | BuildRequires: intltool >= 0.40.0 | |
27 | BuildRequires: libgee-devel <= 0.6.9999 | |
28 | BuildRequires: libgee-devel >= 0.5.2 | |
29 | BuildRequires: libsoup-devel <= 2.36.9999 | |
30 | BuildRequires: libsoup-devel >= 2.34.0 | |
31 | BuildRequires: libtool >= 2.2.6 | |
32 | BuildRequires: libuuid-devel >= 1.41.3 | |
33 | BuildRequires: libxslt-progs | |
34 | BuildRequires: sqlite3-devel >= 3.5 | |
35 | BuildRequires: vala >= 0.11.6 | |
36 | BuildRequires: vala-gssdp >= 0.9.0 | |
37 | Requires(post,postun): gtk-update-icon-cache | |
38 | Requires(post,postun): hicolor-icon-theme | |
39 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
40 | ||
41 | %description | |
42 | Rygel is a collection of DLNA (UPnP AV) services (devices in UPnP | |
43 | speak), implemented through a plug-in mechanism. | |
44 | ||
45 | %package devel | |
46 | Summary: Rygel header files | |
47 | Summary(pl.UTF-8): Pliki nagłówkowe rygel | |
48 | Group: X11/Development/Libraries | |
49 | Requires: %{name} = %{version}-%{release} | |
50 | ||
51 | %description devel | |
52 | Rygel header files. | |
53 | ||
54 | %description devel -l pl.UTF-8 | |
55 | Pliki nagłówkowe rygel. | |
56 | ||
57 | %prep | |
58 | %setup -q | |
59 | install -m755 %{SOURCE1} build-aux/git-version-gen | |
60 | ||
61 | %build | |
62 | %{__intltoolize} | |
63 | %{__libtoolize} | |
64 | %{__aclocal} -I m4 | |
65 | %{__autoconf} | |
66 | %{__autoheader} | |
67 | %{__automake} | |
68 | %configure \ | |
69 | --enable-gst-launch-plugin \ | |
70 | --enable-mediathek-plugin \ | |
71 | --disable-silent-rules | |
72 | %{__make} | |
73 | ||
74 | %install | |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
77 | %{__make} install \ | |
78 | DESTDIR=$RPM_BUILD_ROOT | |
79 | ||
80 | rm $RPM_BUILD_ROOT%{_libdir}/rygel-1.0/*.la | |
81 | ||
82 | %find_lang %{name} | |
83 | ||
84 | %clean | |
85 | rm -rf $RPM_BUILD_ROOT | |
86 | ||
87 | %post | |
88 | /sbin/ldconfig | |
89 | %update_icon_cache hicolor | |
90 | ||
91 | %postun | |
92 | /sbin/ldconfig | |
93 | %update_icon_cache hicolor | |
94 | ||
95 | %files -f %{name}.lang | |
96 | %defattr(644,root,root,755) | |
97 | %doc README ChangeLog AUTHORS | |
98 | %attr(755,root,root) %{_bindir}/rygel | |
99 | %attr(755,root,root) %{_bindir}/rygel-preferences | |
100 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rygel.conf | |
101 | %attr(755,root,root) %{_libdir}/rygel-1.0/librygel-*.so | |
102 | %{_desktopdir}/rygel-preferences.desktop | |
103 | %{_desktopdir}/rygel.desktop | |
104 | %{_datadir}/dbus-1/services/org.gnome.Rygel1.service | |
105 | %{_datadir}/rygel | |
106 | %{_iconsdir}/hicolor/*/apps/* | |
107 | %{_mandir}/man1/rygel.1* | |
108 | %{_mandir}/man5/rygel.conf.5* | |
109 | ||
110 | %files devel | |
111 | %defattr(644,root,root,755) | |
112 | %{_includedir}/rygel-1.0 | |
113 | %{_pkgconfigdir}/rygel-1.0.pc | |
114 | %{_datadir}/vala/vapi/rygel-1.0.deps | |
115 | %{_datadir}/vala/vapi/rygel-1.0.vapi |