Browse Source

add gnome-color-manager and shared-color-profiles

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@1015 ec354946-7b23-47d6-9f5a-488ba84defc7
Takemikaduchi 14 years ago
parent
commit
576d4d5f2a

+ 175 - 0
g/gnome-color-manager/gnome-color-manager-vl.spec

@@ -0,0 +1,175 @@
+%{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+
+Summary:   Color management tools for GNOME
+Name:      gnome-color-manager
+Version:   2.30.1
+Release:   1%{?_dist_release}
+License:   GPLv2+
+Group:     Applications/System
+URL:       http://projects.gnome.org/gnome-color-manager/
+Source0:   http://download.gnome.org/sources/gnome-color-manager/2.30/%{name}-%{version}.tar.bz2
+
+Requires:  gnome-icon-theme
+Requires:  shared-mime-info
+Requires:  shared-color-profiles
+Requires(pre):    GConf2
+Requires(post):   GConf2
+Requires(preun):  GConf2
+
+BuildRequires: gtk2-devel >= 2.16.0
+BuildRequires: scrollkeeper
+BuildRequires: gnome-doc-utils >= 0.3.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+BuildRequires: libtool
+BuildRequires: vte-devel
+BuildRequires: gnome-doc-utils
+BuildRequires: unique-devel >= 1.0.0
+BuildRequires: intltool
+BuildRequires: libgudev1-devel
+BuildRequires: dbus-glib-devel >= 0.73
+BuildRequires: libXxf86vm-devel
+BuildRequires: libXrandr-devel
+BuildRequires: gnome-desktop-devel
+BuildRequires: lcms-devel
+BuildRequires: cups-devel
+BuildRequires: sane-devel
+BuildRequires: libtiff-devel
+BuildRequires: libcanberra-devel
+BuildRequires: libnotify-devel
+BuildRequires: GConf2
+
+%description
+gnome-color-manager is a session framework that makes it easy to manage, install
+and generate color profiles in the GNOME desktop.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-scrollkeeper --disable-schemas-install
+make %{?_smp_mflags}
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+for i in gcm-prefs gcm-import ; do
+  desktop-file-install --delete-original                                \
+    --dir=$RPM_BUILD_ROOT%{_datadir}/applications/                      \
+    $RPM_BUILD_ROOT%{_datadir}/applications/$i.desktop
+done
+
+%find_lang %name --with-gnome
+
+%post
+export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gnome-color-manager.schemas > /dev/null
+
+touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
+update-desktop-database %{_datadir}/applications &> /dev/null || :
+update-mime-database %{_datadir}/mime &> /dev/null || :
+
+%pre
+if [ "$1" -gt 1 ]; then
+    export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+    gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/gnome-color-manager.schemas > /dev/null
+fi
+
+%preun
+if [ "$1" -eq 0 ]; then
+    export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+    gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/gnome-color-manager.schemas > /dev/null
+fi
+
+
+%postun
+if [ $1 -eq 0 ]; then
+    touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
+fi
+update-desktop-database %{_datadir}/applications &> /dev/null || :
+update-mime-database %{_datadir}/mime &> /dev/null || :
+
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
+
+%files -f %{name}.lang
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING NEWS README
+/lib/udev/rules.d/*.rules
+%{_bindir}/gcm-*
+%dir %{_datadir}/gnome-color-manager
+%{_datadir}/gnome-color-manager/gcm-*.ui
+%dir %{_datadir}/gnome-color-manager/targets
+%dir %{_datadir}/gnome-color-manager/icons
+%{_datadir}/gnome-color-manager/targets/*.png
+%{_datadir}/gnome-color-manager/icons/*.svg
+%{_datadir}/man/man1/*.1.gz
+%{_datadir}/icons/hicolor/*/*/*.png
+%{_datadir}/icons/hicolor/scalable/*/*.svg*
+%config(noreplace) %{_sysconfdir}/gconf/schemas/*.schemas
+%{_datadir}/applications/gcm-prefs.desktop
+%{_datadir}/applications/gcm-import.desktop
+%{_sysconfdir}/xdg/autostart/*.desktop
+%{_datadir}/dbus-1/services/org.gnome.ColorManager.service
+%{_sbindir}/gcm-install-system-wide
+%{_datadir}/polkit-1/actions/org.gnome.color.policy
+
+# this is probably better in a shared package
+%dir %{_localstatedir}/lib/color
+
+%changelog
+* Sat May 15 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1
+- Initial build for Vine Linux
+
+
+* Fri Apr  2 2010 Matthias Clasen <mclasen@redhat.com> 2.30.0-4
+- BR GConf to make the macros work
+- Modernize icon cache handling
+
+* Wed Mar 31 2010 Richard Hughes <richard@hughsie.com> 2.30.0-3
+- Fix up a scriptlet problem.
+- Resolves: #578611
+
+* Mon Mar 29 2010 Richard Hughes <richard@hughsie.com> 2.30.0-2
+- Add libnotify BR.
+
+* Mon Mar 29 2010 Richard Hughes <richard@hughsie.com> 2.30.0-1
+- New upstream release.
+
+* Tue Mar 09 2010 Richard Hughes <richard@hughsie.com> 2.29.4-2
+- Update to the latest version of the Fedora Packaging Guidelines
+- Remove the custom BuildRoot
+- Do not clean the buildroot before install
+- Use the gconf_schema defines for the GConf schemas
+- Remove some over-zealous Requires that are already picked up by rpm.
+- Resolves #571658
+
+* Mon Mar 01 2010 Richard Hughes <richard@hughsie.com> 2.29.4-1
+- New upstream release.
+
+* Mon Feb 22 2010 Richard Hughes <richard@hughsie.com> 2.29.4-0.1.20100222
+- Another new snapshot from upstream with lots of bugs fixed from the Fedora
+  test day.
+
+* Wed Feb 18 2010 Richard Hughes <richard@hughsie.com> 2.29.4-0.1.20100218
+- Another new snapshot from upstream for the Fedora test day.
+
+* Wed Feb 17 2010 Richard Hughes <richard@hughsie.com> 2.29.4-0.1.20100217
+- New snapshot from upstream for the Fedora test day.
+
+* Mon Feb 01 2010 Richard Hughes <richard@hughsie.com> 2.29.3-1
+- New upstream release.
+
+* Mon Jan 18 2010 Matthias Clasen <mclasen@redhat.com> 2.29.2-3
+- Rebuild against new gnome-desktop
+
+* Mon Jan 04 2010 Richard Hughes <richard@hughsie.com> 2.29.2-2
+- Rebuild, hopefully koji has now a working glibc.
+
+* Mon Jan 04 2010 Richard Hughes <richard@hughsie.com> 2.29.2-1
+- New upstream release.
+
+* Fri Dec 04 2009 Richard Hughes <richard@hughsie.com> 2.29.1-1
+- Initial spec for review.
+

+ 57 - 0
s/shared-color-profiles/shared-color-profiles-vl.spec

@@ -0,0 +1,57 @@
+%define pkg_version 0.1.1
+%define pkg_release 1%{?_dist_release}
+
+Summary:	Color profiles from contributors for color calibration
+Name:		shared-color-profiles
+Version:	%{pkg_version}
+Release:	%{pkg_release}
+Source0:	http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.gz
+License:	GPLv2, zlib
+Group:		User Interface/Desktops 
+URL:		http://github.com/hughsie/shared-color-profiles 
+
+BuildArch: noarch
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+
+Vendor: Project Vine
+Distribution: Vine Linux
+Packager: Takemikaduchi
+
+
+%description
+Shared Color Profiles contain ICC profiles from different vendors that are all
+free, either public domain, CC-BY-SA or CC-BY-ND.
+
+These include a Adobe RGB compatible and sRGB compatible, as well as various
+user or manufacturer supplied profiles.
+
+
+%prep
+%setup -q
+
+
+%build
+%configure
+%{__make} %{?_smp_mflags}
+
+
+%install
+%{__rm} -rf ${RPM_BUILD_ROOT}
+%{__make} install DESTDIR=${RPM_BUILD_ROOT}
+
+
+%clean
+%{__rm} -rf ${RPM_BUILD_ROOT}
+
+
+%files
+%defattr(-,root,root)
+%doc COPYING ChangeLog NEWS README
+%{_datadir}/color/icc
+%{_datadir}/shared-color-profiles
+
+
+%changelog
+* Sat May 15 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.1-1
+- initial build for Vine Linux
+

+ 4 - 1
s/shared-mime-info/shared-mime-info-vl.spec

@@ -1,7 +1,7 @@
 Summary: Shared MIME information database
 Summary(ja): 共有 MIME 情報データベース
 Name: shared-mime-info
-Version: 0.51
+Version: 0.71
 Release: 1%{?_dist_release}
 License: GPL
 Group: User Interface/Desktops
@@ -61,6 +61,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man*/*
 
 %changelog
+* Sat May 15 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.71-1
+- new upstream release
+
 * Mon Aug 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.51-1
 - new upstream release
 - sepc in UTF-8