]> git.pld-linux.org Git - packages/frame.git/blame - frame.spec
- added tools subpackage
[packages/frame.git] / frame.spec
CommitLineData
9a540856
JR
1#
2# Conditional build:
3%bcond_without static_libs # don't build static libraries
4#
5Summary: Open Input Framework Frame Library
6Name: frame
7Version: 2.5.0
8Release: 1
9License: GPL v3 / LGPL v3
7abf551a 10Group: Libraries
9a540856
JR
11Source0: https://launchpad.net/frame/trunk/v%{version}/+download/%{name}-%{version}.tar.xz
12# Source0-md5: f523283e80a1de613bd38e3b7f0c5f8e
13URL: https://launchpad.net/frame
14BuildRequires: asciidoc
15BuildRequires: xorg-lib-libX11-devel
16BuildRequires: xorg-lib-libXext-devel
17BuildRequires: xorg-xserver-server-devel
18BuildRequires: xorg-lib-libXi-devel >= 1.6.0
19BuildRequires: xorg-proto-inputproto-devel >= 2.2.0
20Requires(post,postun): /sbin/ldconfig
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24Frame handles the buildup and synchronization of a set of simultaneous
25touches.
26
7abf551a
JR
27%package tools
28Summary: Test tools for frame library
29Summary(pl.UTF-8): Testowe narzędzia biblioteki frame
30Group: Libraries
31Requires: %{name} = %{version}-%{release}
32
33%description tools
34Test tools for frame library.
35
36%description tools -l pl.UTF-8
37Testowe narzędzia biblioteki frame.
38
9a540856
JR
39%package devel
40Summary: Header files for frame library
41Summary(pl.UTF-8): Pliki nagłówkowe biblioteki frame
42Group: Development/Libraries
43Requires: %{name} = %{version}-%{release}
44
45%description devel
46Header files for frame library.
47
48%description devel -l pl.UTF-8
49Pliki nagłówkowe biblioteki frame.
50
51%package static
52Summary: Static frame library
53Summary(pl.UTF-8): Statyczna biblioteka frame
54Group: Development/Libraries
55Requires: %{name}-devel = %{version}-%{release}
56
57%description static
58Static frame library.
59
60%description static -l pl.UTF-8
61Statyczna biblioteka frame.
62
63%prep
64%setup -q
65
66%build
67%configure \
68 %{!?with_static_libs:--disable-static}
69%{__make} V=1
70
71%install
72rm -rf $RPM_BUILD_ROOT
73
74%{__make} install \
75 DESTDIR=$RPM_BUILD_ROOT
76
77%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
78
79%clean
80rm -rf $RPM_BUILD_ROOT
81
82%post -p /sbin/ldconfig
83%postun -p /sbin/ldconfig
84
85%files
86%defattr(644,root,root,755)
87%doc README
9a540856
JR
88%attr(755,root,root) %{_libdir}/libframe.so.*.*.*
89%attr(755,root,root) %ghost %{_libdir}/libframe.so.6
7abf551a
JR
90
91%files tools
92%defattr(644,root,root,755)
93%attr(755,root,root) %{_bindir}/frame-test-x11
9a540856
JR
94%{_mandir}/man1/frame-test-x11.1*
95
96%files devel
97%defattr(644,root,root,755)
98%attr(755,root,root) %{_libdir}/libframe.so
99%{_includedir}/oif
100%{_pkgconfigdir}/frame.pc
101%{_pkgconfigdir}/frame-x11.pc
102
103%if %{with static_libs}
104%files static
105%defattr(644,root,root,755)
106%{_libdir}/libframe.a
107%endif
This page took 0.071005 seconds and 4 git commands to generate.