Compare commits
No commits in common. "rawhide" and "f15" have entirely different histories.
5 changed files with 105 additions and 3 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
/xcm-0.3.0.tar.gz
|
||||
/xcm-0.4.0.tar.gz
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
2016-06-13: Retired because of broken deps in preparation of Fedora 24
|
||||
Reference: https://fedorahosted.org/rel-eng/ticket/6416
|
||||
|
||||
1
sources
Normal file
1
sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
96c39df0859fddf1ff3d0b7a972dc38b xcm-0.4.0.tar.gz
|
||||
23
xcm-0.3.0-pkgconfig.patch
Normal file
23
xcm-0.3.0-pkgconfig.patch
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
diff -up xcm-0.3.0/configure.pc xcm-0.3.0/configure
|
||||
diff -up xcm-0.3.0/configure_tests.sh.pc xcm-0.3.0/configure_tests.sh
|
||||
--- xcm-0.3.0/configure_tests.sh.pc 2010-10-07 11:16:40.000000000 +0200
|
||||
+++ xcm-0.3.0/configure_tests.sh 2010-11-07 21:40:20.000000000 +0100
|
||||
@@ -267,14 +267,14 @@ fi
|
||||
if [ -n "$OYRANOS" ] && [ "$OYRANOS" != "0" ]; then
|
||||
OY_=`oyranos-config 2>>$CONF_LOG`
|
||||
if [ $? = 0 ]; then
|
||||
- echo_="Oyranos `oyranos-config --version` detected"; echo "$echo_" >> $CONF_LOG; test -n "$ECHO" && $ECHO "$echo_"
|
||||
+ echo_="Oyranos `pkg-config --modversion oyranos` detected"; echo "$echo_" >> $CONF_LOG; test -n "$ECHO" && $ECHO "$echo_"
|
||||
echo "#define HAVE_OY 1" >> $CONF_H
|
||||
echo "OY = 1" >> $CONF
|
||||
- echo "OYRANOS_H = `oyranos-config --cflags`" >> $CONF
|
||||
+ echo "OYRANOS_H = `pkg-config --cflags oyranos`" >> $CONF
|
||||
if [ -f /usr/X11R6/include/X11/extensions/xf86vmode.h ]; then
|
||||
- echo "OYRANOS_LIBS = `oyranos-config --ldflags`" >> $CONF
|
||||
+ echo "OYRANOS_LIBS = `pkg-config --libs oyranos`" >> $CONF
|
||||
else
|
||||
- echo "OYRANOS_LIBS = `oyranos-config --ldflags`" >> $CONF
|
||||
+ echo "OYRANOS_LIBS = `pkg-config --libs oyranos`" >> $CONF
|
||||
fi
|
||||
else
|
||||
if [ $OYRANOS -eq 1 ]; then
|
||||
79
xcm.spec
Normal file
79
xcm.spec
Normal file
|
|
@ -0,0 +1,79 @@
|
|||
%define udev_scriptdir /lib/udev
|
||||
|
||||
Name: xcm
|
||||
Version: 0.4.0
|
||||
Release: 2%{?dist}
|
||||
Summary: X Color Management tools
|
||||
|
||||
Group: System Environment/Base
|
||||
License: MIT
|
||||
URL: http://www.oyranos.org
|
||||
Source0: http://download.sourceforge.net/oyranos/Xcm/xcm-%{version}.tar.gz
|
||||
Patch0: xcm-0.3.0-pkgconfig.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: libXcm-devel >= 0.4.0
|
||||
BuildRequires: oyranos-devel >= 0.1.10
|
||||
BuildRequires: libXfixes-devel
|
||||
BuildRequires: libXmu-devel
|
||||
BuildRequires: xorg-x11-proto-devel
|
||||
BuildRequires: xorg-x11-xtrans-devel
|
||||
|
||||
Requires: oyranos
|
||||
|
||||
|
||||
%description
|
||||
The Xcm tools are color management helpers for Xorg.
|
||||
A EDID parser and a color management events observer are included.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .pc
|
||||
|
||||
|
||||
%build
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT%{udev_scriptdir}/rules.d/
|
||||
make install-main DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
#Remove pre-installed doc
|
||||
rm -rf $RPM_BUILD_ROOT%{_docdir}/xcm
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING ChangeLog README
|
||||
%{_bindir}/xcmevents
|
||||
%{_bindir}/xcmedid
|
||||
%{_bindir}/xcmddc
|
||||
%{udev_scriptdir}/rules.d/90-xcm-i2c.rules
|
||||
%{_mandir}/man1/*.1.*
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Fri Jan 07 2011 Nicolas Chauvet <kwizart@gmail.com> - 0.4.0-1
|
||||
- Update to 0.4.0
|
||||
|
||||
* Wed Dec 15 2010 Nicolas Chauvet <kwizart@gmail.com> - 0.3.0-2
|
||||
- Add Requires oyranos
|
||||
|
||||
* Sun Nov 07 2010 Nicolas Chauvet <kwizart@gmail.com> - 0.3.0-1
|
||||
- Rewrite for Fedora
|
||||
|
||||
* Thu Oct 07 2010 Kai-Uwe Behrmann
|
||||
- install EDID parser tool
|
||||
- install xcmsevents tool
|
||||
Loading…
Add table
Add a link
Reference in a new issue