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