]> git.pld-linux.org Git - packages/l-smash.git/blob - l-smash.spec
- updated to 2.14.5
[packages/l-smash.git] / l-smash.spec
1 Summary:        Loyal to Spec of MPEG4, and Ad-hock Simple Hackwork library
2 Summary(pl.UTF-8):      Biblioteka L-SMASH (Loyal to Spec of MPEG4, and Ad-hock Simple Hackwork)
3 Name:           l-smash
4 Version:        2.14.5
5 Release:        1
6 License:        ISC
7 Group:          Libraries
8 #Source0Download: https://github.com/l-smash/l-smash/releases
9 Source0:        https://github.com/l-smash/l-smash/archive/v%{version}/%{name}-%{version}.tar.gz
10 # Source0-md5:  5915de411970abafbad8003599196fee
11 URL:            http://l-smash.github.io/l-smash/
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 Loyal to Spec of MPEG4, and Ad-hock Simple Hackwork library.
16
17 %description -l pl.UTF-8
18 Biblioteka L-SMASH (Loyal to Spec of MPEG4, and Ad-hock Simple
19 Hackwork).
20
21 %package devel
22 Summary:        Header files for L-SMASH library
23 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki L-SMASH
24 Group:          Development/Libraries
25 Requires:       %{name} = %{version}-%{release}
26
27 %description devel
28 Header files for L-SMASH library.
29
30 %description devel -l pl.UTF-8
31 Pliki nagłówkowe biblioteki L-SMASH.
32
33 %package static
34 Summary:        Static L-SMASH library
35 Summary(pl.UTF-8):      Statyczna biblioteka L-SMASH
36 Group:          Development/Libraries
37 Requires:       %{name}-devel = %{version}-%{release}
38
39 %description static
40 Static L-SMASH library.
41
42 %description static -l pl.UTF-8
43 Statyczna 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
60 rm -rf $RPM_BUILD_ROOT
61
62 %{__make} install \
63         DESTDIR=$RPM_BUILD_ROOT
64
65 %clean
66 rm -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.081775 seconds and 3 git commands to generate.