]> git.pld-linux.org Git - packages/mash.git/blame - mash.spec
Release 6
[packages/mash.git] / mash.spec
CommitLineData
7a13231f
MB
1#
2# Conditional build:
3%bcond_without apidocs # do not build and package API docs
4%bcond_without static_libs # don't build static libraries
5#
6Summary: A library for using real 3D models within a Clutter scene
3f91e871 7Summary(pl.UTF-8): Biblioteka pozwalająca na używanie prawdziwych modeli 3D wewnątrz sceny Clutter
7a13231f
MB
8Name: mash
9Version: 0.2.0
d0a72f39 10Release: 6
7a13231f
MB
11License: LGPL v2+
12Group: X11/Libraries
13Source0: http://source.clutter-project.org/sources/mash/0.2/%{name}-%{version}.tar.xz
14# Source0-md5: 9eda552784291707e667be4d55917794
15URL: http://wiki.clutter-project.org/wiki/Mash
3f91e871 16BuildRequires: autoconf >= 2.50
7a13231f
MB
17BuildRequires: automake >= 1:1.9
18BuildRequires: clutter-devel >= 1.6.0
19BuildRequires: glib2-devel >= 1:2.16.0
20BuildRequires: gobject-introspection-devel >= 0.10.0
21BuildRequires: gtk-doc >= 1.14
22BuildRequires: libtool
23BuildRequires: pkgconfig
24BuildRequires: tar >= 1:1.22
25BuildRequires: xz
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29Mash is a small library for using real 3D models within a Clutter
30scene. Models can be exported from Blender or other 3D modeling
31software as PLY files and then used as actors. It also supports a
32lighting model with animatable lights.
33
3f91e871
JB
34%description -l pl.UTF-8
35Mash to mała biblioteka pozwalająca na używanie prawdziwych modeli 3D
36wewnątrz sceny Clutter. Modele można eksportować z Blendera lub innego
37programu do modelowania 3D w postaci plików PLY, a następnie używać
38ich jako aktorów. Obsługiwane są także modele oświetlenia z ruchomymi
39światłami.
40
7a13231f
MB
41%package devel
42Summary: Header files for mash library
43Summary(pl.UTF-8): Pliki nagłówkowe biblioteki mash
44Group: X11/Development/Libraries
45Requires: %{name} = %{version}-%{release}
46Requires: clutter-devel >= 1.6.0
47
48%description devel
49Header files for mash library.
50
51%description devel -l pl.UTF-8
52Pliki nagłówkowe biblioteki mash.
53
54%package static
55Summary: Static mash library
56Summary(pl.UTF-8): Statyczna biblioteka mash
57Group: Development/Libraries
58Requires: %{name}-devel = %{version}-%{release}
59
60%description static
61Static mash library.
62
63%description static -l pl.UTF-8
64Statyczna biblioteka mash.
65
66%package apidocs
67Summary: mash API documentation
68Summary(pl.UTF-8): Dokumentacja API biblioteki mash
69Group: Documentation
70Requires: gtk-doc-common
71
72%description apidocs
73API and internal documentation for mash library.
74
75%description apidocs -l pl.UTF-8
76Dokumentacja API biblioteki mash.
77
78%prep
79%setup -q
80
81%build
82%{__libtoolize}
83%{__aclocal} -I m4
84%{__autoconf}
85%{__autoheader}
86%{__automake}
87%configure \
88 %{__enable_disable static_libs static} \
89 %{__enable_disable apidocs gtk-doc} \
90 --with-html-dir=%{_gtkdocdir} \
91 --disable-silent-rules
92%{__make}
93
94%install
95rm -rf $RPM_BUILD_ROOT
96
97%{__make} install \
98 DESTDIR=$RPM_BUILD_ROOT
99
100%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
101
102%clean
103rm -rf $RPM_BUILD_ROOT
104
105%post -p /sbin/ldconfig
106%postun -p /sbin/ldconfig
107
108%files
109%defattr(644,root,root,755)
110%doc AUTHORS ChangeLog NEWS README
111%attr(755,root,root) %{_libdir}/libmash-0.2.so.*.*.*
112%attr(755,root,root) %ghost %{_libdir}/libmash-0.2.so.0
113%{_libdir}/girepository-1.0/Mash-0.2.typelib
114
115%files devel
116%defattr(644,root,root,755)
117%attr(755,root,root) %{_libdir}/libmash-0.2.so
118%{_datadir}/gir-1.0/Mash-0.2.gir
119%{_includedir}/mash-0.2
120%{_pkgconfigdir}/mash-0.2.pc
121
122%if %{with static_libs}
123%files static
124%defattr(644,root,root,755)
125%{_libdir}/libmash-0.2.a
126%endif
127
128%if %{with apidocs}
129%files apidocs
130%defattr(644,root,root,755)
131%{_gtkdocdir}/mash
132%endif
This page took 0.07339 seconds and 4 git commands to generate.