1 |
%define major 0 |
2 |
%define libname %mklibname synfigapp %{major} |
3 |
%define develname %mklibname synfigapp -d |
4 |
|
5 |
Name: synfigstudio |
6 |
Summary: Vector-based 2D animation GUI |
7 |
Version: 0.62.02 |
8 |
Release: %mkrel 2 |
9 |
Source0: http://downloads.sourceforge.net/synfig/%{name}-%{version}.tar.gz |
10 |
Patch0: synfigstudio-0.62.02-fix-build.patch |
11 |
URL: http://www.synfig.org |
12 |
License: GPLv2+ |
13 |
Group: Graphics |
14 |
BuildRequires: etl >= 0.04.13 |
15 |
BuildRequires: synfig-devel >= 0.62.00 |
16 |
BuildRequires: synfig |
17 |
BuildRequires: gtkmm2.4-devel |
18 |
BuildRequires: sigc++2.0-devel |
19 |
BuildRequires: libltdl-devel |
20 |
BuildRequires: gettext |
21 |
BuildRequires: cvs |
22 |
BuildRequires: desktop-file-utils |
23 |
Requires: synfig |
24 |
|
25 |
%description |
26 |
synfig is a vector based 2D animation renderer. It is designed to be |
27 |
capable of producing feature-film quality animation. |
28 |
|
29 |
%package -n %{libname} |
30 |
Summary: Shared library for %{name} |
31 |
Group: System/Libraries |
32 |
|
33 |
%description -n %{libname} |
34 |
synfig is a vector based 2D animation renderer. It is designed to be |
35 |
capable of producing feature-film quality animation. |
36 |
|
37 |
This package contains the shared library provided by synfigstudio. |
38 |
|
39 |
%package -n %{develname} |
40 |
Summary: Development headers and libraries for %{name} |
41 |
Group: Development/C++ |
42 |
Provides: synfigapp-devel = %{version}-%{release} |
43 |
Requires: %{libname} = %{version}-%{release} |
44 |
|
45 |
%description -n %{develname} |
46 |
synfig is a vector based 2D animation renderer. It is designed to be |
47 |
capable of producing feature-film quality animation. |
48 |
|
49 |
This package contains the development files for the shared library |
50 |
provided by synfigstudio. |
51 |
|
52 |
This package contains the graphical user interface for synfig. |
53 |
|
54 |
%prep |
55 |
%setup -q |
56 |
%patch0 -p0 |
57 |
|
58 |
%build |
59 |
%configure2_5x |
60 |
%make |
61 |
|
62 |
%install |
63 |
rm -rf %{buildroot} |
64 |
%makeinstall_std |
65 |
%find_lang %{name} |
66 |
|
67 |
sed -i -e 's,synfig_icon.png,synfig_icon,g' %{buildroot}%{_datadir}/applications/* |
68 |
|
69 |
desktop-file-install --vendor="" \ |
70 |
--add-category="X-MandrivaLinux-CrossDesktop" \ |
71 |
--add-category="GTK" \ |
72 |
--dir %{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/* |
73 |
|
74 |
%clean |
75 |
rm -rf %{buildroot} |
76 |
|
77 |
%files -f %{name}.lang |
78 |
%defattr(-,root,root) |
79 |
%doc AUTHORS README NEWS TODO |
80 |
%{_bindir}/%{name} |
81 |
%{_datadir}/applications/%{name}.desktop |
82 |
%{_iconsdir}/hicolor/*/apps/synfig_icon.* |
83 |
%{_datadir}/mime-info/%{name}.* |
84 |
%{_datadir}/pixmaps/*.png |
85 |
%{_datadir}/pixmaps/%{name} |
86 |
|
87 |
%files -n %{libname} |
88 |
%defattr(-,root,root) |
89 |
%{_libdir}/libsynfigapp.so.%{major}* |
90 |
|
91 |
%files -n %{develname} |
92 |
%defattr(-,root,root) |
93 |
%{_libdir}/libsynfigapp.so |
94 |
%{_libdir}/*.*a |
95 |
%{_includedir}/synfigapp-0.0 |
96 |
|
97 |
|
98 |
|