]> git.pld-linux.org Git - packages/totem-pl-parser.git/blob - totem-pl-parser.spec
- updated to 2.30.0 (new soname); merged changes from DEVEL
[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.30.0
5 Release:        1
6 License:        LGPL v2+
7 Group:          X11/Libraries
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/totem-pl-parser/2.30/%{name}-%{version}.tar.bz2
9 # Source0-md5:  81bf8e3043a9ec89bdd391c36ebd50d1
10 URL:            http://www.gnome.org/projects/totem/
11 BuildRequires:  autoconf >= 2.62
12 BuildRequires:  automake >= 1:1.9
13 BuildRequires:  gettext-devel
14 BuildRequires:  glib2-devel >= 1:2.22.0
15 BuildRequires:  gmime-devel
16 BuildRequires:  gnome-common >= 2.24.0
17 BuildRequires:  gobject-introspection-devel >= 0.6.7
18 BuildRequires:  gtk-doc >= 1.11
19 BuildRequires:  intltool >= 0.40.0
20 BuildRequires:  libtool
21 BuildRequires:  libxml2-devel >= 1:2.6.31
22 BuildRequires:  pkgconfig
23 # sr@Latn vs. sr@latin
24 Provides:       totem-libs
25 Obsoletes:      totem-libs
26 Conflicts:      glibc-misc < 6:2.7
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
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
37 %package devel
38 Summary:        Header files for totem-pl-parser library
39 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki totem-pl-parser
40 Group:          X11/Development/Libraries
41 Requires:       %{name} = %{version}-%{release}
42 Requires:       glib2-devel >= 1:2.22.0
43 Requires:       gmime-devel
44 Requires:       libxml2-devel >= 1:2.6.31
45 Provides:       totem-devel
46 Obsoletes:      totem-devel
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
57 Group:          X11/Development/Libraries
58 Requires:       %{name}-devel = %{version}-%{release}
59 Provides:       totem-static
60 Obsoletes:      totem-static
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
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
80 %prep
81 %setup -q
82
83 %build
84 %{__gtkdocize}
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 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/en@shaw
104
105 %find_lang %{name}
106
107 %clean
108 rm -rf $RPM_BUILD_ROOT
109
110 %post   -p /sbin/ldconfig
111 %postun -p /sbin/ldconfig
112
113 %files -f %{name}.lang
114 %defattr(644,root,root,755)
115 %doc AUTHORS ChangeLog NEWS README
116 %attr(755,root,root) %{_libdir}/libtotem-plparser-mini.so.*.*.*
117 %attr(755,root,root) %ghost %{_libdir}/libtotem-plparser-mini.so.17
118 %attr(755,root,root) %{_libdir}/libtotem-plparser.so.*.*.*
119 %attr(755,root,root) %ghost %{_libdir}/libtotem-plparser.so.17
120 %{_libdir}/girepository-1.0/TotemPlParser-1.0.typelib
121
122 %files devel
123 %defattr(644,root,root,755)
124 %attr(755,root,root) %{_libdir}/libtotem-plparser-mini.so
125 %attr(755,root,root) %{_libdir}/libtotem-plparser.so
126 %{_libdir}/libtotem-plparser-mini.la
127 %{_libdir}/libtotem-plparser.la
128 %{_includedir}/totem-pl-parser
129 %{_pkgconfigdir}/totem-plparser-mini.pc
130 %{_pkgconfigdir}/totem-plparser.pc
131 %{_datadir}/gir-1.0/TotemPlParser-1.0.gir
132
133 %files static
134 %defattr(644,root,root,755)
135 %{_libdir}/libtotem-plparser-mini.a
136 %{_libdir}/libtotem-plparser.a
137
138 %files apidocs
139 %defattr(644,root,root,755)
140 %{_gtkdocdir}/totem-pl-parser
This page took 0.099686 seconds and 4 git commands to generate.