rpms/grantlee/devel grantlee.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
thomasj
thomasj at fedoraproject.org
Wed May 19 09:39:23 UTC 2010
Author: thomasj
Update of /cvs/pkgs/rpms/grantlee/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv29666/devel
Modified Files:
.cvsignore sources
Added Files:
grantlee.spec import.log
Log Message:
import
--- NEW FILE grantlee.spec ---
%define apidocs 0
# apidocs disabled until we agree on a standard path.
Name: grantlee
Version: 0.1.1
Release: 3%{?dist}
Summary: Qt string template engine based on the Django template system
Group: System Environment/Libraries
License: LGPLv2+
URL: http://www.gitorious.org/grantlee/pages/Home
Source0: http://downloads.%{name}.org/%{name}-v%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: qt4-devel cmake
%if 0%{?apidocs}
BuildRequires: doxygen
%endif
%description
Grantlee is a plug-in based String Template system written
using the Qt framework. The goals of the project are to make it easier for
application developers to separate the structure of documents from the
data they contain, opening the door for theming.
The syntax is intended to follow the syntax of the Django template system,
and the design of Django is reused in Grantlee.
Django is covered by a BSD style license.
Part of the design of both is that application developers can extend
the syntax by implementing their own tags and filters. For details of
how to do that, see the API documentation.
For template authors, different applications using Grantlee will present
the same interface and core syntax for creating new themes. For details of
how to write templates, see the documentation.
%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}.
%package apidocs
Group: Development/Documentation
Summary: Grantlee API documentation
BuildArch: noarch
%description apidocs
This package includes the Grantlee API documentation in HTML
format for easy browsing.
%prep
%setup -q -n %{name}-v%{version}
sed -i 's,${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX},%{_libdir},' CMakeLists.txt
%build
mkdir -p %{_target_platform}
pushd %{_target_platform}
%cmake .. -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/usr
popd
make %{?_smp_mflags} -C %{_target_platform}
%if 0%{?apidocs}
make docs -C %{_target_platform}
%endif
%install
rm -rf %{buildroot}
make install -C %{_target_platform} DESTDIR=%{buildroot}
%if 0%{?apidocs}
mkdir -p %{buildroot}%{_docdir}/HTML/en/grantlee-apidocs
cp -prf %{_target_platform}/apidocs/html/* %{buildroot}%{_docdir}/HTML/en/grantlee-apidocs
%endif
%clean
rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc AUTHORS CHANGELOG COPYING.LIB README GOALS
%{_libdir}/lib%{name}*.so.*
%{_libdir}/%{name}
%files devel
%defattr(-,root,root,-)
%{_includedir}/%{name}
%{_includedir}/%{name}_core.h
%{_libdir}/lib%{name}*.so
# %files apidocs
# %{_docdir}/HTML/en/grantlee-apidocs
%changelog
* Tue May 18 2010 Thomas Janssen <thomasj at fedoraproject.org> 0.1.1-3
- disabled apidocs until we find a standard path
* Tue May 11 2010 Jaroslav Reznik <jreznik at redhat.com> 0.1.1-2
- added -apidocs subpackage
* Sun May 09 2010 Thomas Janssen <thomasj at fedoraproject.org> 0.1.1-1
- grantlee 0.1.1
- fixed Group
* Thu Apr 15 2010 Thomas Janssen <thomasj at fedoraproject.org> 0.1.0-1
- initial fedora release
--- NEW FILE import.log ---
grantlee-0_1_1-3_fc12:HEAD:grantlee-0.1.1-3.fc12.src.rpm:1274261934
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/grantlee/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 18 May 2010 20:47:18 -0000 1.1
+++ .cvsignore 19 May 2010 09:39:22 -0000 1.2
@@ -0,0 +1 @@
+grantlee-v0.1.1.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/grantlee/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 18 May 2010 20:47:18 -0000 1.1
+++ sources 19 May 2010 09:39:23 -0000 1.2
@@ -0,0 +1 @@
+961e583c5ab94e7a9a714063e047ace5 grantlee-v0.1.1.tar.gz
More information about the scm-commits
mailing list