source: projects/specs/trunk/c/colord/colord-vl.spec @ 4632

Revision 4632, 5.6 KB checked in by Takemikaduchi, 13 years ago (diff)

colord,gnokii,gnome-phone-manager: new upstream release, others: rebuild with evolution-data-server-3.1.4

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Summary:   Color daemon
4Name:      colord
5Version:   0.1.11
6Release:   1%{?_dist_release}
7Group:     System Environment/Daemons
8License:   GPLv2+ and LGPLv2+
9URL:       http://gitorious.org/colord
10Source0:   http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
11
12BuildRequires: dbus-devel
13BuildRequires: docbook-utils
14BuildRequires: gettext
15BuildRequires: glib2-devel
16BuildRequires: intltool
17BuildRequires: lcms2-devel
18BuildRequires: libgudev1-devel
19BuildRequires: libusb1-devel
20BuildRequires: polkit-devel
21BuildRequires: sane-devel
22BuildRequires: sqlite3-devel
23Requires: shared-color-profiles
24
25Vendor: Project Vine
26Distribution: Vine Linux
27Packager: Takemikaduchi
28
29%description
30colord is a low level system activated daemon that maps color devices
31to color profiles in the system context.
32
33%package devel
34Summary: Development package for %{name}
35Group:   Development/Libraries
36Requires: %{name} = %{version}-%{release}
37
38%description devel
39Files for development with %{name}.
40
41# compat32
42%package -n compat32-%{name}
43Summary:  Color daemon
44Group:    System Environment/Daemons
45Requires: %{name} = %{version}-%{release}
46
47%description -n compat32-%{name}
48colord is a low level system activated daemon that maps color devices
49to color profiles in the system context.
50
51%package -n compat32-%{name}-devel
52Summary: Development package for %{name}
53Group:   Development/Libraries
54Requires: compat32-%{name} = %{version}-%{release}
55
56%description -n compat32-%{name}-devel
57Files for development with %{name}.
58
59
60%prep
61%setup -q
62
63%build
64%configure \
65        --disable-static \
66        --disable-rpath \
67        --disable-examples \
68        --disable-dependency-tracking
69
70sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
71sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
72
73make %{?_smp_mflags}
74
75%install
76make install DESTDIR=$RPM_BUILD_ROOT
77
78# Remove static libs and libtool archives.
79find %{buildroot} -name '*.la' -exec rm -f {} ';'
80find %{buildroot} -name '*.a' -exec rm -f {} ';'
81
82# databases
83touch $RPM_BUILD_ROOT%{_localstatedir}/lib/colord/mapping.db
84touch $RPM_BUILD_ROOT%{_localstatedir}/lib/colord/storage.db
85
86%find_lang %{name}
87
88%post -p /sbin/ldconfig
89
90%postun -p /sbin/ldconfig
91
92%post -n compat32-%{name} -p /sbin/ldconfig
93
94%postun -n compat32-%{name} -p /sbin/ldconfig
95
96%files -f %{name}.lang
97%defattr(-,root,root,-)
98%doc README AUTHORS NEWS COPYING
99%{_libexecdir}/colord
100%dir %{_localstatedir}/lib/colord
101%{_bindir}/*
102%{_sysconfdir}/dbus-1/system.d/org.freedesktop.ColorManager.conf
103%{_datadir}/dbus-1/interfaces/org.freedesktop.ColorManager*.xml
104%{_datadir}/polkit-1/actions/org.freedesktop.color.policy
105%{_datadir}/dbus-1/system-services/org.freedesktop.ColorManager.service
106%{_datadir}/man/man1/*.1.gz
107%{_libdir}/libcolord.so.*
108%config %{_sysconfdir}/colord.conf
109/lib/udev/rules.d/*.rules
110%dir %{_datadir}/color/icc/colord
111%{_datadir}/color/icc/colord/*.ic?
112%{_libdir}/colord-sensors
113%ghost %{_localstatedir}/lib/colord/*.db
114
115%files devel
116%defattr(-,root,root,-)
117%{_includedir}/colord-1
118%{_libdir}/libcolord.so
119%{_libdir}/pkgconfig/colord.pc
120
121# compat32
122%if %{build_compat32}
123%files -n compat32-%{name}
124%defattr(-,root,root,-)
125%{_libdir}/libcolord.so.*
126
127%files -n compat32-%{name}-devel
128%defattr(-,root,root,-)
129%{_libdir}/libcolord.so
130%{_libdir}/pkgconfig/colord.pc
131%endif
132
133%changelog
134* Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp 0.1.11-1
135- new upstream release
136- create compat32 sub packages
137
138* Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp 0.1.10-1
139- initial build for Vine Linux
140
141
142* Wed Jul 06 2011 Richard Hughes <richard@hughsie.com> 0.1.10-1
143- New upstream version
144
145* Mon Jun 13 2011 Richard Hughes <richard@hughsie.com> 0.1.9-1
146- New upstream version
147
148* Fri Jun 02 2011 Richard Hughes <richard@hughsie.com> 0.1.8-1
149- New upstream version
150- Add a webcam device kind
151- Add a timestamp when making profiles default
152- Add support for reading and writing ICC profile metadata
153- Allow the client to pass file descriptors out of band to CreateProfile
154- Prettify the device vendor and model names
155- Split out the sensors into runtime-loadable shared objects
156- Provide some GIO async variants for the methods in CdClient
157- Ensure GPhoto2 devices get added to the device list
158
159* Fri May 06 2011 Richard Hughes <richard@hughsie.com> 0.1.7-1
160- New upstream version.
161- Create /var/lib/colord at buildtime not runtime for SELinux
162- Ensure profiles with embedded profile checksums are parsed correctly
163- Move the colorimeter rules to be run before 70-acl.rules
164- Stop watching the client when the sensor is finalized
165- Ensure the source is destroyed when we unref CdUsb to prevent a crash
166- Only enable the volume mount tracking when searching volumes
167
168* Tue Apr 26 2011 Richard Hughes <rhughes@redhat.com> 0.1.6-2
169- Own /var/lib/colord and /var/lib/colord/*.db
170
171* Sun Apr 24 2011 Richard Hughes <richard@hughsie.com> 0.1.6-1
172- New upstream version.
173
174* Thu Mar 31 2011 Richard Hughes <richard@hughsie.com> 0.1.5-1
175- New upstream version.
176
177* Wed Mar 09 2011 Richard Hughes <richard@hughsie.com> 0.1.4-1
178- New upstream version.
179
180* Mon Feb 28 2011 Richard Hughes <richard@hughsie.com> 0.1.3-1
181- New upstream version.
182
183* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-3
184- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
185
186* Fri Jan 28 2011 Richard Hughes <richard@hughsie.com> 0.1.1-2
187- Rebuild in the vain hope koji isn't broken today.
188
189* Wed Jan 26 2011 Richard Hughes <richard@hughsie.com> 0.1.1-1
190- New upstream version.
191
192* Thu Jan 13 2011 Richard Hughes <richard@hughsie.com> 0.1.0-1
193- Initial version for Fedora package review.
Note: See TracBrowser for help on using the repository browser.