1 | Summary: The MATE shell and file manager |
---|
2 | Name: mate-file-manager |
---|
3 | Version: 1.6.1 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | |
---|
6 | Source0: http://pub.mate-desktop.org/releases/1.6/%{name}-%{version}.tar.xz |
---|
7 | |
---|
8 | Patch0: mate-file-manager-1.2.2-makefile.patch |
---|
9 | |
---|
10 | License: GPLv2 |
---|
11 | Group: User Interface/Desktops |
---|
12 | URL: http://mate-desktop.org/ |
---|
13 | |
---|
14 | BuildRequires: mate-common |
---|
15 | BuildRequires: mate-desktop-devel |
---|
16 | BuildRequires: gtk2-devel |
---|
17 | BuildRequires: pangox-compat-devel |
---|
18 | BuildRequires: libxml2-devel |
---|
19 | BuildRequires: libSM-devel |
---|
20 | BuildRequires: unique-devel |
---|
21 | BuildRequires: libexif-devel |
---|
22 | BuildRequires: exempi-devel |
---|
23 | BuildRequires: gtk-doc |
---|
24 | BuildRequires: autoconf |
---|
25 | BuildRequires: automake |
---|
26 | |
---|
27 | Requires(posttrans,postun): glib2 |
---|
28 | Requires(post,postun): gtk2 |
---|
29 | Requires(post,postun): desktop-file-utils |
---|
30 | |
---|
31 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
32 | |
---|
33 | Vendor: Project Vine |
---|
34 | Distribution: Vine Linux |
---|
35 | Packager: Takemikaduchi |
---|
36 | |
---|
37 | |
---|
38 | %description |
---|
39 | This is Caja, the file manager for the MATE desktop. |
---|
40 | |
---|
41 | |
---|
42 | %package devel |
---|
43 | Summary: Development tools for mate-file-manager |
---|
44 | Summary(ja): mate-file-manager の開発環境 |
---|
45 | Group: Development/Libraries |
---|
46 | Requires: %{name} = %{version}-%{release} |
---|
47 | Requires: pkgconfig |
---|
48 | |
---|
49 | %description devel |
---|
50 | Header files and libraries for building a extension library for the |
---|
51 | mate-file-manager. |
---|
52 | |
---|
53 | |
---|
54 | %package doc |
---|
55 | Summary: Documentation for mate-file-manager |
---|
56 | Summary(ja): mate-file-manager 用のドキュメント |
---|
57 | Group: Documentation |
---|
58 | Requires: %{name} = %{version}-%{release} |
---|
59 | BuildArch: noarch |
---|
60 | |
---|
61 | %description doc |
---|
62 | This package contains documentation for mate-file-manager. |
---|
63 | |
---|
64 | |
---|
65 | %prep |
---|
66 | %setup -q |
---|
67 | %patch0 -p1 |
---|
68 | |
---|
69 | |
---|
70 | %build |
---|
71 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
72 | %configure \ |
---|
73 | --libexecdir=%{_libexecdir}/mate \ |
---|
74 | --disable-static \ |
---|
75 | --disable-scrollkeeper \ |
---|
76 | --enable-unique \ |
---|
77 | --disable-update-mimedb |
---|
78 | |
---|
79 | %{__make} %{?_smp_mflags} |
---|
80 | |
---|
81 | |
---|
82 | %install |
---|
83 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
84 | |
---|
85 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
86 | |
---|
87 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
88 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
89 | |
---|
90 | %find_lang caja |
---|
91 | |
---|
92 | |
---|
93 | %clean |
---|
94 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
95 | |
---|
96 | |
---|
97 | %post |
---|
98 | /sbin/ldconfig |
---|
99 | |
---|
100 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
101 | touch --no-create %{_datadir}/icons/hicolor |
---|
102 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
103 | |
---|
104 | %postun |
---|
105 | /sbin/ldconfig |
---|
106 | if [ $1 -eq 0 ]; then |
---|
107 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
108 | touch --no-create %{_datadir}/icons/hicolor |
---|
109 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
110 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
111 | fi |
---|
112 | |
---|
113 | %posttrans |
---|
114 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
115 | |
---|
116 | |
---|
117 | %files -f caja.lang |
---|
118 | %defattr(-,root,root,-) |
---|
119 | %doc COPYING ChangeLog NEWS README |
---|
120 | %{_bindir}/caja |
---|
121 | %{_bindir}/caja-autorun-software |
---|
122 | %{_bindir}/caja-connect-server |
---|
123 | %{_bindir}/caja-file-management-properties |
---|
124 | %{_libdir}/libcaja-extension.so.* |
---|
125 | %{_libdir}/girepository-1.0/Caja-2.0.typelib |
---|
126 | %{_libexecdir}/mate/caja-convert-metadata |
---|
127 | %{_datadir}/MateConf/gsettings/caja.convert |
---|
128 | %{_datadir}/applications/*.desktop |
---|
129 | %{_datadir}/caja |
---|
130 | %{_datadir}/dbus-1/services/org.mate.freedesktop.FileManager1.service |
---|
131 | %{_datadir}/glib-2.0/schemas/org.mate.caja.gschema.xml |
---|
132 | %{_datadir}/glib-2.0/schemas/org.mate.media-handling.gschema.xml |
---|
133 | %{_datadir}/icons/hicolor/*/*/* |
---|
134 | %{_datadir}/mime/packages/caja.xml |
---|
135 | %{_datadir}/pixmaps/caja |
---|
136 | %{_mandir}/man1/*.1.gz |
---|
137 | |
---|
138 | %files devel |
---|
139 | %defattr(-,root,root,-) |
---|
140 | %{_includedir}/caja |
---|
141 | %{_libdir}/libcaja-extension.so |
---|
142 | %{_libdir}/pkgconfig/libcaja-extension.pc |
---|
143 | %{_datadir}/gir-1.0/Caja-2.0.gir |
---|
144 | |
---|
145 | %files doc |
---|
146 | %defattr(-,root,root,-) |
---|
147 | %{_datadir}/gtk-doc/html/libcaja-extension |
---|
148 | |
---|
149 | |
---|
150 | %changelog |
---|
151 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1 |
---|
152 | - new upstream release |
---|
153 | - remove BuildRequires: mate-conf-devel |
---|
154 | - add BuildRequires: pangox-compat-devel |
---|
155 | |
---|
156 | * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
157 | - new upstream release |
---|
158 | |
---|
159 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.2-1 |
---|
160 | - new upstream release |
---|
161 | - add Patch0 (mate-file-manager-1.2.2-makefile.patch) |
---|
162 | |
---|
163 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
164 | - change category |
---|
165 | |
---|
166 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
167 | - initial build for Vine Linux |
---|
168 | |
---|