rpms/ctemplate/devel ctemplate.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Rakesh Pandit rakesh at fedoraproject.org
Sat Sep 6 07:11:03 UTC 2008


Author: rakesh

Update of /cvs/pkgs/rpms/ctemplate/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22321/devel

Modified Files:
	.cvsignore sources 
Added Files:
	ctemplate.spec import.log 
Log Message:
initial package import



--- NEW FILE ctemplate.spec ---
Name:           ctemplate
Version:        0.91
Release:        2%{?dist}
Summary:        A simple but powerful template language for C++

Group:          Development/Tools
License:        BSD
URL:            http://code.google.com/p/google-ctemplate/
Source0:        http://google-ctemplate.googlecode.com/files/%{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  chrpath

%description
CTemplate is a simple but powerful template language for C++. It
emphasizes separating logic from presentation: it is impossible to
embed application logic in this template language.

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

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


%prep
%setup -q

%build
%configure --disable-static

#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

sed -i 's|^PTHREAD_LIBS = |PTHREAD_LIBS = -lpthread|g' Makefile

# Omit unused direct shared library dependencies.
sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' libtool

make %{?_smp_mflags}

%check
make check

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

mkdir -p $RPM_BUILD_ROOT%{_includedir}/%{name}
mv $RPM_BUILD_ROOT%{_includedir}/google/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/

find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';'

# Remove rpaths.
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libctemplate_nothreads.so.0.0.0
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libctemplate.so.0.0.0
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/make_tpl_varnames_h
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/diff_tpl_auto_escape

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig


%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING INSTALL README
%doc doc/designstyle.css
%{_bindir}/diff_tpl_auto_escape
%{_bindir}/make_tpl_varnames_h
%{_bindir}/template-converter
%{_libdir}/libctemplate_nothreads.so.*
%{_libdir}/libctemplate.so.*

%files devel
%defattr(-,root,root,-)
%doc doc/*.html
%{_libdir}/libctemplate_nothreads.so
%{_libdir}/libctemplate.so
%dir %{_includedir}/%{name}
%{_includedir}/%{name}/*.h

%changelog
* Wed Sep 03 2008 Rakesh Pandit <rakesh at fedoraproject.org> 0.91-2
- Added %%check section to run tests

* Sun Aug 24 2008 Rakesh Pandit <rakesh at fedoraproject.org> 0.91-1
- Update to 0.91 & removed missing header files patch

* Fri Aug 22 2008 Rakesh Pandit <rakesh at fedoraproject.org> 0.90-2
- fix undefined-non-weak-symbol & rpath issue

* Thu Aug 14 2008 Rakesh Pandit <rakesh at fedoraproject.org> 0.90-1
-Initial build


--- NEW FILE import.log ---
ctemplate-0_91-2_fc10:HEAD:ctemplate-0.91-2.fc10.src.rpm:1220684308


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/ctemplate/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	5 Sep 2008 16:57:52 -0000	1.1
+++ .cvsignore	6 Sep 2008 07:10:33 -0000	1.2
@@ -0,0 +1 @@
+ctemplate-0.91.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/ctemplate/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	5 Sep 2008 16:57:52 -0000	1.1
+++ sources	6 Sep 2008 07:10:33 -0000	1.2
@@ -0,0 +1 @@
+0270ab187e32f31cd759736049d4d1bb  ctemplate-0.91.tar.gz




More information about the fedora-extras-commits mailing list