]> git.pld-linux.org Git - SPECS.git/blob - libshveu.spec
SPECS updated Sat 31 Jul 20:26:02 CEST 2021
[SPECS.git] / libshveu.spec
1 Summary:        Library for controlling SH-Mobile VEU (Video Engine Unit)
2 Summary(pl.UTF-8):      Biblioteka do sterowania układem SH-Mobile VEU (Video Engine Unit)
3 Name:           libshveu
4 Version:        1.7.1
5 Release:        1
6 License:        LGPL v2+
7 Group:          Libraries
8 # trailing #/%{name}-%{version}.tar.gz is a hack for df
9 #Source0Download: https://oss.renesas.com/modules/document/?libshveu
10 Source0:        https://oss.renesas.com/modules/document/gate.php/?way=attach&refer=libshveu&openfile=%{name}-%{version}.tar.gz#/%{name}-%{version}.tar.gz
11 # Source0-md5:  22e250409da2b65d91944a385b1aee02
12 Patch0:         %{name}-link.patch
13 URL:            https://oss.renesas.com/modules/document/?libshveu
14 BuildRequires:  autoconf >= 2.53
15 BuildRequires:  automake
16 BuildRequires:  doxygen
17 BuildRequires:  libtool
18 BuildRequires:  libuiomux-devel >= 1.6.0
19 BuildRequires:  ncurses-devel
20 BuildRequires:  pkgconfig
21 Requires:       libuiomux >= 1.6.0
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 libshveu is a library for controlling SH-Mobile VEU (Video Engine
26 Unit). VEU handles colorspace conversion, rotation and scaling.
27
28 %description -l pl.UTF-8
29 Biblioteka do sterowania układem SH-Mobile VEU (Video Engine Unit).
30 VEU obsługuje konwersję przestrzeni kolorów oraz obracanie i
31 skalowanie obrazu.
32
33 %package devel
34 Summary:        Header files for libshveu library
35 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libshveu
36 Group:          Development/Libraries
37 Requires:       %{name} = %{version}-%{release}
38 Requires:       libuiomux-devel >= 1.6.0
39
40 %description devel
41 Header files for libshveu library.
42
43 %description devel -l pl.UTF-8
44 Pliki nagłówkowe biblioteki libshveu.
45
46 %package static
47 Summary:        Static libshveu library
48 Summary(pl.UTF-8):      Statyczna biblioteka libshveu
49 Group:          Development/Libraries
50 Requires:       %{name}-devel = %{version}-%{release}
51
52 %description static
53 Static libshveu library.
54
55 %description static -l pl.UTF-8
56 Statyczna biblioteka libshveu.
57
58 %package apidocs
59 Summary:        libshveu API documentation
60 Summary(pl.UTF-8):      Dokumentacja API biblioteki libshveu
61 Group:          Documentation
62
63 %description apidocs
64 API and internal documentation for libshveu library.
65
66 %description apidocs -l pl.UTF-8
67 Dokumentacja API biblioteki libshveu.
68
69 %prep
70 %setup -q
71 %patch0 -p1
72
73 %build
74 %{__libtoolize}
75 %{__aclocal}
76 %{__autoconf}
77 %{__autoheader}
78 %{__automake}
79 %configure
80 %{__make} \
81         ncurses_lib="-lncurses -ltinfo"
82
83 %install
84 rm -rf $RPM_BUILD_ROOT
85
86 %{__make} install \
87         DESTDIR=$RPM_BUILD_ROOT
88
89 # obsoleted by pkgconfig (with link patch)
90 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libshveu.la
91 # HTML packaged in -apidocs
92 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/libshveu
93
94 %clean
95 rm -rf $RPM_BUILD_ROOT
96
97 %post   -p /sbin/ldconfig
98 %postun -p /sbin/ldconfig
99
100 %files
101 %defattr(644,root,root,755)
102 %doc AUTHORS README TODO
103 %attr(755,root,root) %{_bindir}/shveu-convert
104 %attr(755,root,root) %{_bindir}/shveu-display
105 %attr(755,root,root) %{_libdir}/libshveu.so.*.*.*
106 %attr(755,root,root) %ghost %{_libdir}/libshveu.so.5
107 %{_mandir}/man1/shveu-convert.1*
108
109 %files devel
110 %defattr(644,root,root,755)
111 %attr(755,root,root) %{_libdir}/libshveu.so
112 %{_includedir}/shveu
113 %{_pkgconfigdir}/shveu.pc
114
115 %files static
116 %defattr(644,root,root,755)
117 %{_libdir}/libshveu.a
118
119 %files apidocs
120 %defattr(644,root,root,755)
121 %doc doc/libshveu/html/*
This page took 0.235095 seconds and 3 git commands to generate.