3 %bcond_without static_libs # static library
5 Summary: C++ wrappers for gnome-vfs
6 Summary(pl.UTF-8): Interfejsy C++ dla gnome-vfs
12 Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-vfsmm/2.26/%{name}-%{version}.tar.bz2
13 # Source0-md5: d27d34b6a8722c557366729071c1baab
14 URL: https://www.gnome.org/
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: doxygen
18 BuildRequires: glibmm-devel >= 2.14.0
19 BuildRequires: gnome-vfs2-devel >= 2.24.0
20 BuildRequires: graphviz
21 BuildRequires: libstdc++-devel
22 BuildRequires: libtool >= 2:1.4d
23 BuildRequires: pkgconfig
24 Requires: glibmm >= 2.14.0
25 Requires: gnome-vfs2-libs >= 2.24.0
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 C++ wrappers for gnome-vfs.
31 %description -l pl.UTF-8
32 Interfejsy C++ dla gnome-vfs.
35 Summary: Devel files for gnome-vfsmm
36 Summary(pl.UTF-8): Pliki nagłówkowe dla gnome-vfsmm
37 Group: Development/Libraries
38 Requires: %{name} = %{version}-%{release}
39 Requires: glibmm-devel >= 2.14.0
40 Requires: gnome-vfs2-devel >= 2.24.0
43 Devel files for gnome-vfsmm.
45 %description devel -l pl.UTF-8
46 Pliki nagłówkowe dla gnome-vfsmm.
49 Summary: gnome-vfsmm static library
50 Summary(pl.UTF-8): Biblioteka statyczna gnome-vfsmm
51 Group: Development/Libraries
52 Requires: %{name}-devel = %{version}-%{release}
55 gnome-vfsmm static library.
57 %description static -l pl.UTF-8
58 Biblioteka statyczna gnome-vfsmm.
65 %{__aclocal} -I scripts
69 %{?with_static_libs:--enable-static}
74 rm -rf $RPM_BUILD_ROOT
77 DESTDIR=$RPM_BUILD_ROOT
79 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
82 rm -rf $RPM_BUILD_ROOT
84 %post -p /sbin/ldconfig
85 %postun -p /sbin/ldconfig
88 %defattr(644,root,root,755)
89 %doc AUTHORS ChangeLog NEWS README TODO
90 %attr(755,root,root) %{_libdir}/libgnomevfsmm-2.6.so.*.*.*
91 %attr(755,root,root) %ghost %{_libdir}/libgnomevfsmm-2.6.so.1
94 %defattr(644,root,root,755)
95 %attr(755,root,root) %{_libdir}/libgnomevfsmm-2.6.so
96 %{_includedir}/gnome-vfsmm-2.6
97 %{_libdir}/gnome-vfsmm-2.6
98 %{_pkgconfigdir}/gnome-vfsmm-2.6.pc
100 %if %{with static_libs}
102 %defattr(644,root,root,755)
103 %{_libdir}/libgnomevfsmm-2.6.a