source: projects/specs/trunk/m/mate-vfs/mate-vfs-vl.spec @ 6679

Revision 6679, 4.5 KB checked in by Takemikaduchi, 12 years ago (diff)

MATE-1.4.0

Line 
1Summary:        The MATE virtual file-system libraries
2Name:           mate-vfs
3Version:        1.4.0
4Release:        1%{?_dist_release}
5Source0:        http://pub.mate-desktop.org/releases/1.4/%{name}-%{version}.tar.xz
6License:        GPLv2
7Group:          System Environment/Libraries
8URL:            http://mate-desktop.org/
9
10BuildRequires:  mate-common
11BuildRequires:  mate-mime-data
12BuildRequires:  mate-conf-devel
13BuildRequires:  libmatecomponent-devel
14BuildRequires:  glib2-devel
15BuildRequires:  libxml2-devel
16BuildRequires:  bzip2-devel
17BuildRequires:  dbus-glib-devel
18BuildRequires:  gtk-doc
19BuildRequires:  autoconf
20BuildRequires:  automake
21
22Requires(post,pre,preun):       mate-conf
23
24BuildRoot:      %{_tmppath}/%{name}-%{version}-root
25
26Vendor:         Project Vine
27Distribution:   Vine Linux
28Packager:       Takemikaduchi
29
30
31%description
32MATE VFS is currently used as one of the foundations of the Caja
33file manager.
34
35
36%package        devel
37Summary:        Development tools for mate-vfs
38Summary(ja):    mate-vfs の開発環境
39Group:          Development/Libraries
40Requires:       %{name} = %{version}-%{release}
41Requires:       pkgconfig
42
43%description    devel
44Header files and libraries for building a extension library for the
45mate-vfs.
46
47
48%package        doc
49Summary:        Documentation for mate-vfs
50Summary(ja):    mate-vfs 用のドキュメント
51Group:          Documentation
52Requires:       %{name} = %{version}-%{release}
53BuildArch:      noarch
54
55%description    doc
56This package contains documentation for mate-vfs.
57
58
59%prep
60%setup -q
61
62
63%build
64(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
65%configure \
66        --libexecdir=%{_libexecdir}/mate \
67        --disable-static \
68        --disable-hal \
69        --disable-avahi \
70        --disable-howl \
71        --disable-openssl \
72        --disable-selinux
73
74%{__make} %{?_smp_mflags}
75
76
77%install
78%{__rm} -rf ${RPM_BUILD_ROOT}
79
80export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
81%{__make} install DESTDIR=${RPM_BUILD_ROOT}
82unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
83
84find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
85find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
86
87%find_lang %{name}
88
89
90%clean
91%{__rm} -rf ${RPM_BUILD_ROOT}
92
93%post
94/sbin/ldconfig
95
96export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
97
98SCHEMAS=" \
99  desktop_default_applications.schemas \
100  desktop_mate_url_handlers.schemas \
101  system_dns_sd.schemas \
102  system_http_proxy.schemas \
103  system_http_proxy.schemas"
104for S in $SCHEMAS; do
105  echo %{_sysconfdir}/mateconf/schemas/$S; done \
106  | xargs mateconftool-2 --makefile-install-rule >& /dev/null ||:
107
108%pre
109if [ "$1" -gt 1 ]; then
110  export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
111
112  SCHEMAS=" \
113    desktop_default_applications.schemas \
114    desktop_mate_url_handlers.schemas \
115    system_dns_sd.schemas \
116    system_http_proxy.schemas \
117    system_http_proxy.schemas"
118  for S in $SCHEMAS; do
119    echo %{_sysconfdir}/mateconf/schemas/$S; done \
120    | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||:
121fi
122
123%preun
124if [ "$1" -eq 0 ]; then
125  export MATECONF_CONFIG_SOURCE=`mateconftool-2 --get-default-source`
126
127  SCHEMAS=" \
128    desktop_default_applications.schemas \
129    desktop_mate_url_handlers.schemas \
130    system_dns_sd.schemas \
131    system_http_proxy.schemas \
132    system_http_proxy.schemas"
133  for S in $SCHEMAS; do
134    echo %{_sysconfdir}/mateconf/schemas/$S; done \
135    | xargs mateconftool-2 --makefile-uninstall-rule >& /dev/null ||:
136fi
137
138%postun -p /sbin/ldconfig
139
140%files -f %{name}.lang
141%defattr(-,root,root,-)
142%doc COPYING COPYING.LIB ChangeLog NEWS README
143%{_sysconfdir}/mate-vfs-2.0/modules/default-modules.conf
144%{_sysconfdir}/mateconf/schemas/desktop_default_applications.schemas
145%{_sysconfdir}/mateconf/schemas/desktop_mate_url_handlers.schemas
146%{_sysconfdir}/mateconf/schemas/system_dns_sd.schemas
147%{_sysconfdir}/mateconf/schemas/system_http_proxy.schemas
148%{_sysconfdir}/mateconf/schemas/system_smb.schemas
149%{_bindir}/matevfs-*
150%{_libdir}/libmatevfs-2.so.*
151%{_libdir}/mate-vfs-2.0/modules/*.so
152%{_libexecdir}/mate/mate-vfs-daemon
153%{_datadir}/dbus-1/services/mate-vfs-daemon.service
154
155%files devel
156%defattr(-,root,root,-)
157%{_includedir}/mate-vfs-2.0
158%{_includedir}/mate-vfs-module-2.0
159%{_libdir}/libmatevfs-2.so
160%{_libdir}/mate-vfs-2.0/include/mate-vfs-file-size.h
161%{_libdir}/pkgconfig/mate-vfs-2.0.pc
162%{_libdir}/pkgconfig/mate-vfs-module-2.0.pc
163
164%files doc
165%defattr(-,root,root,-)
166%{_datadir}/gtk-doc/html/mate-vfs-2.0
167
168
169%changelog
170* Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
171- new upstream release
172
173* Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
174- new upstream release
175
176* Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
177- initial build for Vine Linux
178
Note: See TracBrowser for help on using the repository browser.