[8374] | 1 | Summary: Cinnamon Control Center. |
---|
| 2 | Summary(ja): Cinnamon コントロールセンター |
---|
| 3 | Name: cinnamon-control-center |
---|
[8925] | 4 | Version: 2.2.11 |
---|
[8962] | 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 |
---|
| 59 | BuildRequires: iso-codes |
---|
| 60 | |
---|
| 61 | %description |
---|
| 62 | The control-center package provides the Cinnamon Control Center utilities |
---|
| 63 | that allow you to setup and configure your system's Cinnamon environment |
---|
| 64 | (things like the desktop background and theme, the screensaver, |
---|
| 65 | the window manager, system sounds, and mouse behavior). |
---|
| 66 | |
---|
| 67 | |
---|
| 68 | %description -l ja |
---|
| 69 | Cinnamon-control-center パッケージには、あなたの Cinnamon 環境の設定に使う |
---|
| 70 | Cinnamon コントロールセンター・ユーティリティが含まれています。 |
---|
| 71 | (これを使うと、デスクトップの壁紙や、テーマ、スクリーンセーバ、ウィン |
---|
| 72 | ドウマネージャ、サウンド、マウス、その他いろいろな設定を行えます。) |
---|
| 73 | |
---|
| 74 | %package devel |
---|
| 75 | Summary: Development files for Cinnamon Control Center |
---|
| 76 | Summary(ja): Cinnamon コントロールセンターの開発用ファイル |
---|
| 77 | Group: Development/Libraries |
---|
| 78 | Requires: %{name} = %{version}-%{release} |
---|
| 79 | |
---|
| 80 | %description devel |
---|
| 81 | Development tool for Cinnamon Control Center |
---|
| 82 | |
---|
| 83 | %descriotion -l ja devel |
---|
| 84 | Cinnamon コントロールセンターの開発用ファイルが含まれています。 |
---|
| 85 | |
---|
| 86 | %prep |
---|
| 87 | %setup -q |
---|
| 88 | |
---|
| 89 | %build |
---|
| 90 | autoreconf -if |
---|
| 91 | %configure --disable-static \ |
---|
| 92 | --disable-update-mimedb \ |
---|
| 93 | --with-libsocialweb=no |
---|
| 94 | CFLAGS="$RPM_OPT_FLAGS -Wno-error" |
---|
| 95 | |
---|
| 96 | # drop unneeded direct library deps with --as-needed |
---|
| 97 | # libtool doesn't make this easy, so we do it the hard way |
---|
| 98 | 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 |
---|
| 99 | |
---|
| 100 | make %{?_smp_mflags} |
---|
| 101 | |
---|
| 102 | %install |
---|
| 103 | rm -rf $RPM_BUILD_ROOT |
---|
| 104 | |
---|
| 105 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 106 | |
---|
| 107 | #desktop-file-install --delete-original \ |
---|
| 108 | # --dir $RPM_BUILD_ROOT%{_datadir}/applications \ |
---|
| 109 | # --add-only-show-in GNOME \ |
---|
| 110 | # $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop |
---|
| 111 | |
---|
| 112 | # We don't want these |
---|
| 113 | rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/autostart |
---|
| 114 | rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/cursor-fonts |
---|
| 115 | |
---|
| 116 | # remove useless libtool archive files |
---|
| 117 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 118 | |
---|
| 119 | # don't package mime caches |
---|
| 120 | rm -f $RPM_BUILD_ROOT%{_datadir}/mime/XMLnamespaces |
---|
| 121 | rm -f $RPM_BUILD_ROOT%{_datadir}/mime/aliases |
---|
| 122 | rm -f $RPM_BUILD_ROOT%{_datadir}/mime/application/x-gnome-theme-package.xml |
---|
| 123 | rm -f $RPM_BUILD_ROOT%{_datadir}/mime/globs |
---|
| 124 | rm -f $RPM_BUILD_ROOT%{_datadir}/mime/magic |
---|
| 125 | rm -f $RPM_BUILD_ROOT%{_datadir}/mime/subclasses |
---|
| 126 | rm -f $RPM_BUILD_ROOT%{_datadir}/mime/mime.cache |
---|
| 127 | rm -f $RPM_BUILD_ROOT%{_datadir}/applications/mimeinfo.cache |
---|
| 128 | |
---|
| 129 | %find_lang %{name}-timezones |
---|
| 130 | |
---|
| 131 | %clean |
---|
| 132 | rm -rf $RPM_BUILD_ROOT |
---|
| 133 | |
---|
| 134 | %post |
---|
| 135 | /sbin/ldconfig |
---|
| 136 | |
---|
| 137 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 138 | update-mime-database %{_datadir}/mime > /dev/null |
---|
| 139 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 140 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
| 141 | /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
| 142 | fi |
---|
| 143 | |
---|
| 144 | %postun |
---|
| 145 | /sbin/ldconfig |
---|
| 146 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 147 | update-mime-database %{_datadir}/mime > /dev/null |
---|
| 148 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 149 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
| 150 | /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
| 151 | fi |
---|
| 152 | |
---|
| 153 | %files -f %{name}-timezones.lang |
---|
| 154 | %defattr(-, root, root) |
---|
| 155 | %doc AUTHORS COPYING ChangeLog NEWS README |
---|
| 156 | %{_sysconfdir}/xdg/autostart/cinnamon-sound-applet.desktop |
---|
| 157 | %{_sysconfdir}/xdg/menus/cinnamoncc.menu |
---|
| 158 | %{_bindir}/%{name} |
---|
| 159 | %{_bindir}/cinnamon-sound-applet |
---|
| 160 | %{_libdir}/libcinnamon-control-center.so.* |
---|
| 161 | %{_libdir}/%{name}-1 |
---|
| 162 | %{_datadir}/applications/*.desktop |
---|
| 163 | %{_datadir}/%{name} |
---|
| 164 | %{_datadir}/desktop-directories/cinnamoncc.directory |
---|
| 165 | %{_datadir}/icons/hicolor/*/*/* |
---|
| 166 | %{_datadir}/polkit-1/rules.d/%{name}.rules |
---|
| 167 | |
---|
| 168 | %files devel |
---|
| 169 | %defattr(-, root, root) |
---|
| 170 | %{_includedir}/cinnamon-control-center-1/ |
---|
| 171 | %{_libdir}/libcinnamon-control-center.so |
---|
| 172 | %{_libdir}/pkgconfig/libcinnamon-control-center.pc |
---|
| 173 | |
---|
| 174 | |
---|
| 175 | %changelog |
---|
[8962] | 176 | * Sun Sep 21 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.11-2 |
---|
| 177 | - change BuildRequires: upower-devel instead of libupower09-devel |
---|
| 178 | |
---|
[8925] | 179 | * Sun Aug 31 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.11-1 |
---|
| 180 | - new upstream release |
---|
| 181 | |
---|
[8721] | 182 | * Wed Jul 02 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.10-1 |
---|
| 183 | - new upstream release |
---|
| 184 | |
---|
[8374] | 185 | * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.3-1 |
---|
| 186 | - initial build |
---|
| 187 | |
---|