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