]> git.pld-linux.org Git - packages/l-smash.git/blame_incremental - l-smash.spec
- updated to 2.14.5
[packages/l-smash.git] / l-smash.spec
... / ...
CommitLineData
1Summary: Loyal to Spec of MPEG4, and Ad-hock Simple Hackwork library
2Summary(pl.UTF-8): Biblioteka L-SMASH (Loyal to Spec of MPEG4, and Ad-hock Simple Hackwork)
3Name: l-smash
4Version: 2.14.5
5Release: 1
6License: ISC
7Group: Libraries
8#Source0Download: https://github.com/l-smash/l-smash/releases
9Source0: https://github.com/l-smash/l-smash/archive/v%{version}/%{name}-%{version}.tar.gz
10# Source0-md5: 5915de411970abafbad8003599196fee
11URL: http://l-smash.github.io/l-smash/
12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14%description
15Loyal to Spec of MPEG4, and Ad-hock Simple Hackwork library.
16
17%description -l pl.UTF-8
18Biblioteka L-SMASH (Loyal to Spec of MPEG4, and Ad-hock Simple
19Hackwork).
20
21%package devel
22Summary: Header files for L-SMASH library
23Summary(pl.UTF-8): Pliki nagłówkowe biblioteki L-SMASH
24Group: Development/Libraries
25Requires: %{name} = %{version}-%{release}
26
27%description devel
28Header files for L-SMASH library.
29
30%description devel -l pl.UTF-8
31Pliki nagłówkowe biblioteki L-SMASH.
32
33%package static
34Summary: Static L-SMASH library
35Summary(pl.UTF-8): Statyczna biblioteka L-SMASH
36Group: Development/Libraries
37Requires: %{name}-devel = %{version}-%{release}
38
39%description static
40Static L-SMASH library.
41
42%description static -l pl.UTF-8
43Statyczna biblioteka L-SMASH.
44
45%prep
46%setup -q
47
48%build
49# not autoconf script
50./configure \
51 --prefix=%{_prefix} \
52 --libdir=%{_libdir} \
53 --cc="%{__cc}" \
54 --extra-cflags="%{rpmcflags}" \
55 --extra-ldflags="%{rpmldflags}" \
56 --enable-shared
57%{__make}
58
59%install
60rm -rf $RPM_BUILD_ROOT
61
62%{__make} install \
63 DESTDIR=$RPM_BUILD_ROOT
64
65%clean
66rm -rf $RPM_BUILD_ROOT
67
68%post -p /sbin/ldconfig
69%postun -p /sbin/ldconfig
70
71%files
72%defattr(644,root,root,755)
73%doc LICENSE
74%attr(755,root,root) %{_bindir}/boxdumper
75%attr(755,root,root) %{_bindir}/muxer
76%attr(755,root,root) %{_bindir}/remuxer
77%attr(755,root,root) %{_bindir}/timelineeditor
78%attr(755,root,root) %{_libdir}/liblsmash.so.2
79
80%files devel
81%defattr(644,root,root,755)
82%attr(755,root,root) %{_libdir}/liblsmash.so
83%{_includedir}/lsmash.h
84%{_pkgconfigdir}/liblsmash.pc
85
86%files static
87%defattr(644,root,root,755)
88%{_libdir}/liblsmash.a
This page took 0.085002 seconds and 4 git commands to generate.