]> git.pld-linux.org Git - packages/totem-pl-parser.git/blob - totem-pl-parser.spec
- rebuild without db4.6
[packages/totem-pl-parser.git] / totem-pl-parser.spec
1 Summary:        Totem Playlist Parser library
2 Name:           totem-pl-parser
3 Version:        2.22.3
4 Release:        2
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:  a00956f87fa8fcb1f6760dccea5e0f84
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:  evolution-data-server-devel
14 BuildRequires:  gettext-devel
15 BuildRequires:  gnome-common >= 2.20.0
16 BuildRequires:  gnome-vfs2-devel >= 2.22.0
17 BuildRequires:  gtk+2-devel >= 2:2.12.8
18 BuildRequires:  gtk-doc >= 1.9
19 BuildRequires:  hal-devel >= 0.5.9
20 BuildRequires:  intltool >= 0.35.0
21 BuildRequires:  libtool
22 BuildRequires:  libxml2-devel >= 1:2.6.31
23 BuildRequires:  pkgconfig
24 BuildRequires:  sed >= 4.0
25 # sr@Latn vs. sr@latin
26 Conflicts:      glibc-misc < 6:2.7
27 Provides:       totem-libs
28 Obsoletes:      totem-libs
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
35 %package devel
36 Summary:        Header files for totem-pl-parser library
37 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki totem-pl-parser
38 Group:          X11/Development/Libraries
39 Requires:       %{name} = %{version}-%{release}
40 Requires:       gnome-vfs2-devel >= 2.22.0
41 Requires:       gtk+2-devel >= 2:2.12.8
42 Requires:       libxml2-devel >= 1:2.6.31
43 Provides:       totem-devel
44 Obsoletes:      totem-devel
45
46 %description devel
47 Header files for totem-pl-parser library.
48
49 %description devel -l pl.UTF-8
50 Pliki nagłówkowe biblioteki totem-pl-parser.
51
52 %package static
53 Summary:        Static totem-pl-parser library
54 Summary(pl.UTF-8):      Statyczna biblioteka totem-pl-parser
55 Group:          X11/Development/Libraries
56 Requires:       %{name}-devel = %{version}-%{release}
57 Provides:       totem-static
58 Obsoletes:      totem-static
59
60 %description static
61 Static totem-pl-parser library.
62
63 %description static -l pl.UTF-8
64 Statyczna biblioteka totem-pl-parser.
65
66 %package apidocs
67 Summary:        totem-pl-parser library API documentation
68 Summary(pl.UTF-8):      Dokumentacja API biblioteki totem-pl-parser
69 Group:          Documentation
70 Requires:       gtk-doc-common
71
72 %description apidocs
73 totem-pl-parser library API documentation.
74
75 %description apidocs -l pl.UTF-8
76 Dokumentacja API biblioteki totem-pl-parser.
77
78 %prep
79 %setup -q
80
81 sed -i -e 's#sr@Latn#sr@latin#' po/LINGUAS
82 mv -f po/sr@{Latn,latin}.po
83
84 %build
85 %{__intltoolize}
86 %{__libtoolize}
87 %{__aclocal}
88 %{__autoconf}
89 %{__autoheader}
90 %{__automake}
91 %configure \
92         --enable-gtk-doc \
93         --with-html-dir=%{_gtkdocdir}
94
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.*.*.*
115 %attr(755,root,root) %ghost %{_libdir}/libtotem-plparser-mini.so.10
116 %attr(755,root,root) %{_libdir}/libtotem-plparser.so.*.*.*
117 %attr(755,root,root) %ghost %{_libdir}/libtotem-plparser.so.10
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
133
134 %files apidocs
135 %defattr(644,root,root,755)
136 %{_gtkdocdir}/totem-pl-parser
This page took 0.068754 seconds and 4 git commands to generate.