]>
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 |
b867a81a MB |
4 | Version: 3.4.4 |
5 | Release: 1 | |
08adcf62 | 6 | License: LGPL v2+ |
3471bf44 | 7 | Group: X11/Libraries |
439ff9a4 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/totem-pl-parser/3.4/%{name}-%{version}.tar.xz |
b867a81a | 9 | # Source0-md5: d047ab9a7555e36be36485cfb1b1fe2c |
08adcf62 | 10 | URL: http://www.gnome.org/projects/totem/ |
588e819f | 11 | BuildRequires: autoconf >= 2.62 |
08adcf62 | 12 | BuildRequires: automake >= 1:1.9 |
08adcf62 | 13 | BuildRequires: gettext-devel |
439ff9a4 | 14 | BuildRequires: glib2-devel >= 1:2.32.0 |
b867a81a | 15 | BuildRequires: gmime-devel >= 2.6.0 |
74822510 | 16 | BuildRequires: gnome-common >= 3.5.91 |
d47a4e79 | 17 | BuildRequires: gobject-introspection-devel >= 0.9.7 |
439ff9a4 | 18 | BuildRequires: gtk-doc >= 1.14 |
02498132 | 19 | BuildRequires: intltool >= 0.40.0 |
30093862 | 20 | BuildRequires: libarchive-devel >= 2.8.4 |
439ff9a4 | 21 | BuildRequires: libgcrypt-devel |
b0e0cd96 | 22 | BuildRequires: libsoup-gnome-devel |
08adcf62 | 23 | BuildRequires: libtool |
55f864b1 | 24 | BuildRequires: libxml2-devel >= 1:2.6.31 |
08adcf62 | 25 | BuildRequires: pkgconfig |
c54cd183 | 26 | BuildRequires: libquvi-devel >= 0.2.15 |
01a2d5e6 AF |
27 | BuildRequires: tar >= 1:1.22 |
28 | BuildRequires: xz | |
08adcf62 | 29 | # sr@Latn vs. sr@latin |
1a3dde43 | 30 | Conflicts: glibc-misc < 6:2.7 |
08adcf62 MB |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
32 | ||
b0e0cd96 | 33 | %undefine __cxx |
34 | ||
08adcf62 MB |
35 | %description |
36 | A library to parse and save playlists, as used in music and movie | |
37 | players. | |
38 | ||
de1bbcc6 JB |
39 | %description -l pl.UTF-8 |
40 | Biblioteka do analizy i zapisu list odtwarzania (playlist) używanych | |
41 | przez odtwarzacze muzyki i filmów. | |
42 | ||
08adcf62 MB |
43 | %package devel |
44 | Summary: Header files for totem-pl-parser library | |
45 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki totem-pl-parser | |
3471bf44 | 46 | Group: X11/Development/Libraries |
08adcf62 | 47 | Requires: %{name} = %{version}-%{release} |
439ff9a4 | 48 | Requires: glib2-devel >= 1:2.32.0 |
b867a81a | 49 | Requires: gmime-devel >= 2.6.0 |
30093862 | 50 | Requires: libarchive-devel >= 2.8.4 |
439ff9a4 | 51 | Requires: libgcrypt-devel |
55f864b1 | 52 | Requires: libxml2-devel >= 1:2.6.31 |
439ff9a4 | 53 | Requires: quvi-devel >= 0.2.15 |
08adcf62 MB |
54 | |
55 | %description devel | |
56 | Header files for totem-pl-parser library. | |
57 | ||
58 | %description devel -l pl.UTF-8 | |
59 | Pliki nagłówkowe biblioteki totem-pl-parser. | |
60 | ||
61 | %package static | |
62 | Summary: Static totem-pl-parser library | |
63 | Summary(pl.UTF-8): Statyczna biblioteka totem-pl-parser | |
3471bf44 | 64 | Group: X11/Development/Libraries |
08adcf62 MB |
65 | Requires: %{name}-devel = %{version}-%{release} |
66 | ||
67 | %description static | |
68 | Static totem-pl-parser library. | |
69 | ||
70 | %description static -l pl.UTF-8 | |
71 | Statyczna biblioteka totem-pl-parser. | |
72 | ||
ed608850 MB |
73 | %package apidocs |
74 | Summary: totem-pl-parser library API documentation | |
75 | Summary(pl.UTF-8): Dokumentacja API biblioteki totem-pl-parser | |
76 | Group: Documentation | |
77 | Requires: gtk-doc-common | |
78 | ||
79 | %description apidocs | |
80 | totem-pl-parser library API documentation. | |
81 | ||
82 | %description apidocs -l pl.UTF-8 | |
83 | Dokumentacja API biblioteki totem-pl-parser. | |
84 | ||
08adcf62 MB |
85 | %prep |
86 | %setup -q | |
87 | ||
08adcf62 | 88 | %build |
0fdf21ce | 89 | %{__gtkdocize} |
08adcf62 MB |
90 | %{__intltoolize} |
91 | %{__libtoolize} | |
b867a81a | 92 | %{__aclocal} -I m4 |
08adcf62 MB |
93 | %{__autoconf} |
94 | %{__autoheader} | |
95 | %{__automake} | |
ed608850 | 96 | %configure \ |
37d7f8df | 97 | --disable-silent-rules \ |
ed608850 MB |
98 | --enable-gtk-doc \ |
99 | --with-html-dir=%{_gtkdocdir} | |
100 | ||
08adcf62 MB |
101 | %{__make} |
102 | ||
103 | %install | |
104 | rm -rf $RPM_BUILD_ROOT | |
105 | ||
106 | %{__make} install \ | |
107 | DESTDIR=$RPM_BUILD_ROOT | |
108 | ||
c964d877 | 109 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
00f67426 | 110 | |
08adcf62 MB |
111 | %find_lang %{name} |
112 | ||
113 | %clean | |
114 | rm -rf $RPM_BUILD_ROOT | |
115 | ||
116 | %post -p /sbin/ldconfig | |
117 | %postun -p /sbin/ldconfig | |
118 | ||
119 | %files -f %{name}.lang | |
120 | %defattr(644,root,root,755) | |
121 | %doc AUTHORS ChangeLog NEWS README | |
122 | %attr(755,root,root) %{_libdir}/libtotem-plparser-mini.so.*.*.* | |
588e819f | 123 | %attr(755,root,root) %ghost %{_libdir}/libtotem-plparser-mini.so.17 |
08adcf62 | 124 | %attr(755,root,root) %{_libdir}/libtotem-plparser.so.*.*.* |
588e819f MB |
125 | %attr(755,root,root) %ghost %{_libdir}/libtotem-plparser.so.17 |
126 | %{_libdir}/girepository-1.0/TotemPlParser-1.0.typelib | |
08adcf62 MB |
127 | |
128 | %files devel | |
129 | %defattr(644,root,root,755) | |
130 | %attr(755,root,root) %{_libdir}/libtotem-plparser-mini.so | |
131 | %attr(755,root,root) %{_libdir}/libtotem-plparser.so | |
08adcf62 MB |
132 | %{_includedir}/totem-pl-parser |
133 | %{_pkgconfigdir}/totem-plparser-mini.pc | |
134 | %{_pkgconfigdir}/totem-plparser.pc | |
588e819f | 135 | %{_datadir}/gir-1.0/TotemPlParser-1.0.gir |
08adcf62 MB |
136 | |
137 | %files static | |
138 | %defattr(644,root,root,755) | |
139 | %{_libdir}/libtotem-plparser-mini.a | |
140 | %{_libdir}/libtotem-plparser.a | |
ed608850 MB |
141 | |
142 | %files apidocs | |
143 | %defattr(644,root,root,755) | |
144 | %{_gtkdocdir}/totem-pl-parser |