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