source: projects/specs/trunk/c/caja/caja-vl.spec @ 8359

Revision 8359, 5.0 KB checked in by Takemikaduchi, 10 years ago (diff)

MATE-1.8.0

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