]>
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 |
e929f4c8 | 4 | Version: 2.30.1 |
ff9fd8bd | 5 | Release: 2 |
08adcf62 | 6 | License: LGPL v2+ |
3471bf44 | 7 | Group: X11/Libraries |
588e819f | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/totem-pl-parser/2.30/%{name}-%{version}.tar.bz2 |
e929f4c8 | 9 | # Source0-md5: 4e571af1a234a490b637cbcafe9974ca |
08adcf62 | 10 | URL: http://www.gnome.org/projects/totem/ |
588e819f | 11 | BuildRequires: autoconf >= 2.62 |
08adcf62 | 12 | BuildRequires: automake >= 1:1.9 |
08adcf62 | 13 | BuildRequires: gettext-devel |
7eee674a | 14 | BuildRequires: glib2-devel >= 1:2.22.0 |
df56b24b | 15 | BuildRequires: gmime-devel |
1a3dde43 | 16 | BuildRequires: gnome-common >= 2.24.0 |
588e819f | 17 | BuildRequires: gobject-introspection-devel >= 0.6.7 |
7eee674a | 18 | BuildRequires: gtk-doc >= 1.11 |
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} |
7eee674a MB |
42 | Requires: glib2-devel >= 1:2.22.0 |
43 | Requires: gmime-devel | |
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 | ||
00f67426 | 103 | rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/en@shaw |
ff9fd8bd | 104 | rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la |
00f67426 | 105 | |
08adcf62 MB |
106 | %find_lang %{name} |
107 | ||
108 | %clean | |
109 | rm -rf $RPM_BUILD_ROOT | |
110 | ||
111 | %post -p /sbin/ldconfig | |
112 | %postun -p /sbin/ldconfig | |
113 | ||
114 | %files -f %{name}.lang | |
115 | %defattr(644,root,root,755) | |
116 | %doc AUTHORS ChangeLog NEWS README | |
117 | %attr(755,root,root) %{_libdir}/libtotem-plparser-mini.so.*.*.* | |
588e819f | 118 | %attr(755,root,root) %ghost %{_libdir}/libtotem-plparser-mini.so.17 |
08adcf62 | 119 | %attr(755,root,root) %{_libdir}/libtotem-plparser.so.*.*.* |
588e819f MB |
120 | %attr(755,root,root) %ghost %{_libdir}/libtotem-plparser.so.17 |
121 | %{_libdir}/girepository-1.0/TotemPlParser-1.0.typelib | |
08adcf62 MB |
122 | |
123 | %files devel | |
124 | %defattr(644,root,root,755) | |
125 | %attr(755,root,root) %{_libdir}/libtotem-plparser-mini.so | |
126 | %attr(755,root,root) %{_libdir}/libtotem-plparser.so | |
08adcf62 MB |
127 | %{_includedir}/totem-pl-parser |
128 | %{_pkgconfigdir}/totem-plparser-mini.pc | |
129 | %{_pkgconfigdir}/totem-plparser.pc | |
588e819f | 130 | %{_datadir}/gir-1.0/TotemPlParser-1.0.gir |
08adcf62 MB |
131 | |
132 | %files static | |
133 | %defattr(644,root,root,755) | |
134 | %{_libdir}/libtotem-plparser-mini.a | |
135 | %{_libdir}/libtotem-plparser.a | |
ed608850 MB |
136 | |
137 | %files apidocs | |
138 | %defattr(644,root,root,755) | |
139 | %{_gtkdocdir}/totem-pl-parser |