Update to 1.8.2
[packages/clutter-gtk.git] / clutter-gtk.spec
CommitLineData
f7601c73 1Summary: Library integrating clutter with GTK+
7faa7a36 2Summary(pl.UTF-8): Biblioteka integrująca clutter z GTK+
f7601c73 3Name: clutter-gtk
aa8bfb17 4Version: 1.8.2
20245fcc 5Release: 1
7faa7a36 6License: LGPL v2+
8de73bb5 7Group: X11/Libraries
d22bbd3e 8Source0: http://ftp.gnome.org/pub/GNOME/sources/clutter-gtk/1.8/%{name}-%{version}.tar.xz
aa8bfb17 9# Source0-md5: 6698207ee6e3d5a1c0ffc0a23444e12f
7faa7a36 10URL: http://www.clutter-project.org/
6b8ebf8d
JB
11BuildRequires: autoconf >= 2.63
12BuildRequires: automake >= 1:1.11
d22bbd3e 13BuildRequires: clutter-devel >= 1.24.0
b3ecaf4e 14BuildRequires: docbook-dtd412-xml
d581f838 15BuildRequires: gettext-tools >= 0.18
b3ecaf4e 16BuildRequires: glibc-misc
63bb2193 17BuildRequires: gobject-introspection-devel >= 0.9.12
aa8bfb17 18BuildRequires: gtk+3-devel >= 3.22.0
6b8ebf8d
JB
19BuildRequires: gtk-doc >= 1.14
20BuildRequires: libtool >= 2:2.2.6
16f79bc3 21BuildRequires: pkgconfig
b3ecaf4e 22BuildRequires: python-modules
e9885b74
AF
23BuildRequires: tar >= 1:1.22
24BuildRequires: xz
d22bbd3e 25Requires: clutter >= 1.24.0
aa8bfb17 26Requires: gtk+3 >= 3.22.0
f7601c73 27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
7faa7a36 30Library integrating clutter with GTK+.
f7601c73 31
7faa7a36
JB
32%description -l pl.UTF-8
33Biblioteka integrująca clutter z GTK+.
f7601c73 34
35%package devel
71b7d774 36Summary: Header files for clutter-gtk library
37Summary(pl.UTF-8): Pliki nagłówkowe biblioteki clutter-gtk
8de73bb5 38Group: X11/Development/Libraries
f7601c73 39Requires: %{name} = %{version}-%{release}
d22bbd3e 40Requires: clutter-devel >= 1.24.0
aa8bfb17 41Requires: gtk+3-devel >= 3.22.0
f7601c73 42
43%description devel
71b7d774 44Header files for clutter-gtk library.
f7601c73 45
46%description devel -l pl.UTF-8
71b7d774 47Pliki nagłówkowe biblioteki clutter-gtk.
f7601c73 48
49%package static
71b7d774 50Summary: Static clutter-gtk library
51Summary(pl.UTF-8): Statyczna biblioteka clutter-gtk
8de73bb5 52Group: X11/Development/Libraries
f7601c73 53Requires: %{name}-devel = %{version}-%{release}
54
55%description static
71b7d774 56Static clutter-gtk library.
f7601c73 57
58%description static -l pl.UTF-8
71b7d774 59Statyczna biblioteka clutter-gtk.
f7601c73 60
61%package apidocs
71b7d774 62Summary: clutter-gtk API documentation
63Summary(pl.UTF-8): Dokumentacja API clutter-gtk
f7601c73 64Group: Documentation
65Requires: gtk-doc-common
23c2f3e8
ER
66%if "%{_rpmversion}" >= "5"
67BuildArch: noarch
68%endif
f7601c73 69
70%description apidocs
71b7d774 71clutter-gtk API documentation.
f7601c73 72
73%description apidocs -l pl.UTF-8
71b7d774 74Dokumentacja API clutter-gtk.
f7601c73 75
76%prep
77%setup -q
78
79%build
6b8ebf8d
JB
80%{__gtkdocize}
81%{__libtoolize}
82%{__aclocal} -I build/autotools
83%{__autoconf}
84%{__autoheader}
85%{__automake}
f7601c73 86%configure \
63bb2193 87 --disable-silent-rules \
f7601c73 88 --enable-gtk-doc \
16f79bc3 89 --enable-static \
f7601c73 90 --with-html-dir=%{_gtkdocdir}
91
92%{__make}
93
94%install
95rm -rf $RPM_BUILD_ROOT
96
97%{__make} install \
98 DESTDIR=$RPM_BUILD_ROOT
99
7be0fe79
PZ
100%find_lang cluttergtk-1.0
101
63bb2193
AF
102%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
103
f7601c73 104%clean
105rm -rf $RPM_BUILD_ROOT
106
107%post -p /sbin/ldconfig
108%postun -p /sbin/ldconfig
109
7be0fe79 110%files -f cluttergtk-1.0.lang
f7601c73 111%defattr(644,root,root,755)
7be0fe79 112%doc NEWS README
63bb2193
AF
113%attr(755,root,root) %{_libdir}/libclutter-gtk-1.0.so.*.*.*
114%attr(755,root,root) %ghost %{_libdir}/libclutter-gtk-1.0.so.0
115%{_libdir}/girepository-1.0/GtkClutter-1.0.typelib
f7601c73 116
117%files devel
118%defattr(644,root,root,755)
63bb2193
AF
119%attr(755,root,root) %{_libdir}/libclutter-gtk-1.0.so
120%{_includedir}/clutter-gtk-1.0
121%{_pkgconfigdir}/clutter-gtk-1.0.pc
122%{_datadir}/gir-1.0/GtkClutter-1.0.gir
16f79bc3
JB
123
124%files static
125%defattr(644,root,root,755)
63bb2193 126%{_libdir}/libclutter-gtk-1.0.a
f7601c73 127
128%files apidocs
129%defattr(644,root,root,755)
63bb2193 130%{_gtkdocdir}/%{name}-1.0
This page took 0.240063 seconds and 4 git commands to generate.