]> git.pld-linux.org Git - packages/libview.git/blob - libview.spec
- rebuild with current glib2 and gdk-pixbuf2
[packages/libview.git] / libview.spec
1 Summary:        A collection of widgets for VMware (but not only)
2 Summary(pl.UTF-8):      Zestaw widgetów dla VMware (ale nie tylko)
3 Name:           libview
4 Version:        0.6.6
5 Release:        4
6 License:        MIT
7 Group:          X11/Libraries
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)
22
23 %description
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.
26
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ć.
31
32 %package devel
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
39
40 %description devel
41 Header files for libview library.
42
43 %description devel -l pl.UTF-8
44 Pliki nagłówkowe biblioteki libview.
45
46 %package static
47 Summary:        Static libview library
48 Summary(pl.UTF-8):      Statyczna biblioteka libview
49 Group:          X11/Development/Libraries
50 Requires:       %{name}-devel = %{version}-%{release}
51
52 %description static
53 Static libview library.
54
55 %description static -l pl.UTF-8
56 Statyczna biblioteka libview.
57
58 %prep
59 %setup -q
60 %patch0 -p1
61 %patch1 -p1
62
63 %build
64 %{__libtoolize}
65 %{__aclocal}
66 %{__autoconf}
67 %{__autoheader}
68 %{__automake}
69 export CFLAGS="%{rpmcflags} -std=c++11"
70 export CXXFLAGS="%{rpmcxxflags} -std=c++11"
71 %configure
72 %{__make}
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76
77 %{__make} install \
78         DESTDIR=$RPM_BUILD_ROOT
79
80 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %post   -p /sbin/ldconfig
86 %postun -p /sbin/ldconfig
87
88 %files
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
93
94 %files devel
95 %defattr(644,root,root,755)
96 %attr(755,root,root) %{_libdir}/libview.so
97 %{_includedir}/libview
98 %{_pkgconfigdir}/libview.pc
99
100 %files static
101 %defattr(644,root,root,755)
102 %{_libdir}/libview.a
This page took 0.079112 seconds and 3 git commands to generate.