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

Revision 6082, 3.2 KB checked in by Takemikaduchi, 12 years ago (diff)

farstream, telepathy-farstream: add Obsoletes
others: new upstream release

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