source: projects/specs/trunk/s/synfigstudio/synfigstudio-vl.spec @ 5333

Revision 5333, 3.0 KB checked in by Takemikaduchi, 12 years ago (diff)

new upstream release

Line 
1%define pkg_version 0.63.03
2%define pkg_release 1%{?_dist_release}
3
4Summary:        Vector animation studio
5Name:           synfigstudio
6Version:        %{pkg_version}
7Release:        %{pkg_release}
8
9Source0:        %{name}-%{version}.tar.gz
10
11License:        GPLv2
12Group:          Applications/Graphics
13URL:            http://www.synfig.org/cms/
14
15BuildRoot:      %{_tmppath}/%{name}-%{version}-root
16
17BuildRequires:  synfig-devel
18BuildRequires:  gtkmm2-devel
19
20Vendor: Project Vine
21Distribution: Vine Linux
22Packager: Takemikaduchi
23
24
25%description
26synfig is a vector based 2D animation package. It is designed to be
27capable of producing feature-film quality animation. It eliminates the
28need for tweening, preventing the need to hand-draw each frame. synfig
29features spatial and temporal resolution independence (sharp and smooth
30at any resolution or framerate), high dynamic range images, and a
31flexible plugin system.
32
33synfigstudio is the animation studio for synfig and provides the GUI
34interface to create synfig animations which are saved in synfig .sif
35or .sifz format.
36
37
38%package devel
39Summary:        Development files for synfigstudio
40Group:          Development/Libraries
41Requires:       %{name} = %{version}-%{release}
42
43%description devel
44This package contains the libraries and header files that are needed
45for writing applications that are using synfigstudio.
46
47
48%prep
49%setup -q
50
51%build
52%configure \
53        --disable-static
54
55%{__make} %{?_smp_mflags}
56
57%install
58%{__rm} -rf $RPM_BUILD_ROOT
59%{__make} install DESTDIR=$RPM_BUILD_ROOT
60
61find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
62%{__rm} -f $RPM_BUILD_ROOT%{_datadir}/mime/{XMLnamespaces,aliases,generic-icons,globs,globs2,icons,magic,mime.cache,subclasses,treemagic,types}
63
64%find_lang %{name}
65
66%clean
67%{__rm} -rf $RPM_BUILD_ROOT
68
69%post
70/sbin/ldconfig
71update-mime-database %{_datadir}/mime &> /dev/null || :
72touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
73gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
74update-desktop-database %{_datadir}/applications >& /dev/null || :
75
76%postun
77/sbin/ldconfig
78if [ $1 -eq 0 ] ; then
79    update-mime-database %{_datadir}/mime &> /dev/null || :
80    touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
81    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
82    update-desktop-database %{_datadir}/applications >& /dev/null ||:
83fi
84
85%files -f %{name}.lang
86%defattr(-,root,root,-)
87%doc AUTHORS COPYING ChangeLog NEWS README
88%{_bindir}/synfigstudio
89%{_libdir}/libsynfigapp.so.*
90%{_datadir}/applications/synfigstudio.desktop
91%{_datadir}/icons/hicolor/*/apps/*
92%{_datadir}/mime/application/x-sif.xml
93%{_datadir}/mime/packages/synfigstudio.xml
94%{_datadir}/mime-info/synfigstudio.*
95%{_datadir}/pixmaps/synfigstudio
96%{_datadir}/pixmaps/sif_icon.png
97%{_datadir}/pixmaps/synfig_icon.png
98
99%files devel
100%defattr(-,root,root,-)
101%{_includedir}/synfigapp-0.0
102%{_libdir}/libsynfigapp.so
103
104
105%changelog
106* Sun Dec 25 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.63.03-1
107- new upstream release
108
109* Sat Oct 08 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.63.02-1
110- initial build for Vine Linux
111
Note: See TracBrowser for help on using the repository browser.