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

RevLine 
[11752]1# Basic Information
2%define pkgname ffmpegthumbnailer
3%define name    self-build-%{pkgname}
4%define version 2.2.0
[11753]5%define release 3%{?_dist_release}
[11752]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
[11753]23Packager:       Shirow HIGA, iwaim
[11752]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
[11753]39Requires(post): cmake >= 2.8.5
[11752]40Requires(post): automake
41Requires(post): autoconf
42
[11753]43Requires(post): self-build-ffmpeg >= 2.3
[11752]44
45#追加のソースファイル
46
47#追加のパッチファイル
48
49%description
50This video thumbnailer can be used to create thumbnails for your video files.
51
[11753]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,
[11752]58depends on building environment)
[11753]59
60[About self-build package]
61
62For some kind of software, distributing of binary package
[11752]63may viorate the patent or law. Therefore we chose self-build
64packge, create binary package on your machine, for such kind
[11753]65of softwares instead of distributing binary package.
66
67Please obey the national law when you use the created binary
[11752]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
[11753]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
[11752]103- Rebuild with ffmpeg 4.0
[11753]104
[11752]105* Fri Mar 31 2017 Shirow HIGA <shirowxxx@gmail.com> - 2.2.0-1
106- new upstream release
[11753]107
[11752]108* Fri Aug 19 2016 Shirow HIGA <shirowxxx@gmail.com> - 2.1.2-1
109- new upstream release
[11753]110
[11752]111* Mon Feb 29 2016 Shirow HIGA <shirowxxx@gmail.com> - 2.1.1-1
112- new upstream release
[11753]113
[11752]114* Sat Nov  7 2015 Shirow HIGA <shirowxxx@gmail.com> - 2.1.0-1
115- new upstream release
[11753]116
[11752]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)
[11753]121
[11752]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.