]> git.pld-linux.org Git - packages/libview.git/blame - libview.spec
- rebuild with current glib2 and gdk-pixbuf2
[packages/libview.git] / libview.spec
CommitLineData
9c9bf4ad 1Summary: A collection of widgets for VMware (but not only)
cffa4ee6 2Summary(pl.UTF-8): Zestaw widgetów dla VMware (ale nie tylko)
0412f40b 3Name: libview
9d9297ac 4Version: 0.6.6
8be0e5ef 5Release: 4
0412f40b 6License: MIT
5ddf00f9 7Group: X11/Libraries
9d9297ac
AF
8Source0: http://downloads.sourceforge.net/view/%{name}-%{version}.tar.bz2
9# Source0-md5: 12b0a1e03013ae315d5f9088261d4f2b
2e1d4e16 10Patch0: %{name}-constructor.patch
f9e69ff8 11Patch1: %{name}-pc.patch
0412f40b 12URL: http://view.sourceforge.net/
9c9bf4ad 13BuildRequires: autoconf >= 2.50
0412f40b 14BuildRequires: automake
ee48ff82 15BuildRequires: gtk+2-devel >= 2:2.4.0
9c9bf4ad
JB
16BuildRequires: gtkmm-devel >= 2.4.0
17BuildRequires: libtool >= 2:1.5
5e4db792 18BuildRequires: pkgconfig
ee48ff82 19Requires: gtk+2 >= 2:2.4.0
f77f0922 20Requires: gtkmm >= 2.4.0
0412f40b
AG
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24libview is a collection of widgets that were developed for use VMware
25relased at MIT license so that open source community can use it.
26
5eabd4a7
JR
27%description -l pl.UTF-8
28libview to zestaw widgetów stworzonych do użytku z VMware ale
29udostępnionych na otwartej licencji (MIT), aby społeczność opensource
30mogła z nich skorzystać.
0412f40b
AG
31
32%package devel
33Summary: Header files for libview library
cffa4ee6 34Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libview
5ddf00f9 35Group: X11/Development/Libraries
0412f40b 36Requires: %{name} = %{version}-%{release}
ee48ff82 37Requires: gtk+2-devel >= 2:2.4.0
9c9bf4ad 38Requires: gtkmm-devel >= 2.4.0
0412f40b
AG
39
40%description devel
41Header files for libview library.
42
5eabd4a7
JR
43%description devel -l pl.UTF-8
44Pliki nagłówkowe biblioteki libview.
0412f40b
AG
45
46%package static
47Summary: Static libview library
cffa4ee6 48Summary(pl.UTF-8): Statyczna biblioteka libview
5ddf00f9 49Group: X11/Development/Libraries
0412f40b
AG
50Requires: %{name}-devel = %{version}-%{release}
51
52%description static
53Static libview library.
54
5eabd4a7 55%description static -l pl.UTF-8
0412f40b
AG
56Statyczna biblioteka libview.
57
58%prep
59%setup -q
2e1d4e16 60%patch0 -p1
f9e69ff8 61%patch1 -p1
0412f40b
AG
62
63%build
64%{__libtoolize}
65%{__aclocal}
66%{__autoconf}
67%{__autoheader}
68%{__automake}
8be0e5ef
JR
69export CFLAGS="%{rpmcflags} -std=c++11"
70export CXXFLAGS="%{rpmcxxflags} -std=c++11"
ed26e862 71%configure
0412f40b
AG
72%{__make}
73
74%install
75rm -rf $RPM_BUILD_ROOT
76
77%{__make} install \
78 DESTDIR=$RPM_BUILD_ROOT
79
9d9297ac
AF
80%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
81
0412f40b
AG
82%clean
83rm -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
5ddf00f9
JB
91%attr(755,root,root) %{_libdir}/libview.so.*.*.*
92%attr(755,root,root) %ghost %{_libdir}/libview.so.2
0412f40b
AG
93
94%files devel
95%defattr(644,root,root,755)
5ddf00f9 96%attr(755,root,root) %{_libdir}/libview.so
0412f40b 97%{_includedir}/libview
5ddf00f9 98%{_pkgconfigdir}/libview.pc
0412f40b
AG
99
100%files static
101%defattr(644,root,root,755)
5ddf00f9 102%{_libdir}/libview.a
This page took 0.06003 seconds and 4 git commands to generate.