]>
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 |
6407f7c1 MB |
4 | Version: 2.24.3 |
5 | Release: 1 | |
08adcf62 | 6 | License: LGPL v2+ |
3471bf44 | 7 | Group: X11/Libraries |
02498132 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/totem-pl-parser/2.24/%{name}-%{version}.tar.bz2 |
6407f7c1 | 9 | # Source0-md5: f63f3a7743b7ec5b1115d3866461ce30 |
08adcf62 MB |
10 | URL: http://www.gnome.org/projects/totem/ |
11 | BuildRequires: autoconf >= 2.52 | |
12 | BuildRequires: automake >= 1:1.9 | |
13 | BuildRequires: dbus-devel >= 0.61 | |
1a3dde43 | 14 | BuildRequires: evolution-data-server-devel >= 2.24.0 |
08adcf62 | 15 | BuildRequires: gettext-devel |
1a3dde43 MB |
16 | BuildRequires: glib2-devel >= 1:2.18.0 |
17 | BuildRequires: gnome-common >= 2.24.0 | |
02498132 | 18 | BuildRequires: gtk+2-devel >= 2:2.14.0 |
ed608850 | 19 | BuildRequires: gtk-doc >= 1.9 |
08adcf62 | 20 | BuildRequires: hal-devel >= 0.5.9 |
02498132 | 21 | BuildRequires: intltool >= 0.40.0 |
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 | ||
31 | %description | |
32 | A library to parse and save playlists, as used in music and movie | |
33 | players. | |
34 | ||
de1bbcc6 JB |
35 | %description -l pl.UTF-8 |
36 | Biblioteka do analizy i zapisu list odtwarzania (playlist) używanych | |
37 | przez odtwarzacze muzyki i filmów. | |
38 | ||
08adcf62 MB |
39 | %package devel |
40 | Summary: Header files for totem-pl-parser library | |
41 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki totem-pl-parser | |
3471bf44 | 42 | Group: X11/Development/Libraries |
08adcf62 | 43 | Requires: %{name} = %{version}-%{release} |
1a3dde43 | 44 | Requires: evolution-data-server-devel >= 2.24.0 |
02498132 | 45 | Requires: gtk+2-devel >= 2:2.14.0 |
55f864b1 | 46 | Requires: libxml2-devel >= 1:2.6.31 |
e9f7a341 MB |
47 | Provides: totem-devel |
48 | Obsoletes: totem-devel | |
08adcf62 MB |
49 | |
50 | %description devel | |
51 | Header files for totem-pl-parser library. | |
52 | ||
53 | %description devel -l pl.UTF-8 | |
54 | Pliki nagłówkowe biblioteki totem-pl-parser. | |
55 | ||
56 | %package static | |
57 | Summary: Static totem-pl-parser library | |
58 | Summary(pl.UTF-8): Statyczna biblioteka totem-pl-parser | |
3471bf44 | 59 | Group: X11/Development/Libraries |
08adcf62 | 60 | Requires: %{name}-devel = %{version}-%{release} |
e9f7a341 MB |
61 | Provides: totem-static |
62 | Obsoletes: totem-static | |
08adcf62 MB |
63 | |
64 | %description static | |
65 | Static totem-pl-parser library. | |
66 | ||
67 | %description static -l pl.UTF-8 | |
68 | Statyczna biblioteka totem-pl-parser. | |
69 | ||
ed608850 MB |
70 | %package apidocs |
71 | Summary: totem-pl-parser library API documentation | |
72 | Summary(pl.UTF-8): Dokumentacja API biblioteki totem-pl-parser | |
73 | Group: Documentation | |
74 | Requires: gtk-doc-common | |
75 | ||
76 | %description apidocs | |
77 | totem-pl-parser library API documentation. | |
78 | ||
79 | %description apidocs -l pl.UTF-8 | |
80 | Dokumentacja API biblioteki totem-pl-parser. | |
81 | ||
08adcf62 MB |
82 | %prep |
83 | %setup -q | |
84 | ||
08adcf62 MB |
85 | %build |
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 |