source: projects/specs/trunk/m/mate-system-tools/mate-system-tools-vl.spec @ 8068

Revision 8068, 3.3 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

Line 
1Summary:        A system tools for MATE
2Name:           mate-system-tools
3Version:        1.6.0
4Release:        2%{?_dist_release}
5Source0:        http://pub.mate-desktop.org/releases/1.6/%{name}-%{version}.tar.xz
6License:        GPLv2
7Group:          Applications/System
8URL:            http://mate-desktop.org/
9
10BuildRequires:  mate-common
11BuildRequires:  mate-doc-utils
12BuildRequires:  mate-polkit-devel
13BuildRequires:  mate-file-manager-devel
14BuildRequires:  gtk2-devel
15BuildRequires:  dbus-devel
16BuildRequires:  liboobs-devel
17BuildRequires:  system-tools-backends
18BuildRequires:  gtk-doc
19BuildRequires:  autoconf
20BuildRequires:  automake
21
22Requires(posttrans,postun):     glib2
23Requires(post,postun):  desktop-file-utils
24
25BuildRoot:      %{_tmppath}/%{name}-%{version}-root
26
27Patch0:         mate-system-tools-1.1.0-makefile.patch
28
29Vendor:         Project Vine
30Distribution:   Vine Linux
31Packager:       Takemikaduchi
32
33
34%description
35These tools are intended to simplify the tasks of configuring a Unix system
36for workstations. They are not intended for configuring Unix servers.
37
38
39%package        devel
40Summary:        Development tools for mate-system-tools
41Summary(ja):    mate-system-tools の開発環境
42Group:          Development/Libraries
43Requires:       %{name} = %{version}-%{release}
44Requires:       pkgconfig
45
46%description    devel
47Header files and libraries for building a extension library for the
48mate-system-tools.
49
50
51%prep
52%setup -q
53%patch0 -p1
54
55
56%build
57(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
58%configure \
59        --disable-static \
60        --disable-scrollkeeper
61
62%{__make} %{?_smp_mflags}
63
64
65%install
66%{__rm} -rf ${RPM_BUILD_ROOT}
67
68export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
69%{__make} install DESTDIR=${RPM_BUILD_ROOT}
70unset MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
71
72find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
73find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
74
75%find_lang %{name}
76
77
78%clean
79%{__rm} -rf ${RPM_BUILD_ROOT}
80
81%post
82/sbin/ldconfig
83update-desktop-database %{_datadir}/applications >& /dev/null ||:
84
85%postun
86/sbin/ldconfig
87update-desktop-database %{_datadir}/applications >& /dev/null ||:
88if [ $1 -eq 0 ]; then
89  glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
90fi
91
92%posttrans
93glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
94
95
96%files -f %{name}.lang
97%defattr(-,root,root,-)
98%doc COPYING ChangeLog NEWS README
99%{_sysconfdir}/mate-system-tools/user-profiles.conf
100%{_bindir}/mate-network-admin
101%{_bindir}/mate-services-admin
102%{_bindir}/mate-shares-admin
103%{_bindir}/mate-time-admin
104%{_bindir}/mate-users-admin
105%{_libdir}/caja/extensions-2.0/libcaja-gst-shares.so
106%{_datadir}/applications/*.desktop
107%{_datadir}/glib-2.0/schemas/org.mate.system-tools.gschema.xml
108%{_datadir}/icons/mate/*/*/*
109%{_datadir}/mate/help/*
110%{_datadir}/%{name}
111%{_datadir}/omf/*
112
113%files devel
114%defattr(-,root,root,-)
115%{_libdir}/pkgconfig/mate-system-tools.pc
116
117%changelog
118* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2
119- rebuild with VineSeed environment
120
121* Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
122- new upstream release
123- remove BuildRequires: mate-conf-devel
124
125* Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
126- new upstream release
127
128* Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.3-1
129- new upstream release
130
131* Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
132- change category
133
134* Sun Dec 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
135- initial build for Vine Linux
136
Note: See TracBrowser for help on using the repository browser.