1 Summary: An extension of GTK
7 URL: http://elementaryos.org/
8 Source0: https://launchpad.net/granite/0.x/%{version}/+download/%{name}-%{version}.tar.gz
9 # Source0-md5: 1bc0bc2df9176940097a26f3d031034a
11 BuildRequires: glib2-devel
12 BuildRequires: gobject-introspection-devel
13 BuildRequires: gtk+3-devel
14 BuildRequires: libgee0.6-devel
15 BuildRequires: libstdc++-devel
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 Granite is an extension of GTK. Among other things, it provides the
21 commonly-used widgets such as modeswitchers, welcome screens,
22 AppMenus, search bars, and more found in elementary apps.
25 Summary: Header files for libgranite
26 Group: Development/Libraries
27 Requires: %{name} = %{version}-%{release}
30 Granite is an extension of GTK. Among other things, it provides the
31 commonly-used widgets such as modeswitchers, welcome screens,
32 AppMenus, search bars, and more found in elementary apps.
34 This package contains the header files
46 rm -rf $RPM_BUILD_ROOT
47 %{__make} install -C build \
48 DESTDIR=$RPM_BUILD_ROOT
50 %if "%{_lib}" != "lib"
51 mv $RPM_BUILD_ROOT%{_prefix}/lib $RPM_BUILD_ROOT%{_libdir}
57 rm -rf $RPM_BUILD_ROOT
59 %post -p /sbin/ldconfig
60 %postun -p /sbin/ldconfig
62 %files -f %{name}.lang
63 %defattr(644,root,root,755)
65 %attr(755,root,root) %{_bindir}/granite-demo
66 %attr(755,root,root) %{_libdir}/libgranite.so.*.*.*
67 %attr(755,root,root) %ghost %{_libdir}/libgranite.so.0
68 %{_iconsdir}/hicolor/*/actions/application-menu.svg
69 %{_iconsdir}/hicolor/*/actions/application-menu-symbolic.svg
70 %{_libdir}/girepository-1.0/Granite-0.1.1.typelib
71 %{_datadir}/vala/vapi/granite.*
74 %defattr(644,root,root,755)
75 %{_includedir}/%{name}
76 %{_pkgconfigdir}/granite.pc
77 %{_libdir}/libgranite.so
78 %{_datadir}/gir-1.0/Granite-0.1.1.gir