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