]> git.pld-linux.org Git - SPECS.git/blob - gnome-vfsmm.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / gnome-vfsmm.spec
1 #
2 # Conditional build:
3 %bcond_without  static_libs     # static library
4
5 Summary:        C++ wrappers for gnome-vfs
6 Summary(pl.UTF-8):      Interfejsy C++ dla gnome-vfs
7 Name:           gnome-vfsmm
8 Version:        2.26.0
9 Release:        3
10 License:        LGPL v2+
11 Group:          Libraries
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)
27
28 %description
29 C++ wrappers for gnome-vfs.
30
31 %description -l pl.UTF-8
32 Interfejsy C++ dla gnome-vfs.
33
34 %package devel
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
41
42 %description devel
43 Devel files for gnome-vfsmm.
44
45 %description devel -l pl.UTF-8
46 Pliki nagłówkowe dla gnome-vfsmm.
47
48 %package static
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}
53
54 %description static
55 gnome-vfsmm static library.
56
57 %description static -l pl.UTF-8
58 Biblioteka statyczna gnome-vfsmm.
59
60 %prep
61 %setup -q
62
63 %build
64 %{__libtoolize}
65 %{__aclocal} -I scripts
66 %{__autoconf}
67 %{__automake}
68 %configure \
69         %{?with_static_libs:--enable-static}
70
71 %{__make}
72
73 %install
74 rm -rf $RPM_BUILD_ROOT
75
76 %{__make} install \
77         DESTDIR=$RPM_BUILD_ROOT
78
79 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
80
81 %clean
82 rm -rf $RPM_BUILD_ROOT
83
84 %post   -p /sbin/ldconfig
85 %postun -p /sbin/ldconfig
86
87 %files
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
92
93 %files devel
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
99
100 %if %{with static_libs}
101 %files static
102 %defattr(644,root,root,755)
103 %{_libdir}/libgnomevfsmm-2.6.a
104 %endif
This page took 0.180749 seconds and 3 git commands to generate.