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

RevLine 
[5311]1Summary:        The Control Center for MATE
2Name:           mate-control-center
[9120]3Version:        1.8.3
[9341]4Release:        2%{?_dist_release}
[6172]5
[8359]6Source0:        http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz
[6172]7
[5311]8License:        GPLv2
[5316]9Group:          User Interface/Desktops
[6679]10URL:            http://mate-desktop.org/
[5311]11
12BuildRequires:  mate-common
13BuildRequires:  mate-doc-utils
14BuildRequires:  mate-desktop-devel
15BuildRequires:  mate-menus-devel
[9120]16BuildRequires:  marco-devel
[5311]17BuildRequires:  mate-settings-daemon-devel
18BuildRequires:  libmatekbd-devel
[9341]19BuildRequires:  librsvg2-devel
[5311]20BuildRequires:  gtk2-devel
[7697]21BuildRequires:  dconf-devel
[5311]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
[8359]31BuildRequires:  itstool
[5311]32BuildRequires:  autoconf
33BuildRequires:  automake
34
[7697]35Requires(posttrans,postun):     glib2
[5311]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}
[9341]55Requires:       gtk2-devel
56Requires:       librsvg2-devel
[5311]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
[6172]87%find_lang %{name}
[5311]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
[7697]97gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
[5311]98
99%postun
100/sbin/ldconfig
[7697]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 ||:
[5311]106fi
107
[7697]108%posttrans
109glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
[5311]110
[7697]111
[6172]112%files -f %{name}.lang
[5311]113%defattr(-,root,root,-)
114%doc COPYING ChangeLog NEWS README
[9341]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
[5311]130%{_libdir}/libmate-window-settings.so.*
[9341]131%{_libdir}/libslab.so.*
[5311]132%{_libdir}/window-manager-settings/libmarco.so
133%{_sbindir}/mate-display-properties-install-systemwide
[7697]134%{_datadir}/MateConf/gsettings/mate-control-center.convert
[5311]135%{_datadir}/applications/*.desktop
[9341]136%{_datadir}/desktop-directories/matecc.directory
[7697]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
[5311]139%{_datadir}/icons/hicolor/*/*/*
140%{_datadir}/mate/cursor-fonts/*
[8359]141%{_datadir}/help/*
[5311]142%{_datadir}/%{name}
143%{_datadir}/mime/packages/mate-theme-package.xml
144%{_datadir}/polkit-1/actions/org.mate.randr.policy
[7697]145%{_datadir}/thumbnailers/mate-font-viewer.thumbnailer
[7821]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
[5311]149
150%files devel
151%defattr(-,root,root,-)
152%{_includedir}/mate-window-settings-2.0
[9341]153%{_includedir}/libslab
[5311]154%{_libdir}/libmate-window-settings.so
[9341]155%{_libdir}/libslab.so
156%{_libdir}/pkgconfig/libslab.pc
[7821]157%{_libdir}/pkgconfig/mate-default-applications.pc
158%{_libdir}/pkgconfig/mate-keybindings.pc
[5311]159%{_libdir}/pkgconfig/mate-window-settings-2.0.pc
160
161
162%changelog
[9341]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
[9120]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
[8962]171* Sun Sep 21 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1
[8359]172- new upstream release
[8962]173
174* Tue Apr 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1
175- new upstream release
[8359]176- add BuildRequires: itstool
177
[8068]178* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2
179- rebuild with VineSeed environment
180
[7821]181* Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
182- new upstream release
183
[7697]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
[6679]190* Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
191- new upstream release
192
[6172]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
[5316]197* Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
198- change category
199
[5311]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.