source: projects/specs/trunk/nonfree/self-build-ffmpegthumbnailer/self-build-ffmpegthumbnailer-vl.spec @ 11752

Revision 11752, 4.6 KB checked in by iwaim, 6 years ago (diff)

self-build-ffmpegthumbnailer: add spec files

Line 
1# Basic Information
2%define pkgname ffmpegthumbnailer
3%define name    self-build-%{pkgname}
4%define version 2.2.0
5%define release 2%{?_dist_release}
6
7#%define sourceurl0 http://gdurl.com/z9ne/download/%{pkgname}-%{version}.tar.gz
8%define sourceurl0 https://github.com/dirkvdb/ffmpegthumbnailer/releases/download/%{version}/ffmpegthumbnailer-%{version}.tar.bz2
9
10Name:           %{name}
11Version:        %{version}
12Release:        %{release}
13# COPYING  などを参照して License を修正してください。
14License:        GPLv2+
15# /usr/share/doc/rpm-4.11.1/GROUPS_for_vine.txt を参照して Group を修正してください。
16Group:          Restricted Software
17Source0:        %{pkgname}-vl.spec
18BuildRoot:      %{_tmppath}/%{name}-%{version}-root
19BuildArch:      noarch
20
21Vendor:         Project Vine
22Distribution:   Vine Linux
23Packager:       Shirow HIGA
24
25Summary:        Package to automatically build %{pkgname} rpm package
26Summary(ja):    %{pkgname} の rpm パッケージを自動作成するパッケージ
27
28Obsoletes:      ffmpegthumbnailer < %{version}
29Obsoletes:      ffmpegthumbnailer-devel < %{version}
30Obsoletes:      self-build-ffmpegthumbnailer < %{version}
31
32# Dependency
33# 以下に依存関係を記述してください 。
34Requires(post): self-build-setup >= 0.9.9
35
36Requires(post): libpng-devel
37Requires(post): libjpeg-turbo-devel
38Requires(post): chrpath
39Requires(post): automake
40Requires(post): autoconf
41
42Requires(post): self-build-ffmpeg
43
44#追加のソースファイル
45
46#追加のパッチファイル
47
48%description
49This video thumbnailer can be used to create thumbnails for your video files.
50
51[Note]                                                                                                                      This package requires many other packages to compile                                                                        targetsoftware. So it consume more disk space than usual.                                                                   
52Also installation takes logner time because of compilation.                                                                 (This will take a few minutes to quarter or half of an hour,
53depends on building environment)
54                                                                                                                            [About self-build package]                                                                                                  For some kind of software, distributing of binary package                                                                   
55may viorate the patent or law. Therefore we chose self-build
56packge, create binary package on your machine, for such kind
57of softwares instead of distributing binary package.                                                                                                                                                                                                    Please obey the national law when you use the created binary                                                               
58packages. And if you want to use the softwares using patented
59thechnology, it may be required to get a permission, make an
60agreement or purchas a license. Please consider it with your
61purpose or way of use and take appropriate action.
62
63#%description -l ja
64#ここに日本語で詳細を記述してください。
65
66%prep
67[ "%{version}-%{release}" != $(rpm -q --queryformat "%%{version}-%%{release}\n" --specfile %{SOURCE0} | tail -1) ] && exit 1
68
69%install
70%{__rm} -rf ${RPM_BUILD_ROOT}
71%{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
72%{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
73
74%clean
75%{__rm} -rf ${RPM_BUILD_ROOT}
76
77%posttrans
78/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec %{sourceurl0} 9500
79
80/usr/lib/rpm/pre-allocate-rpm.sh %{pkgname}-%{version}-%{release} \
81                                 %{pkgname}-devel-%{version}-%{release}
82
83%files
84%defattr(-,root,root)
85%{_datadir}/%{name}
86
87%changelog
88* Thu Apr 24 2018 Shirow HIGA <shirowxxx@gmail.com> - 2.2.0-2
89- Rebuild with ffmpeg 4.0
90* Fri Mar 31 2017 Shirow HIGA <shirowxxx@gmail.com> - 2.2.0-1
91- new upstream release
92* Fri Aug 19 2016 Shirow HIGA <shirowxxx@gmail.com> - 2.1.2-1
93- new upstream release
94* Mon Feb 29 2016 Shirow HIGA <shirowxxx@gmail.com> - 2.1.1-1
95- new upstream release
96* Sat Nov  7 2015 Shirow HIGA <shirowxxx@gmail.com> - 2.1.0-1
97- new upstream release
98* Tue Jun 16 2015 Shirow HIGA <shirowxxx@gmail.com> - 2.0.10-1
99- new upstream release
100- update Source0
101- change for URL (https://github.com/dirkvdb/ffmpegthumbnailer)
102* Thu Jan 15 2015 Shirow HIGA <shirowxxx@gmail.com> 2.0.9-1
103- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.