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

Contents of /devel/CTL/CTL.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Fri Jul 24 15:02:32 2009 UTC (4 months ago) by jkeating
Branch: MAIN
CVS Tags: F-12-split, CTL-1_4_1-10_fc12, HEAD
Changes since 1.6: +4 -1 lines
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
1 Name: CTL
2 Version: 1.4.1
3 Release: 10%{?dist}
4 Summary: The Color Transformation Language
5
6 Group: System Environment/Libraries
7 License: AMPAS BSD
8 URL: http://ampasctl.sourceforge.net/
9 Source0: http://downloads.sourceforge.net/ampasctl/ctl-%{version}.tar.gz
10 Patch0: ctl-1.4.1-gcc43.patch
11 Patch1: ctl-1.4.1-fix_pkgconfig.patch
12 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
13
14 # http://bugzilla.redhat.com/357461
15 # The CTL license is ok, Free but GPL Incompatible.
16 BuildRequires: ilmbase-devel
17 #BuildRequires: autoconf, aclocal
18
19 %description
20 The Color Transformation Language, or CTL, is a programming language
21 for digital color management.
22
23
24 %package devel
25 Summary: Development files for %{name}
26 Group: Development/Libraries
27 Requires: %{name} = %{version}-%{release}
28 Requires: ilmbase-devel
29 Requires: pkgconfig
30
31 %description devel
32 The %{name}-devel package contains libraries and header files for
33 developing applications that use %{name}.
34
35 %package docs
36 Summary: Documentation for %{name}
37 Group: Documentation
38
39 %description docs
40 This package contains documentation files for %{name}.
41
42
43 %prep
44 %setup -q -n ctl-%{version}
45 %patch0 -p1 -b .gcc43
46 %patch1 -p1 -b .fix_pkg-config
47
48 # Was needed to disable rpath from configure -> patch0
49 #autoreconf
50
51 # fix perms
52 chmod 0644 doc/CtlManual.doc
53 chmod 0644 IlmCtl/{CtlInterpreter.cpp,CtlParser.cpp}
54
55
56 %build
57 %configure --disable-static
58
59 # Remove rpath from libtool
60 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
61 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
62
63 # clean unused-direct-shlib-dependencies
64 sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
65
66 make %{?_smp_mflags}
67
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71 make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
72 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
73
74 # Removes docs
75 rm -rf $RPM_BUILD_ROOT%{_datadir}
76
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %post -p /sbin/ldconfig
82
83 %postun -p /sbin/ldconfig
84
85
86 %files
87 %defattr(-,root,root,-)
88 %doc AUTHORS ChangeLog COPYING NEWS README
89 %{_libdir}/*.so.*
90
91 %files devel
92 %defattr(-,root,root,-)
93 %{_includedir}/CTL/
94 %{_libdir}/*.so
95 %{_libdir}/pkgconfig/CTL.pc
96
97 %files docs
98 %defattr(-,root,root,-)
99 %doc doc/CtlManual.pdf doc/CtlManual.doc
100
101 %changelog
102 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-10
103 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
104
105 * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-9
106 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
107
108 * Tue Feb 3 2009 kwizart < kwizart at gmail.com > - 1.4.1-8
109 - Rebuild for pkgconfig(CTL)
110
111 * Fri Oct 3 2008 kwizart < kwizart at gmail.com > - 1.4.1-7
112 - Rebuild for F-10
113
114 * Sat Feb 9 2008 kwizart < kwizart at gmail.com > - 1.4.1-6
115 - Rebuild for gcc43
116
117 * Wed Jan 9 2008 kwizart < kwizart at gmail.com > - 1.4.1-5
118 - clean unused-direct-shlib-dependencies
119
120 * Tue Jan 8 2008 kwizart < kwizart at gmail.com > - 1.4.1-4
121 - Fix gcc43
122
123 * Fri Nov 9 2007 kwizart < kwizart at gmail.com > - 1.4.1-3
124 - Change package name from ctl to CTL
125
126 * Wed Nov 7 2007 kwizart < kwizart at gmail.com > - 1.4.1-2
127 - Improve license URL
128 - Use IlmBase.pc for pkg-config
129 - Fix perms in debuginfo
130
131 * Mon Oct 29 2007 kwizart < kwizart at gmail.com > - 1.4.1-1
132 - Initial package for Fedora
133

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2