[8374] | 1 | Summary: Cinnamon Control Center. |
---|
| 2 | Summary(ja): Cinnamon コントロールセンター |
---|
| 3 | Name: cinnamon-control-center |
---|
[9223] | 4 | Version: 2.4.2 |
---|
[9559] | 5 | Release: 2%{?_dist_release} |
---|
[8374] | 6 | License: GPLv2+ and GFDL+ |
---|
| 7 | Group: User Interface/Desktops |
---|
| 8 | URL: https://github.com/linuxmint/cinnamon-control-center |
---|
| 9 | Source: %{name}-%{version}.tar.gz |
---|
| 10 | |
---|
| 11 | Vendor: Project Vine |
---|
| 12 | Distribution: Vine Linux |
---|
| 13 | Packager: Takemikaduchi |
---|
| 14 | |
---|
| 15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 16 | |
---|
| 17 | Requires: usermode |
---|
| 18 | Requires: cinnamon-settings-daemon |
---|
| 19 | Requires: gnome-icon-theme |
---|
| 20 | Requires: cinnamon-desktop |
---|
| 21 | Requires: dbus-x11 |
---|
| 22 | Requires: apg |
---|
| 23 | Requires(post,postun): desktop-file-utils shared-mime-info gtk3 |
---|
| 24 | |
---|
| 25 | BuildRequires: gnome-common |
---|
| 26 | BuildRequires: glib2-devel |
---|
| 27 | BuildRequires: gtk3-devel |
---|
| 28 | BuildRequires: cinnamon-desktop-devel |
---|
| 29 | BuildRequires: libgnomekbd-devel |
---|
| 30 | BuildRequires: desktop-file-utils |
---|
| 31 | BuildRequires: startup-notification-devel |
---|
| 32 | BuildRequires: libxklavier-devel |
---|
| 33 | BuildRequires: cinnamon-menus-devel |
---|
| 34 | BuildRequires: gnome-doc-utils |
---|
| 35 | BuildRequires: evolution-data-server-devel |
---|
| 36 | BuildRequires: cinnamon-settings-daemon-devel |
---|
| 37 | BuildRequires: libcanberra-gtk3-devel |
---|
| 38 | BuildRequires: nautilus-devel |
---|
| 39 | BuildRequires: alsa-lib-devel |
---|
| 40 | BuildRequires: autoconf |
---|
| 41 | BuildRequires: gettext-devel |
---|
| 42 | BuildRequires: librsvg2-devel |
---|
| 43 | BuildRequires: libXScrnSaver-devel |
---|
| 44 | BuildRequires: libXxf86misc-devel |
---|
| 45 | BuildRequires: libSM-devel |
---|
| 46 | BuildRequires: unique3-devel |
---|
| 47 | BuildRequires: polkit-devel |
---|
| 48 | BuildRequires: libgtop2-devel |
---|
[8962] | 49 | BuildRequires: upower-devel |
---|
[8374] | 50 | BuildRequires: pulseaudio-libs-devel |
---|
| 51 | BuildRequires: cups-devel |
---|
| 52 | BuildRequires: colord-devel |
---|
| 53 | BuildRequires: colord-gtk-devel |
---|
| 54 | BuildRequires: libnm-gtk-devel |
---|
| 55 | BuildRequires: NetworkManager-glib-devel |
---|
| 56 | BuildRequires: ModemManager-glib-devel |
---|
| 57 | BuildRequires: libnotify-devel |
---|
| 58 | BuildRequires: libwacom-devel |
---|
[9559] | 59 | BuildRequires: libsocialweb-devel |
---|
[8374] | 60 | BuildRequires: iso-codes |
---|
| 61 | |
---|
| 62 | %description |
---|
| 63 | The control-center package provides the Cinnamon Control Center utilities |
---|
| 64 | that allow you to setup and configure your system's Cinnamon environment |
---|
| 65 | (things like the desktop background and theme, the screensaver, |
---|
| 66 | the window manager, system sounds, and mouse behavior). |
---|
| 67 | |
---|
| 68 | |
---|
| 69 | %description -l ja |
---|
| 70 | Cinnamon-control-center パッケージには、あなたの Cinnamon 環境の設定に使う |
---|
| 71 | Cinnamon コントロールセンター・ユーティリティが含まれています。 |
---|
| 72 | (これを使うと、デスクトップの壁紙や、テーマ、スクリーンセーバ、ウィン |
---|
| 73 | ドウマネージャ、サウンド、マウス、その他いろいろな設定を行えます。) |
---|
| 74 | |
---|
| 75 | %package devel |
---|
| 76 | Summary: Development files for Cinnamon Control Center |
---|
| 77 | Summary(ja): Cinnamon コントロールセンターの開発用ファイル |
---|
| 78 | Group: Development/Libraries |
---|
| 79 | Requires: %{name} = %{version}-%{release} |
---|
| 80 | |
---|
| 81 | %description devel |
---|
| 82 | Development tool for Cinnamon Control Center |
---|
| 83 | |
---|
| 84 | %descriotion -l ja devel |
---|
| 85 | Cinnamon コントロールセンターの開発用ファイルが含まれています。 |
---|
| 86 | |
---|
| 87 | %prep |
---|
| 88 | %setup -q |
---|
| 89 | |
---|
| 90 | %build |
---|
| 91 | autoreconf -if |
---|
| 92 | %configure --disable-static \ |
---|
| 93 | --disable-update-mimedb \ |
---|
[9559] | 94 | --with-libsocialweb=yes |
---|
[8374] | 95 | CFLAGS="$RPM_OPT_FLAGS -Wno-error" |
---|
| 96 | |
---|
| 97 | # drop unneeded direct library deps with --as-needed |
---|
| 98 | # libtool doesn't make this easy, so we do it the hard way |
---|
| 99 | sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool |
---|
| 100 | |
---|
| 101 | make %{?_smp_mflags} |
---|
| 102 | |
---|
| 103 | %install |
---|
| 104 | rm -rf $RPM_BUILD_ROOT |
---|
| 105 | |
---|
| 106 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 107 | |
---|
| 108 | #desktop-file-install --delete-original \ |
---|
| 109 | # --dir $RPM_BUILD_ROOT%{_datadir}/applications \ |
---|
| 110 | # --add-only-show-in GNOME \ |
---|
| 111 | # $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop |
---|
| 112 | |
---|
| 113 | # We don't want these |
---|
| 114 | rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/autostart |
---|
| 115 | rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/cursor-fonts |
---|
| 116 | |
---|
| 117 | # remove useless libtool archive files |
---|
| 118 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 119 | |
---|
| 120 | # don't package mime caches |
---|
| 121 | rm -f $RPM_BUILD_ROOT%{_datadir}/mime/XMLnamespaces |
---|
| 122 | rm -f $RPM_BUILD_ROOT%{_datadir}/mime/aliases |
---|
| 123 | rm -f $RPM_BUILD_ROOT%{_datadir}/mime/application/x-gnome-theme-package.xml |
---|
| 124 | rm -f $RPM_BUILD_ROOT%{_datadir}/mime/globs |
---|
| 125 | rm -f $RPM_BUILD_ROOT%{_datadir}/mime/magic |
---|
| 126 | rm -f $RPM_BUILD_ROOT%{_datadir}/mime/subclasses |
---|
| 127 | rm -f $RPM_BUILD_ROOT%{_datadir}/mime/mime.cache |
---|
| 128 | rm -f $RPM_BUILD_ROOT%{_datadir}/applications/mimeinfo.cache |
---|
| 129 | |
---|
| 130 | %find_lang %{name}-timezones |
---|
| 131 | |
---|
| 132 | %clean |
---|
| 133 | rm -rf $RPM_BUILD_ROOT |
---|
| 134 | |
---|
| 135 | %post |
---|
| 136 | /sbin/ldconfig |
---|
| 137 | |
---|
| 138 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 139 | update-mime-database %{_datadir}/mime > /dev/null |
---|
| 140 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 141 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
| 142 | /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
| 143 | fi |
---|
| 144 | |
---|
| 145 | %postun |
---|
| 146 | /sbin/ldconfig |
---|
| 147 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 148 | update-mime-database %{_datadir}/mime > /dev/null |
---|
| 149 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 150 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
| 151 | /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
| 152 | fi |
---|
| 153 | |
---|
| 154 | %files -f %{name}-timezones.lang |
---|
| 155 | %defattr(-, root, root) |
---|
| 156 | %doc AUTHORS COPYING ChangeLog NEWS README |
---|
| 157 | %{_sysconfdir}/xdg/autostart/cinnamon-sound-applet.desktop |
---|
| 158 | %{_sysconfdir}/xdg/menus/cinnamoncc.menu |
---|
| 159 | %{_bindir}/%{name} |
---|
| 160 | %{_bindir}/cinnamon-sound-applet |
---|
| 161 | %{_libdir}/libcinnamon-control-center.so.* |
---|
| 162 | %{_libdir}/%{name}-1 |
---|
| 163 | %{_datadir}/applications/*.desktop |
---|
| 164 | %{_datadir}/%{name} |
---|
| 165 | %{_datadir}/desktop-directories/cinnamoncc.directory |
---|
| 166 | %{_datadir}/icons/hicolor/*/*/* |
---|
| 167 | %{_datadir}/polkit-1/rules.d/%{name}.rules |
---|
| 168 | |
---|
| 169 | %files devel |
---|
| 170 | %defattr(-, root, root) |
---|
| 171 | %{_includedir}/cinnamon-control-center-1/ |
---|
| 172 | %{_libdir}/libcinnamon-control-center.so |
---|
| 173 | %{_libdir}/pkgconfig/libcinnamon-control-center.pc |
---|
| 174 | |
---|
| 175 | |
---|
| 176 | %changelog |
---|
[9559] | 177 | * Sun May 10 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.2-2 |
---|
| 178 | - add BuildRequires: libsocialweb-devel |
---|
| 179 | |
---|
[9223] | 180 | * Sat Jan 03 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.2-1 |
---|
| 181 | - new upstream release |
---|
| 182 | |
---|
[8962] | 183 | * Sun Sep 21 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.11-2 |
---|
| 184 | - change BuildRequires: upower-devel instead of libupower09-devel |
---|
| 185 | |
---|
[8925] | 186 | * Sun Aug 31 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.11-1 |
---|
| 187 | - new upstream release |
---|
| 188 | |
---|
[8721] | 189 | * Wed Jul 02 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.10-1 |
---|
| 190 | - new upstream release |
---|
| 191 | |
---|
[8374] | 192 | * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.3-1 |
---|
| 193 | - initial build |
---|
| 194 | |
---|