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