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