]> git.pld-linux.org Git - packages/libview.git/blobdiff - libview.spec
- rebuild with current glib2 and gdk-pixbuf2
[packages/libview.git] / libview.spec
index f00263b697624016cc404493bc73064dbeb2d28c..ad6b9b2a8c807a12f9957e26c7a4960aa6647bd1 100644 (file)
@@ -1,20 +1,23 @@
 Summary:       A collection of widgets for VMware (but not only)
 Summary(pl.UTF-8):     Zestaw widgetów dla VMware (ale nie tylko)
 Name:          libview
-Version:       0.6.4
+Version:       0.6.6
 Release:       4
 License:       MIT
 Group:         X11/Libraries
-Source0:       http://dl.sourceforge.net/view/%{name}-%{version}.tar.gz
-# Source0-md5: e917f9c33e83e55e20d52fe251278c84
+Source0:       http://downloads.sourceforge.net/view/%{name}-%{version}.tar.bz2
+# Source0-md5: 12b0a1e03013ae315d5f9088261d4f2b
 Patch0:                %{name}-constructor.patch
 Patch1:                %{name}-pc.patch
 URL:           http://view.sourceforge.net/
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake
+BuildRequires: gtk+2-devel >= 2:2.4.0
 BuildRequires: gtkmm-devel >= 2.4.0
 BuildRequires: libtool >= 2:1.5
 BuildRequires: pkgconfig
+Requires:      gtk+2 >= 2:2.4.0
+Requires:      gtkmm >= 2.4.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -31,6 +34,7 @@ Summary:      Header files for libview library
 Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki libview
 Group:         X11/Development/Libraries
 Requires:      %{name} = %{version}-%{release}
+Requires:      gtk+2-devel >= 2:2.4.0
 Requires:      gtkmm-devel >= 2.4.0
 
 %description devel
@@ -62,6 +66,8 @@ Statyczna biblioteka libview.
 %{__autoconf}
 %{__autoheader}
 %{__automake}
+export CFLAGS="%{rpmcflags} -std=c++11"
+export CXXFLAGS="%{rpmcxxflags} -std=c++11"
 %configure
 %{__make}
 
@@ -71,6 +77,8 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -86,7 +94,6 @@ rm -rf $RPM_BUILD_ROOT
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libview.so
-%{_libdir}/libview.la
 %{_includedir}/libview
 %{_pkgconfigdir}/libview.pc
 
This page took 0.217937 seconds and 4 git commands to generate.