rpms/CTL/devel CTL.spec, NONE, 1.1 ctl-1.4.1-fix_pkgconfig.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Chauvet (kwizart) fedora-extras-commits at redhat.com
Sat Nov 17 00:38:20 UTC 2007


Author: kwizart

Update of /cvs/pkgs/rpms/CTL/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3598/devel

Modified Files:
	.cvsignore sources 
Added Files:
	CTL.spec ctl-1.4.1-fix_pkgconfig.patch 
Log Message:
Initial import 



--- NEW FILE CTL.spec ---
Name:           CTL
Version:        1.4.1
Release:        3%{?dist}
Summary:        The Color Transformation Language

Group:          System Environment/Libraries
License:        AMPAS BSD
URL:            http://ampasctl.sourceforge.net/
Source0:        http://downloads.sourceforge.net/ampasctl/ctl-%{version}.tar.gz
#Patch0:         ctl-1.4.1-disable_rpath.patch
Patch1:         ctl-1.4.1-fix_pkgconfig.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

# http://bugzilla.redhat.com/357461
# The CTL license is ok, Free but GPL Incompatible.
BuildRequires:  ilmbase-devel
#BuildRequires:  autoconf, aclocal

%description
The Color Transformation Language, or CTL, is a programming language
for digital color management.


%package        devel
Summary:        Development files for %{name}
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}
Requires:       ilmbase-devel
Requires:       pkgconfig

%description    devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.

%package docs
Summary:        Documentation for %{name}
Group:          Documentation

%description docs
This package contains documentation files for %{name}.


%prep
%setup -q -n ctl-%{version}
#patch0 -p1 -b .rpath
%patch1 -p1 -b .fix_pkg-config

# Was needed to disable rpath from configure -> patch0
#autoreconf

# fix perms
chmod 0644 doc/CtlManual.doc
chmod 0644 IlmCtl/{CtlInterpreter.cpp,CtlParser.cpp}


%build
%configure --disable-static

# Remove rpath from libtool
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool

make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'

# Removes docs
rm -rf $RPM_BUILD_ROOT%{_datadir}


%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig


%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README
%{_libdir}/*.so.*

%files devel
%defattr(-,root,root,-)
%{_includedir}/CTL/
%{_libdir}/*.so
%{_libdir}/pkgconfig/CTL.pc

%files docs
%defattr(-,root,root,-)
%doc doc/CtlManual.pdf doc/CtlManual.doc

%changelog
* Fri Nov  9 2007 kwizart < kwizart at gmail.com > - 1.4.1-3
- Change package name from ctl to CTL

* Wed Nov  7 2007 kwizart < kwizart at gmail.com > - 1.4.1-2
- Improve license URL
- Use IlmBase.pc for pkg-config
- Fix perms in debuginfo

* Mon Oct 29 2007 kwizart < kwizart at gmail.com > - 1.4.1-1
- Initial package for Fedora


ctl-1.4.1-fix_pkgconfig.patch:

--- NEW FILE ctl-1.4.1-fix_pkgconfig.patch ---
diff -up ctl-1.4.1/CTL.pc.in.fix_pkg-config ctl-1.4.1/CTL.pc.in
--- ctl-1.4.1/CTL.pc.in.fix_pkg-config	2007-11-07 16:37:09.000000000 +0100
+++ ctl-1.4.1/CTL.pc.in	2007-11-07 16:44:39.000000000 +0100
@@ -7,5 +7,6 @@ CTL_includedir=@includedir@/CTL
 Name: CTL
 Description: CTL interpreter library
 Version: @CTL_VERSION@
-Libs: -L${libdir} @ILMBASE_LDFLAGS@ -lIlmCtlSimd -lIlmCtlMath -lIlmCtl @ILMBASE_LIBS@
-Cflags: @ILMBASE_CXXFLAGS@ -I${CTL_includedir}
+Requires: IlmBase
+Libs: -L${libdir} -lIlmCtlSimd -lIlmCtlMath -lIlmCtl
+Cflags: -I${CTL_includedir}


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/CTL/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	16 Nov 2007 17:10:15 -0000	1.1
+++ .cvsignore	17 Nov 2007 00:37:47 -0000	1.2
@@ -0,0 +1 @@
+ctl-1.4.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/CTL/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	16 Nov 2007 17:10:15 -0000	1.1
+++ sources	17 Nov 2007 00:37:47 -0000	1.2
@@ -0,0 +1 @@
+11e215aea6c6380833ade3b576660638  ctl-1.4.1.tar.gz




More information about the fedora-extras-commits mailing list