/[pkgs]/devel/OpenEXR_CTL/OpenEXR_CTL.spec
ViewVC logotype

Contents of /devel/OpenEXR_CTL/OpenEXR_CTL.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Tue Oct 20 19:14:08 2009 UTC (5 weeks ago) by kwizart
Branch: MAIN
CVS Tags: OpenEXR_CTL-1_0_1-9_fc13, HEAD
Changes since 1.7: +4 -1 lines
Rebuild for F-12
1 Name: OpenEXR_CTL
2 Version: 1.0.1
3 Release: 9%{?dist}
4 Summary: A simplified OpenEXR interface to CTL
5
6 Group: System Environment/Libraries
7 License: AMPAS BSD
8 URL: http://sourceforge.net/projects/ampasctl/
9 Source0: http://downloads.sourceforge.net/ampasctl/openexr_ctl-%{version}.tar.gz
10 Patch0: openexr_ctl-1.0.1-gcc43.patch
11 Patch1: openexr_ctl-1.0.1-pkgconfig.patch
12 Patch2: openexr_ctl-1.0.1-configure_gcc43.patch
13 Patch3: openexr_ctl-1.0.1-gcc44.patch
14 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
15
16 #BuildRequires: libtool
17 BuildRequires: CTL-devel
18 BuildRequires: OpenEXR-devel
19
20
21
22 %description
23 IlmImfCtl provides a simplified OpenEXR interface to CTL
24
25 exrdpx is an initial version of a CTL-driven file converter
26 that translates DPX files into OpenEXR files and vice versa.
27 The conversion between the DPX and OpenEXR color spaces is
28 handled by CTL transforms.
29
30 exr_ctl_exr is an initial version of a program that can bake
31 the effect of a series of CTL transforms into the pixels of
32 an OpenEXR file.
33
34
35 %package libs
36 Summary: Library for %{name}
37 Group: System Environment/Libraries
38
39 %description libs
40 The %{name}-libs package contains library for %{name}.
41
42 %package devel
43 Summary: Development files for %{name}
44 Group: Development/Libraries
45 Requires: %{name}-libs = %{version}-%{release}
46 Requires: OpenEXR-devel
47 Requires: CTL-devel
48
49 %description devel
50 The %{name}-devel package contains libraries and header files for
51 developing applications that use %{name}.
52
53
54
55 %prep
56 %setup -q -n openexr_ctl-%{version}
57 %patch0 -p1 -b .gcc43
58 %patch1 -p1 -b .pkgconfig
59 %patch2 -p1 -b .conf_gcc43
60 %patch3 -p1 -b .gcc44
61 # Needed to disable rpath from configure
62 #autoreconf
63
64 %build
65 %configure --disable-static
66
67 # Remove rpath from libtool
68 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
69 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
70
71 # clean unused-direct-shlib-dependencies
72 sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
73
74 make %{?_smp_mflags}
75
76
77 %install
78 rm -rf $RPM_BUILD_ROOT
79 make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
80 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
81
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86
87 %post libs -p /sbin/ldconfig
88
89 %postun libs -p /sbin/ldconfig
90
91
92 %files
93 %defattr(-,root,root,-)
94 %{_bindir}/exr_ctl_exr
95 %{_bindir}/exrdpx
96
97 %files libs
98 %defattr(-,root,root,-)
99 %doc AUTHORS ChangeLog COPYING NEWS README
100 %{_libdir}/libIlmImfCtl.so.*
101 %dir %{_libdir}/CTL
102 %{_libdir}/CTL/*.ctl
103
104 %files devel
105 %defattr(-,root,root,-)
106 %{_includedir}/OpenEXR/ImfCtlApplyTransforms.h
107 %{_libdir}/libIlmImfCtl.so
108 %{_libdir}/pkgconfig/OpenEXR_CTL.pc
109
110
111 %changelog
112 * Tue Oct 20 2009 kwizart < kwizart at gmail.com > - 1.0.1-9
113 - Rebuild for F-12
114
115 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-8
116 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
117
118 * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-7
119 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
120
121 * Thu Feb 12 2009 kwizart < kwizart at gmail.com > - 1.0.1-6
122 - Rebuild for gcc44
123
124 * Tue Feb 3 2009 kwizart < kwizart at gmail.com > - 1.0.1-5
125 - Own %%libdir/CTL - Fix #473596
126
127 * Sat Feb 9 2008 kwizart < kwizart at gmail.com > - 1.0.1-4
128 - Rebuild for gcc43
129
130 * Wed Jan 16 2008 kwizart < kwizart at gmail.com > - 1.0.1-3
131 - Remove BR/R OpenEXR
132
133 * Tue Jan 8 2008 kwizart < kwizart at gmail.com > - 1.0.1-2
134 - Fix rpath
135 - Fix gcc43
136 - Fix pkgconfig
137 - Fix unused-direct-shlib-dependencies
138
139 * Mon Nov 26 2007 kwizart < kwizart at gmail.com > - 1.0.1-1
140 - Initial package for Fedora
141

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2