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

Revision 11753, 3.9 KB checked in by iwaim, 6 years ago (diff)

self-build-ffmpegthumbnailer 2.2.0-3

Line 
1# Basic Information
2%define pkgname ffmpegthumbnailer
3%define name    self-build-%{pkgname}
4%define version 2.2.0
5%define release 3%{?_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, iwaim
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): cmake >= 2.8.5
40Requires(post): automake
41Requires(post): autoconf
42
43Requires(post): self-build-ffmpeg >= 2.3
44
45#追加のソースファイル
46
47#追加のパッチファイル
48
49%description
50This video thumbnailer can be used to create thumbnails for your video files.
51
52[Note]
53This package requires many other packages to compile
54targetsoftware. So it consume more disk space than usual.
55
56Also installation takes logner time because of compilation.
57(This will take a few minutes to quarter or half of an hour,
58depends on building environment)
59
60[About self-build package]
61
62For some kind of software, distributing of binary package
63may viorate the patent or law. Therefore we chose self-build
64packge, create binary package on your machine, for such kind
65of softwares instead of distributing binary package.
66
67Please obey the national law when you use the created binary
68packages. And if you want to use the softwares using patented
69thechnology, it may be required to get a permission, make an
70agreement or purchas a license. Please consider it with your
71purpose or way of use and take appropriate action.
72
73#%description -l ja
74#ここに日本語で詳細を記述してください。
75
76%prep
77[ "%{version}-%{release}" != $(rpm -q --queryformat "%%{version}-%%{release}\n" --specfile %{SOURCE0} | tail -1) ] && exit 1
78
79%install
80%{__rm} -rf ${RPM_BUILD_ROOT}
81%{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
82%{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
83
84%clean
85%{__rm} -rf ${RPM_BUILD_ROOT}
86
87%posttrans
88/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec %{sourceurl0} 9500
89
90/usr/lib/rpm/pre-allocate-rpm.sh %{pkgname}-%{version}-%{release} \
91                                 %{pkgname}-devel-%{version}-%{release}
92
93%files
94%defattr(-,root,root)
95%{_datadir}/%{name}
96
97%changelog
98* Sun Jun 17 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 2.2.0-3
99- add Packager
100- update Requires(post)
101
102* Tue Apr 24 2018 Shirow HIGA <shirowxxx@gmail.com> - 2.2.0-2
103- Rebuild with ffmpeg 4.0
104
105* Fri Mar 31 2017 Shirow HIGA <shirowxxx@gmail.com> - 2.2.0-1
106- new upstream release
107
108* Fri Aug 19 2016 Shirow HIGA <shirowxxx@gmail.com> - 2.1.2-1
109- new upstream release
110
111* Mon Feb 29 2016 Shirow HIGA <shirowxxx@gmail.com> - 2.1.1-1
112- new upstream release
113
114* Sat Nov  7 2015 Shirow HIGA <shirowxxx@gmail.com> - 2.1.0-1
115- new upstream release
116
117* Tue Jun 16 2015 Shirow HIGA <shirowxxx@gmail.com> - 2.0.10-1
118- new upstream release
119- update Source0
120- change for URL (https://github.com/dirkvdb/ffmpegthumbnailer)
121
122* Thu Jan 15 2015 Shirow HIGA <shirowxxx@gmail.com> 2.0.9-1
123- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.