]> git.pld-linux.org Git - packages/gnome-vfs2.git/blob - gnome-vfs2.spec
perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
[packages/gnome-vfs2.git] / gnome-vfs2.spec
1 Summary:        GNOME2 - virtual file system
2 Summary(pl):    GNOME2 - wirtualny system plików
3 Name:           gnome-vfs2
4 Version:        1.9.15
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications
8 Source0:        ftp://ftp.gnome.org:/pub/GNOME/pre-gnome2/sources/gnome-vfs/gnome-vfs-%{version}.tar.bz2
9 Patch0:         %{name}-am15.patch
10 Patch1:         %{name}-rm_GNOME_COMMON_INIT_and_GNOME_PLATFORM_GNOME_2.patch
11 URL:            http://www.gnome.org/
12 BuildRequires:  GConf2-devel >= 1.1.10
13 BuildRequires:  ORBit2-devel >= 2.3.108
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  bonobo-activation-devel >= 0.9.8
17 BuildRequires:  bzip2-devel
18 BuildRequires:  fam-devel
19 BuildRequires:  gettext-devel
20 BuildRequires:  glib2-devel >= 2.0.1
21 BuildRequires:  gnome-mime-data-devel >= 1.0.8
22 BuildRequires:  libbonobo-devel >= 0.116.0
23 BuildRequires:  libtool >= 1.4.2-10
24 BuildRequires:  libxml2-devel
25 BuildRequires:  openssl-devel
26 BuildRequires:  zlib-devel
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %define         _prefix         /usr/X11R6
30 %define         _mandir         %{_prefix}/man
31 %define         _sysconfdir     /etc/X11/GNOME2
32
33 %description
34 GNOME2 Virtual File System library.
35
36 %description -l pl
37 Biblioteka Wirtualnego Systemu Plików GNOME2.
38
39 %package devel
40 Summary:        gnome-vfs2 - header files
41 Summary(pl):    gnome-vfs2 - pliki nag³ówkowe
42 Group:          X11/Development/Libraries
43 Requires:       %{name} = %{version}
44
45 %description devel
46 This package contains header files for gnome-vfs2 library.
47
48 %description devel -l pl
49 Pakiet ten zawiera pliki nag³ówkowe biblioteki gnome-vfs2.
50
51 %package static
52 Summary:        gnome-vfs2 - static libraries
53 Summary(pl):    gnome-vfs2 - biblioteki statyczne
54 Group:          X11/Development/Libraries
55 Requires:       %{name}-devel = %{version}
56
57 %description static
58 This package contains static gnome-vfs2 libraries.
59
60 %description static -l pl
61 Pakiet ten zawiera biblioteki statyczne gnome-vfs2.
62
63 %prep
64 %setup -q -n gnome-vfs-%{version}
65 %patch0 -p1
66 %patch1 -p1
67
68 %build
69 rm -f missing
70 libtoolize --copy --force
71 aclocal
72 %{__autoconf}
73 %{__automake}
74 %configure \
75         --disable-gtk-doc
76 %{__make}
77
78 gzip -9nf AUTHORS ChangeLog NEWS README
79
80 %install
81 rm -rf $RPM_BUILD_ROOT
82
83 %{__make} install \
84         DESTDIR=$RPM_BUILD_ROOT \
85         pkgconfigdir=%{_pkgconfigdir}
86
87 %find_lang gnome-vfs-2.0
88
89 %clean
90 rm -rf $RPM_BUILD_ROOT
91
92 %post   -p /sbin/ldconfig
93 %postun -p /sbin/ldconfig
94
95 %files -f gnome-vfs-2.0.lang
96 %defattr(644,root,root,755)
97 %doc *.gz
98 #%{_datadir}/gtk-doc/html/gnome-vfs-2.0
99 %{_sysconfdir}/gnome-vfs-2.0
100 %attr(755,root,root) %{_libdir}/*.so.*.*
101 %dir %{_libdir}/gnome-vfs-2.0
102 %dir %{_libdir}/gnome-vfs-2.0/modules
103 %attr(755,root,root) %{_libdir}/gnome-vfs-2.0/modules/*.??
104 %attr(755,root,root) %{_libdir}/vfs
105 %{_libdir}/bonobo/servers/*
106 %{_libdir}/bonobo/monikers/*.??
107
108 %files devel
109 %defattr(644,root,root,755)
110 %attr(755,root,root) %{_libdir}/*.so
111 %attr(755,root,root) %{_libdir}/*.la
112 %{_includedir}/gnome-vfs-2.0
113 %{_includedir}/gnome-vfs-module-2.0
114 %{_libdir}/gnome-vfs-2.0/include
115 %{_pkgconfigdir}/*.pc
116
117 %files static
118 %defattr(644,root,root,755)
119 %{_libdir}/lib*.a
120 %{_libdir}/gnome-vfs-2.0/modules/*.a
This page took 0.053232 seconds and 4 git commands to generate.