source: projects/specs/trunk/m/mate-control-center/mate-control-center-vl.spec @ 9341

Revision 9341, 5.7 KB checked in by Takemikaduchi, 9 years ago (diff)

add BR: librsvg2-devel

Line 
1Summary:        The Control Center for MATE
2Name:           mate-control-center
3Version:        1.8.3
4Release:        2%{?_dist_release}
5
6Source0:        http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz
7
8License:        GPLv2
9Group:          User Interface/Desktops
10URL:            http://mate-desktop.org/
11
12BuildRequires:  mate-common
13BuildRequires:  mate-doc-utils
14BuildRequires:  mate-desktop-devel
15BuildRequires:  mate-menus-devel
16BuildRequires:  marco-devel
17BuildRequires:  mate-settings-daemon-devel
18BuildRequires:  libmatekbd-devel
19BuildRequires:  librsvg2-devel
20BuildRequires:  gtk2-devel
21BuildRequires:  dconf-devel
22BuildRequires:  libxml2-devel
23BuildRequires:  libSM-devel
24BuildRequires:  libXScrnSaver-devel
25BuildRequires:  libXext-devel
26BuildRequires:  libXxf86misc-devel
27BuildRequires:  libcanberra-devel
28BuildRequires:  unique-devel
29BuildRequires:  desktop-file-utils
30BuildRequires:  gtk-doc
31BuildRequires:  itstool
32BuildRequires:  autoconf
33BuildRequires:  automake
34
35Requires(posttrans,postun):     glib2
36Requires(post,postun):  desktop-file-utils
37
38BuildRoot:      %{_tmppath}/%{name}-%{version}-root
39
40Vendor:         Project Vine
41Distribution:   Vine Linux
42Packager:       Takemikaduchi
43
44
45%description
46The control center is MATE's main interface for configuration of various
47aspects of your desktop.
48
49
50%package        devel
51Summary:        Development tools for mate-control-center
52Summary(ja):    mate-control-center の開発環境
53Group:          Development/Libraries
54Requires:       %{name} = %{version}-%{release}
55Requires:       gtk2-devel
56Requires:       librsvg2-devel
57Requires:       pkgconfig
58
59%description    devel
60Header files and libraries for building a extension library for the
61mate-control-center.
62
63
64%prep
65%setup -q
66
67
68%build
69(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
70%configure \
71        --disable-static \
72        --disable-update-mimedb
73
74%{__make} %{?_smp_mflags}
75
76
77%install
78%{__rm} -rf ${RPM_BUILD_ROOT}
79
80%{__make} install DESTDIR=${RPM_BUILD_ROOT}
81
82find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
83find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
84
85%{__rm} -f ${RPM_BUILD_ROOT}%{_datadir}/applications/mimeinfo.cache
86
87%find_lang %{name}
88
89
90%clean
91%{__rm} -rf ${RPM_BUILD_ROOT}
92
93%post
94/sbin/ldconfig
95update-desktop-database %{_datadir}/applications >& /dev/null ||:
96touch --no-create %{_datadir}/icons/hicolor
97gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
98
99%postun
100/sbin/ldconfig
101if [ $1 -eq 0 ]; then
102  update-desktop-database %{_datadir}/applications >& /dev/null ||:
103  touch --no-create %{_datadir}/icons/hicolor
104  gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
105  glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
106fi
107
108%posttrans
109glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
110
111
112%files -f %{name}.lang
113%defattr(-,root,root,-)
114%doc COPYING ChangeLog NEWS README
115%{_sysconfdir}/xdg/menus/matecc.menu
116%{_bindir}/mate-about-me
117%{_bindir}/mate-appearance-properties
118%{_bindir}/mate-at-properties
119%{_bindir}/mate-control-center
120%{_bindir}/mate-default-applications-properties
121%{_bindir}/mate-display-properties
122%{_bindir}/mate-font-viewer
123%{_bindir}/mate-keybinding-properties
124%{_bindir}/mate-keyboard-properties
125%{_bindir}/mate-mouse-properties
126%{_bindir}/mate-network-properties
127%{_bindir}/mate-thumbnail-font
128%{_bindir}/mate-typing-monitor
129%{_bindir}/mate-window-properties
130%{_libdir}/libmate-window-settings.so.*
131%{_libdir}/libslab.so.*
132%{_libdir}/window-manager-settings/libmarco.so
133%{_sbindir}/mate-display-properties-install-systemwide
134%{_datadir}/MateConf/gsettings/mate-control-center.convert
135%{_datadir}/applications/*.desktop
136%{_datadir}/desktop-directories/matecc.directory
137%{_datadir}/glib-2.0/schemas/org.mate.control-center.gschema.xml
138%{_datadir}/glib-2.0/schemas/org.mate.control-center.keybinding.gschema.xml
139%{_datadir}/icons/hicolor/*/*/*
140%{_datadir}/mate/cursor-fonts/*
141%{_datadir}/help/*
142%{_datadir}/%{name}
143%{_datadir}/mime/packages/mate-theme-package.xml
144%{_datadir}/polkit-1/actions/org.mate.randr.policy
145%{_datadir}/thumbnailers/mate-font-viewer.thumbnailer
146%{_mandir}/man1/mate-about-me.1.gz
147%{_mandir}/man1/mate-appearance-properties.1.gz
148%{_mandir}/man1/mate-default-applications-properties.1.gz
149
150%files devel
151%defattr(-,root,root,-)
152%{_includedir}/mate-window-settings-2.0
153%{_includedir}/libslab
154%{_libdir}/libmate-window-settings.so
155%{_libdir}/libslab.so
156%{_libdir}/pkgconfig/libslab.pc
157%{_libdir}/pkgconfig/mate-default-applications.pc
158%{_libdir}/pkgconfig/mate-keybindings.pc
159%{_libdir}/pkgconfig/mate-window-settings-2.0.pc
160
161
162%changelog
163* Sun Feb 08 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.3-2
164- add BuildRequires: librsvg2-devel
165- add Requires: gtk2-devel, librsvg2-devel (-devel subpackage)
166
167* Wed Nov 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.3-1
168- new upstream release
169- change BuildRequires: marco-devel instead of mate-window-manager-devel
170
171* Sun Sep 21 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1
172- new upstream release
173
174* Tue Apr 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1
175- new upstream release
176- add BuildRequires: itstool
177
178* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2
179- rebuild with VineSeed environment
180
181* Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
182- new upstream release
183
184* Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
185- new upstream release
186- remove BuildRequires: mate-conf-devel
187- remove Patch0 (mate-control-center-1.2.1-configure.patch)
188- add BuildRequires: dconf-devel
189
190* Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
191- new upstream release
192
193* Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1
194- new upstream release
195- add Patch0 (mate-control-center-1.2.1-configure.patch)
196
197* Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
198- change category
199
200* Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
201- initial build for Vine Linux
202
Note: See TracBrowser for help on using the repository browser.