]>
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 |
2764ae04 | 4 | Version: 3.10.5 |
0d796a20 | 5 | Release: 2 |
08adcf62 | 6 | License: LGPL v2+ |
3471bf44 | 7 | Group: X11/Libraries |
e3b57ce6 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/totem-pl-parser/3.10/%{name}-%{version}.tar.xz |
2764ae04 | 9 | # Source0-md5: 7ff9cf8afa8df88e7856cce578d002fe |
08adcf62 | 10 | URL: http://www.gnome.org/projects/totem/ |
588e819f | 11 | BuildRequires: autoconf >= 2.62 |
08adcf62 | 12 | BuildRequires: automake >= 1:1.9 |
476612c7 | 13 | BuildRequires: gettext-tools |
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 |
2d4d194b | 18 | BuildRequires: gtk-doc >= 1.24 |
02498132 | 19 | BuildRequires: intltool >= 0.40.0 |
30093862 | 20 | BuildRequires: libarchive-devel >= 2.8.4 |
439ff9a4 | 21 | BuildRequires: libgcrypt-devel |
681e0c23 | 22 | BuildRequires: libquvi-devel >= 0.2.15 |
b0e0cd96 | 23 | BuildRequires: libsoup-gnome-devel |
08adcf62 | 24 | BuildRequires: libtool |
55f864b1 | 25 | BuildRequires: libxml2-devel >= 1:2.6.31 |
08adcf62 | 26 | BuildRequires: pkgconfig |
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 | |
ee9a84e7 ER |
78 | %if "%{_rpmversion}" >= "5" |
79 | BuildArch: noarch | |
80 | %endif | |
ed608850 MB |
81 | |
82 | %description apidocs | |
83 | totem-pl-parser library API documentation. | |
84 | ||
85 | %description apidocs -l pl.UTF-8 | |
86 | Dokumentacja API biblioteki totem-pl-parser. | |
87 | ||
08adcf62 MB |
88 | %prep |
89 | %setup -q | |
90 | ||
08adcf62 | 91 | %build |
0fdf21ce | 92 | %{__gtkdocize} |
08adcf62 MB |
93 | %{__intltoolize} |
94 | %{__libtoolize} | |
b867a81a | 95 | %{__aclocal} -I m4 |
08adcf62 MB |
96 | %{__autoconf} |
97 | %{__autoheader} | |
98 | %{__automake} | |
ed608850 | 99 | %configure \ |
37d7f8df | 100 | --disable-silent-rules \ |
ed608850 MB |
101 | --enable-gtk-doc \ |
102 | --with-html-dir=%{_gtkdocdir} | |
103 | ||
08adcf62 MB |
104 | %{__make} |
105 | ||
106 | %install | |
107 | rm -rf $RPM_BUILD_ROOT | |
08adcf62 MB |
108 | %{__make} install \ |
109 | DESTDIR=$RPM_BUILD_ROOT | |
110 | ||
c964d877 | 111 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
00f67426 | 112 | |
08adcf62 MB |
113 | %find_lang %{name} |
114 | ||
115 | %clean | |
116 | rm -rf $RPM_BUILD_ROOT | |
117 | ||
118 | %post -p /sbin/ldconfig | |
119 | %postun -p /sbin/ldconfig | |
120 | ||
121 | %files -f %{name}.lang | |
122 | %defattr(644,root,root,755) | |
123 | %doc AUTHORS ChangeLog NEWS README | |
124 | %attr(755,root,root) %{_libdir}/libtotem-plparser-mini.so.*.*.* | |
e3b57ce6 | 125 | %attr(755,root,root) %ghost %{_libdir}/libtotem-plparser-mini.so.18 |
08adcf62 | 126 | %attr(755,root,root) %{_libdir}/libtotem-plparser.so.*.*.* |
e3b57ce6 | 127 | %attr(755,root,root) %ghost %{_libdir}/libtotem-plparser.so.18 |
588e819f | 128 | %{_libdir}/girepository-1.0/TotemPlParser-1.0.typelib |
08adcf62 MB |
129 | |
130 | %files devel | |
131 | %defattr(644,root,root,755) | |
132 | %attr(755,root,root) %{_libdir}/libtotem-plparser-mini.so | |
133 | %attr(755,root,root) %{_libdir}/libtotem-plparser.so | |
08adcf62 MB |
134 | %{_includedir}/totem-pl-parser |
135 | %{_pkgconfigdir}/totem-plparser-mini.pc | |
136 | %{_pkgconfigdir}/totem-plparser.pc | |
588e819f | 137 | %{_datadir}/gir-1.0/TotemPlParser-1.0.gir |
08adcf62 MB |
138 | |
139 | %files static | |
140 | %defattr(644,root,root,755) | |
141 | %{_libdir}/libtotem-plparser-mini.a | |
142 | %{_libdir}/libtotem-plparser.a | |
ed608850 MB |
143 | |
144 | %files apidocs | |
145 | %defattr(644,root,root,755) | |
146 | %{_gtkdocdir}/totem-pl-parser |