ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/free/rpms/devede/F-14/devede.spec
Revision: 1.5
Committed: Sun Oct 19 15:18:03 2008 UTC (4 years, 7 months ago) by thl
Branch: MAIN
CVS Tags: F-10-split, devede-3_11b-2_fc10
Changes since 1.4: +4 -1 lines
Log Message:
* Sun Oct 19 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 3.11b-2
- rebuilt

Line File contents
1 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
2
3 Name: devede
4 Version: 3.11b
5 Release: 2%{?dist}
6 Summary: DeVeDe is a program to create video DVDs and CDs (VCD, sVCD or CVD)
7
8 Group: Applications/Multimedia
9 License: GPLv3+
10 URL: http://www.rastersoft.com/programas/devede.html
11 Source0: http://www.rastersoft.com/descargas/%{name}-%{version}.tar.bz2
12 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
13
14 BuildArch: noarch
15
16 BuildRequires: python >= 2.4
17 BuildRequires: gettext
18 BuildRequires: desktop-file-utils
19 Requires: mplayer
20 Requires: mencoder
21 Requires: dvdauthor
22 Requires: vcdimager
23 Requires: mkisofs
24 Requires: ImageMagick
25 Requires: python >= 2.4
26 Requires: pygtk2
27 Requires: pygtk2-libglade
28
29 %description
30 DeVeDe is a program to create video DVDs and CDs (VCD, sVCD or CVD),
31 suitables for home players, from any number of video files, in any
32 of the formats supported by Mplayer. The big advantage over other
33 utilities is that it only needs Mplayer, Mencoder, DVDAuthor, VCDImager
34 and MKisofs (well, and Python 2.4, PyGTK and PyGlade), so its
35 dependencies are really small.
36
37
38 %prep
39 %setup -q -n %{name}-3.11
40
41 # Fix devede module directory
42 sed -i 's!/usr/lib/!%{python_sitelib}/!' devede.py
43
44
45 %build
46
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 ./install.sh \
52 --uninstall=no \
53 --targeted=yes \
54 --DESTDIR=$RPM_BUILD_ROOT \
55 --prefix=%{_prefix} \
56 --libdir=%{python_sitelib} \
57 --pkgdocdir=%{_docdir}/%{name}-%{version}
58
59 # remove debian files from doc
60 rm $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/{copyright,changelog.Debian}
61
62 # rename .desktop file
63 desktop-file-install \
64 --delete-original \
65 --vendor livna \
66 --dir $RPM_BUILD_ROOT%{_datadir}/applications \
67 $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
68
69 %find_lang %{name}
70
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75
76 %post
77 touch --no-create %{_datadir}/icons/hicolor
78 if [ -x %{_bindir}/gtk-update-icon-cache ]; then
79 %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
80 fi
81
82
83 %postun
84 touch --no-create %{_datadir}/icons/hicolor
85 if [ -x %{_bindir}/gtk-update-icon-cache ]; then
86 %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
87 fi
88
89
90 %files -f %{name}.lang
91 %defattr(-,root,root,-)
92 %{_bindir}/devede
93 %{python_sitelib}/devede
94 %{_datadir}/devede
95 %{_datadir}/applications/livna-%{name}.desktop
96 %{_datadir}/pixmaps/%{name}.svg
97 %doc %{_docdir}/%{name}-%{version}
98
99
100 %changelog
101 * Sun Oct 19 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 3.11b-2
102 - rebuilt
103
104 * Wed Aug 27 2008 Andrea Musuruane <musuruan@gmail.com> 3.11b-1
105 - Updated to version 3.11b.
106
107 * Mon Aug 25 2008 Andrea Musuruane <musuruan@gmail.com> 3.11-1
108 - Updated to version 3.11.
109
110 * Tue Aug 19 2008 Andrea Musuruane <musuruan@gmail.com> 3.10-1
111 - Updated to version 3.10.
112
113 * Sat Jun 28 2008 Andrea Musuruane <musuruan@gmail.com> 3.9-1
114 - Updated to version 3.9.
115
116 * Mon May 26 2008 Andrea Musuruane <musuruan@gmail.com> 3.8c-1
117 - Updated to version 3.8c.
118
119 * Sat Apr 19 2008 Andrea Musuruane <musuruan@gmail.com> 3.7-1
120 - Updated to version 3.7.
121
122 * Wed Dec 12 2007 Andrea Musuruane <musuruan@gmail.com> 3.6-1
123 - Updated to version 3.6.
124
125 * Sun Dec 9 2007 Andrea Musuruane <musuruan@gmail.com> 3.5-1
126 - Updated to version 3.5.
127
128 * Sat Nov 24 2007 Andrea Musuruane <musuruan@gmail.com> 3.4-1
129 - Updated to version 3.4.
130
131 * Fri Oct 26 2007 Andrea Musuruane <musuruan@gmail.com> 3.3-1
132 - Updated to version 3.3.
133
134 * Tue Sep 19 2007 Andrea Musuruane <musuruan@gmail.com> 3.2-1
135 - Updated to version 3.2.
136 - License changed to GPLv3 or later.
137 - Updated icon cache scriptlets to be compliant to new guidelines.
138
139 * Sat Aug 25 2007 Andrea Musuruane <musuruan@gmail.com> 3.01-3
140 - Changed license due to new guidelines.
141
142 * Sun Jul 08 2007 Andrea Musuruane <musuruan@gmail.com> 3.01-2
143 - Removed %%{?dist} tag from changelog.
144
145 * Sat Jul 07 2007 Andrea Musuruane <musuruan@gmail.com> 3.01-1
146 - Updated to version 3.01.
147 - Cosmetical changes.
148
149 * Sun Jun 24 2007 Andrea Musuruane <musuruan@gmail.com> 3.0-1
150 - Updated to version 3.0.
151 - Updated icon cache scriptlets to be compliant to new guidelines.
152 - Minor fixes to desktop file.
153
154 * Fri Apr 20 2007 Andrea Musuruane <musuruan@gmail.com> 2.13-1
155 - Updated to version 2.13.
156
157 * Thu Mar 01 2007 Andrea Musuruane <musuruan@gmail.com> 2.12-1
158 - First release for Livna.