]>
Commit | Line | Data |
---|---|---|
08adcf62 | 1 | Summary: Totem Playlist Parser library |
de1bbcc6 | 2 | Summary(pl.UTF-8): Biblioteka analizująca listy odtwarzania Totema |
08adcf62 | 3 | Name: totem-pl-parser |
07f99525 | 4 | Version: 3.26.0 |
e2ef4fd1 | 5 | Release: 1 |
08adcf62 | 6 | License: LGPL v2+ |
3471bf44 | 7 | Group: X11/Libraries |
07f99525 MB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/totem-pl-parser/3.26/%{name}-%{version}.tar.xz |
9 | # Source0-md5: f609b4a758055bca5045c83604638723 | |
08adcf62 | 10 | URL: http://www.gnome.org/projects/totem/ |
476612c7 | 11 | BuildRequires: gettext-tools |
00d88694 JB |
12 | BuildRequires: glib2-devel >= 1:2.36.0 |
13 | BuildRequires: gmime3-devel >= 3.0 | |
74822510 | 14 | BuildRequires: gnome-common >= 3.5.91 |
d47a4e79 | 15 | BuildRequires: gobject-introspection-devel >= 0.9.7 |
2d4d194b | 16 | BuildRequires: gtk-doc >= 1.24 |
02498132 | 17 | BuildRequires: intltool >= 0.40.0 |
e2ef4fd1 | 18 | BuildRequires: libarchive-devel >= 3.0 |
439ff9a4 | 19 | BuildRequires: libgcrypt-devel |
e2ef4fd1 JB |
20 | BuildRequires: libquvi-devel >= 0.9.1 |
21 | BuildRequires: libsoup-devel >= 2.43.0 | |
55f864b1 | 22 | BuildRequires: libxml2-devel >= 1:2.6.31 |
07f99525 | 23 | BuildRequires: meson >= 0.40.1 |
08adcf62 | 24 | BuildRequires: pkgconfig |
01a2d5e6 AF |
25 | BuildRequires: tar >= 1:1.22 |
26 | BuildRequires: xz | |
5a121a66 | 27 | Requires: glib2 >= 1:2.36.0 |
e2ef4fd1 JB |
28 | Requires: libquvi >= 0.9.1 |
29 | Requires: libsoup >= 2.43.0 | |
07f99525 | 30 | Obsoletes: totem-pl-parser-static < 3.26.0 |
08adcf62 | 31 | # sr@Latn vs. sr@latin |
1a3dde43 | 32 | Conflicts: glibc-misc < 6:2.7 |
08adcf62 MB |
33 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
34 | ||
b0e0cd96 | 35 | %undefine __cxx |
36 | ||
08adcf62 MB |
37 | %description |
38 | A library to parse and save playlists, as used in music and movie | |
39 | players. | |
40 | ||
de1bbcc6 JB |
41 | %description -l pl.UTF-8 |
42 | Biblioteka do analizy i zapisu list odtwarzania (playlist) używanych | |
43 | przez odtwarzacze muzyki i filmów. | |
44 | ||
08adcf62 MB |
45 | %package devel |
46 | Summary: Header files for totem-pl-parser library | |
47 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki totem-pl-parser | |
3471bf44 | 48 | Group: X11/Development/Libraries |
08adcf62 | 49 | Requires: %{name} = %{version}-%{release} |
00d88694 JB |
50 | Requires: glib2-devel >= 1:2.36.0 |
51 | Requires: gmime3-devel >= 3.0 | |
e2ef4fd1 | 52 | Requires: libarchive-devel >= 3.0 |
439ff9a4 | 53 | Requires: libgcrypt-devel |
55f864b1 | 54 | Requires: libxml2-devel >= 1:2.6.31 |
08adcf62 MB |
55 | |
56 | %description devel | |
57 | Header files for totem-pl-parser library. | |
58 | ||
59 | %description devel -l pl.UTF-8 | |
60 | Pliki nagłówkowe biblioteki totem-pl-parser. | |
61 | ||
62 | %package static | |
63 | Summary: Static totem-pl-parser library | |
64 | Summary(pl.UTF-8): Statyczna biblioteka totem-pl-parser | |
3471bf44 | 65 | Group: X11/Development/Libraries |
08adcf62 MB |
66 | Requires: %{name}-devel = %{version}-%{release} |
67 | ||
68 | %description static | |
69 | Static totem-pl-parser library. | |
70 | ||
71 | %description static -l pl.UTF-8 | |
72 | Statyczna biblioteka totem-pl-parser. | |
73 | ||
ed608850 MB |
74 | %package apidocs |
75 | Summary: totem-pl-parser library API documentation | |
76 | Summary(pl.UTF-8): Dokumentacja API biblioteki totem-pl-parser | |
77 | Group: Documentation | |
78 | Requires: gtk-doc-common | |
ee9a84e7 ER |
79 | %if "%{_rpmversion}" >= "5" |
80 | BuildArch: noarch | |
81 | %endif | |
ed608850 MB |
82 | |
83 | %description apidocs | |
84 | totem-pl-parser library API documentation. | |
85 | ||
86 | %description apidocs -l pl.UTF-8 | |
87 | Dokumentacja API biblioteki totem-pl-parser. | |
88 | ||
08adcf62 MB |
89 | %prep |
90 | %setup -q | |
91 | ||
08adcf62 | 92 | %build |
07f99525 MB |
93 | %meson build \ |
94 | -Denable-gtk-doc=true | |
95 | ||
96 | %ninja -C build | |
08adcf62 MB |
97 | |
98 | %install | |
99 | rm -rf $RPM_BUILD_ROOT | |
08adcf62 | 100 | |
07f99525 MB |
101 | export LC_ALL=C.UTF-8 |
102 | ||
103 | DESTDIR=$RPM_BUILD_ROOT \ | |
104 | %ninja -C build install | |
00f67426 | 105 | |
08adcf62 MB |
106 | %find_lang %{name} |
107 | ||
108 | %clean | |
109 | rm -rf $RPM_BUILD_ROOT | |
110 | ||
111 | %post -p /sbin/ldconfig | |
112 | %postun -p /sbin/ldconfig | |
113 | ||
114 | %files -f %{name}.lang | |
115 | %defattr(644,root,root,755) | |
07f99525 | 116 | %doc AUTHORS NEWS README |
08adcf62 | 117 | %attr(755,root,root) %{_libdir}/libtotem-plparser-mini.so.*.*.* |
e3b57ce6 | 118 | %attr(755,root,root) %ghost %{_libdir}/libtotem-plparser-mini.so.18 |
08adcf62 | 119 | %attr(755,root,root) %{_libdir}/libtotem-plparser.so.*.*.* |
e3b57ce6 | 120 | %attr(755,root,root) %ghost %{_libdir}/libtotem-plparser.so.18 |
588e819f | 121 | %{_libdir}/girepository-1.0/TotemPlParser-1.0.typelib |
e2ef4fd1 JB |
122 | %dir %{_libexecdir}/totem-pl-parser |
123 | %attr(755,root,root) %{_libexecdir}/totem-pl-parser/99-totem-pl-parser-videosite | |
08adcf62 MB |
124 | |
125 | %files devel | |
126 | %defattr(644,root,root,755) | |
127 | %attr(755,root,root) %{_libdir}/libtotem-plparser-mini.so | |
128 | %attr(755,root,root) %{_libdir}/libtotem-plparser.so | |
08adcf62 MB |
129 | %{_includedir}/totem-pl-parser |
130 | %{_pkgconfigdir}/totem-plparser-mini.pc | |
131 | %{_pkgconfigdir}/totem-plparser.pc | |
588e819f | 132 | %{_datadir}/gir-1.0/TotemPlParser-1.0.gir |
08adcf62 | 133 | |
ed608850 MB |
134 | %files apidocs |
135 | %defattr(644,root,root,755) | |
136 | %{_gtkdocdir}/totem-pl-parser |