forked from chamfay/Curlew
-
Notifications
You must be signed in to change notification settings - Fork 0
/
curlew.spec
executable file
·91 lines (79 loc) · 2.9 KB
/
curlew.spec
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
85
86
87
88
89
90
Name: curlew
Summary: Easy to use and Free Multimedia converter for Linux
URL: https://github.com/chamfay/Curlew
Version: 0.1.19
Release: 1%{?dist}
Source0: %{name}-%{version}.tar.bz2
License: Waqf
Group: Applications/Multimedia
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python
Requires: python, xdg-utils, ffmpeg, mencoder
Requires: pygobject3 >= 3.0
%description
Easy to use, Free and Open-Source Multimedia converter for Linux.
Curlew written in python and GTK3 and it depends on (ffmpeg/avconv, mencoder).
Main Features:
- Easy to use with simple user interface.
- Hide the advanced options with the ability to show them.
- Convert to more than 100 different formats.
- Show file informations (duration, remaining time, estimated size, progress value).
- Allow to skip or remove file during conversion process.
- Preview file before conversion.
- Convert a specified portion of file.
- Combine subtitle with video file.
- Show error details if exist.
- And more ...
%prep
%setup -q
%build
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall DESTDIR=$RPM_BUILD_ROOT
%post
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
if [ -x %{_bindir}/update-desktop-database ] ; then
%{_bindir}/update-desktop-database --quiet %{_datadir}/applications || :
fi
%postun
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
if [ -x %{_bindir}/update-desktop-database ] ; then
%{_bindir}/update-desktop-database --quiet %{_datadir}/applications || :
fi
%clean
rm -rf $RPM_BUILD_ROOT
%files
#%doc ChangeLog VERSION README LICENSE-ar LICENSE-en
%{_defaultdocdir}/%{name}-%{version}/*
%{_bindir}/%{name}
%{python_sitelib}/*
#%{python_sitelib}/*.egg-info
%{python_sitelib}/Curlew/icons/*/*.png
%{_datadir}/applications/%{name}.desktop
%{_datadir}/locale/*/*/%{name}.mo
%{_datadir}/icons/hicolor/*/apps/*.png
%{_datadir}/icons/hicolor/*/apps/*.svg
%changelog
* Sun Jun 07 2013 Fayssal Chamekh <[email protected]> - 0.1.19-1
- Added 'libvo_aacenc' audio codec.
- Added 'Copy Mode' option (to split too faster without converting).
- Added 'to the end' option.
- Added Czech language (Pavel Fric <[email protected]>).
* Thu Mar 07 2013 Fayssal Chamekh <[email protected]> - 0.1.18.1-1
- Updates.
* Thu Mar 07 2013 Fayssal Chamekh <[email protected]> - 0.1.18-1
- Moved all install stuffs to setup.py and remove makefiles.
* Sun Feb 10 2013 Ehab El-Gedawy <[email protected]> - 0.1.17-1
- Sorted formats
- Enable adding files via cmd line
- Add programe to Viedo/Audio files menu
- Makefile
- rpm initail packing