]>
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 |
02498132 MB |
4 | Version: 2.24.0 |
5 | Release: 1 | |
08adcf62 | 6 | License: LGPL v2+ |
3471bf44 | 7 | Group: X11/Libraries |
02498132 MB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/totem-pl-parser/2.24/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: 9afeede3075c10f8cf1092d80c4e9737 | |
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 | |
f08d609a | 14 | BuildRequires: evolution-data-server-devel |
08adcf62 MB |
15 | BuildRequires: gettext-devel |
16 | BuildRequires: gnome-common >= 2.20.0 | |
02498132 MB |
17 | BuildRequires: glib2-devel >= 1:2.16.3 |
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 MB |
25 | # sr@Latn vs. sr@latin |
26 | Conflicts: glibc-misc < 6:2.7 | |
e9f7a341 MB |
27 | Provides: totem-libs |
28 | Obsoletes: totem-libs | |
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} |
02498132 | 44 | Requires: gtk+2-devel >= 2:2.14.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 MB |
84 | %build |
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 |