]>
Commit | Line | Data |
---|---|---|
08adcf62 MB |
1 | Summary: Totem Playlist Parser library |
2 | Name: totem-pl-parser | |
ed608850 | 3 | Version: 2.21.91 |
08adcf62 MB |
4 | Release: 1 |
5 | License: LGPL v2+ | |
6 | Group: Libraries | |
7 | Source0: http://ftp.gnome.org/pub/GNOME/sources/totem-pl-parser/2.21/%{name}-%{version}.tar.bz2 | |
ed608850 | 8 | # Source0-md5: 1a7de8a0f54bfdfaf598f6abe20d3dc8 |
08adcf62 MB |
9 | URL: http://www.gnome.org/projects/totem/ |
10 | BuildRequires: autoconf >= 2.52 | |
11 | BuildRequires: automake >= 1:1.9 | |
12 | BuildRequires: dbus-devel >= 0.61 | |
13 | BuildRequires: gettext-devel | |
14 | BuildRequires: gnome-common >= 2.20.0 | |
15 | BuildRequires: gnome-vfs2-devel >= 2.20.1 | |
16 | BuildRequires: gtk+2-devel >= 2:2.12.3 | |
ed608850 | 17 | BuildRequires: gtk-doc >= 1.9 |
08adcf62 MB |
18 | BuildRequires: hal-devel >= 0.5.9 |
19 | BuildRequires: intltool >= 0.35.0 | |
20 | BuildRequires: libtool | |
21 | BuildRequires: libxml2-devel >= 2.6.30 | |
22 | BuildRequires: pkgconfig | |
23 | BuildRequires: sed >= 4.0 | |
24 | # sr@Latn vs. sr@latin | |
25 | Conflicts: glibc-misc < 6:2.7 | |
dc0600da | 26 | Obsoletes: totem-devel |
08adcf62 MB |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
28 | ||
29 | %description | |
30 | A library to parse and save playlists, as used in music and movie | |
31 | players. | |
32 | ||
33 | %package devel | |
34 | Summary: Header files for totem-pl-parser library | |
35 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki totem-pl-parser | |
36 | Group: Development/Libraries | |
37 | Requires: %{name} = %{version}-%{release} | |
38 | Requires: gnome-vfs2-devel >= 2.20.1 | |
39 | Requires: gtk+2-devel >= 2:2.12.0 | |
40 | Requires: libxml2-devel >= 2.6.30 | |
41 | ||
42 | %description devel | |
43 | Header files for totem-pl-parser library. | |
44 | ||
45 | %description devel -l pl.UTF-8 | |
46 | Pliki nagłówkowe biblioteki totem-pl-parser. | |
47 | ||
48 | %package static | |
49 | Summary: Static totem-pl-parser library | |
50 | Summary(pl.UTF-8): Statyczna biblioteka totem-pl-parser | |
51 | Group: Development/Libraries | |
52 | Requires: %{name}-devel = %{version}-%{release} | |
53 | ||
54 | %description static | |
55 | Static totem-pl-parser library. | |
56 | ||
57 | %description static -l pl.UTF-8 | |
58 | Statyczna biblioteka totem-pl-parser. | |
59 | ||
ed608850 MB |
60 | %package apidocs |
61 | Summary: totem-pl-parser library API documentation | |
62 | Summary(pl.UTF-8): Dokumentacja API biblioteki totem-pl-parser | |
63 | Group: Documentation | |
64 | Requires: gtk-doc-common | |
65 | ||
66 | %description apidocs | |
67 | totem-pl-parser library API documentation. | |
68 | ||
69 | %description apidocs -l pl.UTF-8 | |
70 | Dokumentacja API biblioteki totem-pl-parser. | |
71 | ||
08adcf62 MB |
72 | %prep |
73 | %setup -q | |
74 | ||
75 | sed -i -e 's#sr@Latn#sr@latin#' po/LINGUAS | |
76 | mv -f po/sr@{Latn,latin}.po | |
77 | ||
78 | %build | |
79 | %{__intltoolize} | |
80 | %{__libtoolize} | |
81 | %{__aclocal} | |
82 | %{__autoconf} | |
83 | %{__autoheader} | |
84 | %{__automake} | |
ed608850 MB |
85 | %configure \ |
86 | --enable-gtk-doc \ | |
87 | --with-html-dir=%{_gtkdocdir} | |
88 | ||
08adcf62 MB |
89 | %{__make} |
90 | ||
91 | %install | |
92 | rm -rf $RPM_BUILD_ROOT | |
93 | ||
94 | %{__make} install \ | |
95 | DESTDIR=$RPM_BUILD_ROOT | |
96 | ||
97 | %find_lang %{name} | |
98 | ||
99 | %clean | |
100 | rm -rf $RPM_BUILD_ROOT | |
101 | ||
102 | %post -p /sbin/ldconfig | |
103 | %postun -p /sbin/ldconfig | |
104 | ||
105 | %files -f %{name}.lang | |
106 | %defattr(644,root,root,755) | |
107 | %doc AUTHORS ChangeLog NEWS README | |
108 | %attr(755,root,root) %{_libdir}/libtotem-plparser-mini.so.*.*.* | |
ed608850 | 109 | %attr(755,root,root) %ghost %{_libdir}/libtotem-plparser-mini.so.10 |
08adcf62 | 110 | %attr(755,root,root) %{_libdir}/libtotem-plparser.so.*.*.* |
ed608850 | 111 | %attr(755,root,root) %ghost %{_libdir}/libtotem-plparser.so.10 |
08adcf62 MB |
112 | |
113 | %files devel | |
114 | %defattr(644,root,root,755) | |
115 | %attr(755,root,root) %{_libdir}/libtotem-plparser-mini.so | |
116 | %attr(755,root,root) %{_libdir}/libtotem-plparser.so | |
117 | %{_libdir}/libtotem-plparser-mini.la | |
118 | %{_libdir}/libtotem-plparser.la | |
119 | %{_includedir}/totem-pl-parser | |
120 | %{_pkgconfigdir}/totem-plparser-mini.pc | |
121 | %{_pkgconfigdir}/totem-plparser.pc | |
122 | ||
123 | %files static | |
124 | %defattr(644,root,root,755) | |
125 | %{_libdir}/libtotem-plparser-mini.a | |
126 | %{_libdir}/libtotem-plparser.a | |
ed608850 MB |
127 | |
128 | %files apidocs | |
129 | %defattr(644,root,root,755) | |
130 | %{_gtkdocdir}/totem-pl-parser |