1 | Summary: Common libraries for Cinnamon desktop |
---|
2 | Summary(ja): Cinnamon デスクトップ用共通ライブラリ |
---|
3 | Name: cinnamon-desktop |
---|
4 | Version: 2.2.0 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | URL: https://github.com/linuxmint/cinnamon-desktop |
---|
7 | |
---|
8 | Source0: %{name}-%{version}.tar.gz |
---|
9 | |
---|
10 | Patch0: cinnamon-desktop-2.2.0-revert-gnome-bg.patch |
---|
11 | |
---|
12 | # for Vine Linux |
---|
13 | Patch1000: cinnamon-desktop-2.2.0-vine-settings.patch |
---|
14 | |
---|
15 | License: GPL |
---|
16 | Group: User Interface/Desktops |
---|
17 | |
---|
18 | Vendor: Project Vine |
---|
19 | Distribution: Vine Linux |
---|
20 | Packager: Takemikaduchi |
---|
21 | |
---|
22 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
23 | |
---|
24 | # Requires for Vine |
---|
25 | #Requires: ibus-gtk3 |
---|
26 | #Requires: gnome-icon-theme-symbolic |
---|
27 | #Requires: gnome-themes |
---|
28 | #Requires: gnome-themes-standard |
---|
29 | #Requires: gnome-themes-vine |
---|
30 | #Requires: gsettings-desktop-schemas |
---|
31 | |
---|
32 | BuildRequires: glib2-devel >= 2.32 |
---|
33 | BuildRequires: gtk3-devel >= 3.3.6 |
---|
34 | BuildRequires: libXrandr-devel |
---|
35 | BuildRequires: libxkbfile-devel |
---|
36 | BuildRequires: xkeyboard-config |
---|
37 | BuildRequires: gnome-common |
---|
38 | BuildRequires: autoconf, automake |
---|
39 | |
---|
40 | |
---|
41 | %description |
---|
42 | cinnamon-desktop contains the libcinnamon-desktop library, the cinnamon-about |
---|
43 | program as well as some desktop-wide documents. |
---|
44 | |
---|
45 | The libcinnamon-desktop library provides API shared by several applications |
---|
46 | on the desktop, but that cannot live in the platform for various |
---|
47 | reasons. There is no API or ABI guarantee, although we are doing our |
---|
48 | best to provide stability. Documentation for the API is available with |
---|
49 | gtk-doc. |
---|
50 | |
---|
51 | |
---|
52 | %package devel |
---|
53 | Summary: Libraries and headers for libcinnamon-desktop |
---|
54 | Summary(ja): libcinnamon-desktop の開発用ライブラリおよびヘッダファイル |
---|
55 | Group: Development/Libraries |
---|
56 | Requires: %{name} = %{version}-%{release} |
---|
57 | |
---|
58 | Requires: glib2-devel >= %{glib2_version} |
---|
59 | Requires: gtk3-devel >= %{gtk3_version} |
---|
60 | |
---|
61 | |
---|
62 | %description devel |
---|
63 | Libraries and header files for the GNOME-internal private library |
---|
64 | libcinnamon-desktop |
---|
65 | |
---|
66 | |
---|
67 | %prep |
---|
68 | %setup -q |
---|
69 | %patch0 -p1 |
---|
70 | %patch1000 -p1 -b .vine |
---|
71 | |
---|
72 | %build |
---|
73 | NOCONFIGURE=1 ./autogen.sh |
---|
74 | %configure --disable-static |
---|
75 | make %{?_smp_mflags} |
---|
76 | |
---|
77 | %install |
---|
78 | rm -rf $RPM_BUILD_ROOT |
---|
79 | |
---|
80 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
81 | |
---|
82 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
83 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.a |
---|
84 | |
---|
85 | %find_lang %{name} |
---|
86 | |
---|
87 | %clean |
---|
88 | rm -rf $RPM_BUILD_ROOT |
---|
89 | |
---|
90 | %post -p /sbin/ldconfig |
---|
91 | |
---|
92 | %postun -p /sbin/ldconfig |
---|
93 | |
---|
94 | |
---|
95 | %files -f %{name}.lang |
---|
96 | %defattr(-,root,root,-) |
---|
97 | %doc AUTHORS COPYING ChangeLog NEWS README |
---|
98 | %{_libdir}/libcinnamon-desktop.so.* |
---|
99 | %{_libdir}/girepository-1.0/CDesktopEnums-3.0.typelib |
---|
100 | %{_libdir}/girepository-1.0/CinnamonDesktop-3.0.typelib |
---|
101 | %{_libexecdir}/cinnamon-rr-debug |
---|
102 | %{_datadir}/glib-2.0/schemas/*.xml |
---|
103 | %{_datadir}/libcinnamon-desktop/pnp.ids |
---|
104 | |
---|
105 | %files devel |
---|
106 | %defattr(-,root,root,-) |
---|
107 | %{_includedir}/%{name} |
---|
108 | %{_libdir}//libcinnamon-desktop.so |
---|
109 | %{_libdir}/pkgconfig/%{name}.pc |
---|
110 | %{_datadir}/gir-1.0/CDesktopEnums-3.0.gir |
---|
111 | %{_datadir}/gir-1.0/CinnamonDesktop-3.0.gir |
---|
112 | |
---|
113 | |
---|
114 | %changelog |
---|
115 | * Tue Apr 22 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.0-1 |
---|
116 | - initial build |
---|
117 | |
---|