1 Summary: A collection of widgets for VMware (but not only)
2 Summary(pl.UTF-8): Zestaw widgetów dla VMware (ale nie tylko)
8 Source0: http://downloads.sourceforge.net/view/%{name}-%{version}.tar.bz2
9 # Source0-md5: 12b0a1e03013ae315d5f9088261d4f2b
10 Patch0: %{name}-constructor.patch
11 Patch1: %{name}-pc.patch
12 URL: http://view.sourceforge.net/
13 BuildRequires: autoconf >= 2.50
14 BuildRequires: automake
15 BuildRequires: gtk+2-devel >= 2:2.4.0
16 BuildRequires: gtkmm-devel >= 2.4.0
17 BuildRequires: libtool >= 2:1.5
18 BuildRequires: pkgconfig
19 Requires: gtk+2 >= 2:2.4.0
20 Requires: gtkmm >= 2.4.0
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 libview is a collection of widgets that were developed for use VMware
25 relased at MIT license so that open source community can use it.
27 %description -l pl.UTF-8
28 libview to zestaw widgetów stworzonych do użytku z VMware ale
29 udostępnionych na otwartej licencji (MIT), aby społeczność opensource
30 mogła z nich skorzystać.
33 Summary: Header files for libview library
34 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libview
35 Group: X11/Development/Libraries
36 Requires: %{name} = %{version}-%{release}
37 Requires: gtk+2-devel >= 2:2.4.0
38 Requires: gtkmm-devel >= 2.4.0
41 Header files for libview library.
43 %description devel -l pl.UTF-8
44 Pliki nagłówkowe biblioteki libview.
47 Summary: Static libview library
48 Summary(pl.UTF-8): Statyczna biblioteka libview
49 Group: X11/Development/Libraries
50 Requires: %{name}-devel = %{version}-%{release}
53 Static libview library.
55 %description static -l pl.UTF-8
56 Statyczna biblioteka libview.
69 export CFLAGS="%{rpmcflags} -std=c++11"
70 export CXXFLAGS="%{rpmcxxflags} -std=c++11"
75 rm -rf $RPM_BUILD_ROOT
78 DESTDIR=$RPM_BUILD_ROOT
80 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
83 rm -rf $RPM_BUILD_ROOT
85 %post -p /sbin/ldconfig
86 %postun -p /sbin/ldconfig
89 %defattr(644,root,root,755)
90 %doc AUTHORS ChangeLog NEWS README
91 %attr(755,root,root) %{_libdir}/libview.so.*.*.*
92 %attr(755,root,root) %ghost %{_libdir}/libview.so.2
95 %defattr(644,root,root,755)
96 %attr(755,root,root) %{_libdir}/libview.so
97 %{_includedir}/libview
98 %{_pkgconfigdir}/libview.pc
101 %defattr(644,root,root,755)