File: tupi.spec

package info (click to toggle)
tupi 0.2%2Bgit04-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 33,780 kB
  • ctags: 8,094
  • sloc: cpp: 69,811; ruby: 1,021; xml: 786; sh: 124; makefile: 54
file content (84 lines) | stat: -rw-r--r-- 2,369 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# This is the spec file for Tupi

Name: tupi
Version: 0.2
Release: 4%{?dist}
Summary: 2D vector-based animation environment 
License: GPLv3+
URL: http://www.maefloresta.com
Source0: http://www.maefloresta.com/portal/files/%{name}-%{version}.tar.gz

BuildRequires: ruby, zlib-devel, quazip-devel
BuildRequires: qconf, desktop-file-utils, qt4-devel
BuildRequires: libtheora-devel, libogg-devel
# BuildRequires: ffmpeg, ffmpeg-libs, ffmpeg-devel

%description
2D vector-based animation environment for digital artists

%prep
%setup -q

%build
%configure
make %{?_smp_mflags}

%install
make install DESTDIR=%{buildroot}
%find_lang %{name} --with-qt
find %{buildroot} -name \*.la | xargs rm -f

%post
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :

%postun
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :

desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop

%files -f %{name}.lang
%doc README COPYING

%{_libdir}/%{name}
%{_bindir}/%{name}
%{_bindir}/%{name}.bin
%{_datadir}/applications/tupi.desktop
%{_datadir}/man/man1/*.1*
%{_datadir}/mime/packages/tupi.xml
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/%{name}/data/help/
%{_datadir}/%{name}/data/palettes/
%{_datadir}/%{name}/data/storyboard/
%{_datadir}/%{name}/data/cs/
%{_datadir}/%{name}/data/da/
%{_datadir}/%{name}/data/de/
%{_datadir}/%{name}/data/en/
%{_datadir}/%{name}/data/es/
%{_datadir}/%{name}/data/gl/
%{_datadir}/%{name}/data/pt/
%{_datadir}/%{name}/data/ru/
%{_datadir}/%{name}/data/translations/*.ts

%{_datadir}/%{name}/themes/

%changelog

* Sat Dec 8 2012 Gustav Gonzalez <xtingray@maefloresta.com> - 0.2-4
- The files section was simplified to avoid a warning

* Mon Nov 19 2012 Gustav Gonzalez <xtingray@maefloresta.com> - 0.2-3
- Extended line "files"
- Added lines post and postrun to update mime database
- Added a detailed list of application directories and files

* Sat Nov 17 2012 Gustav Gonzalez <xtingray@maefloresta.com> - 0.2-2
- Replacing variable %%buildroot instead of RPM_BUILD_ROOT
- Fixing rpmlint errores
- Removing the line "ExcludeArch: ppc ppc64"
- Removing the ownership of the "man" directory   
- Changing global permissions to 644
- Added licence/readme line 

* Fri Oct 26 2012 Gustav Gonzalez <xtingray@maefloresta.com> - 0.2-1
- Several lines of the spec file were adjusted according to the Fedora standard