|
@@ -4,7 +4,7 @@ Summary: A fast, powerful, and language-neutral HTML template system.
|
|
Summary(ja): 高速、パワフルで言語中立なHTMLテンプレートシステム
|
|
Summary(ja): 高速、パワフルで言語中立なHTMLテンプレートシステム
|
|
Name: clearsilver
|
|
Name: clearsilver
|
|
Version: 0.10.5
|
|
Version: 0.10.5
|
|
-Release: 13%{_dist_release}
|
|
+Release: 14%{_dist_release}
|
|
Group: programming
|
|
Group: programming
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
Distribution: Vine Linux
|
|
Distribution: Vine Linux
|
|
@@ -45,6 +45,16 @@ Clearsilver は高速、強力で言語中立なテンプレートシステム
|
|
容易にすることを目指して設計されています。
|
|
容易にすることを目指して設計されています。
|
|
|
|
|
|
|
|
|
|
|
|
+%package devel
|
|
|
|
+Summary: header files and development library for ClearSilver
|
|
|
|
+Summary(ja): ClearSilverのヘッダファイル・開発ライブラリ
|
|
|
|
+Group: programming
|
|
|
|
+Requires: clearsilver = %{version}-%{release}
|
|
|
|
+
|
|
|
|
+%description devel
|
|
|
|
+%{summary}.
|
|
|
|
+
|
|
|
|
+
|
|
%package -n perl-%{name}
|
|
%package -n perl-%{name}
|
|
Summary: Perl interface to the ClearSilver HTML templating system
|
|
Summary: Perl interface to the ClearSilver HTML templating system
|
|
Requires: perl >= 2:5.34.0
|
|
Requires: perl >= 2:5.34.0
|
|
@@ -93,12 +103,22 @@ perl -pi -e 's/^(TARGETS =.+) test/$1/' cs/Makefile
|
|
|
|
|
|
make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
|
|
make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
|
|
cd perl && %{__perl} Makefile.PL INSTALLDIRS=vendor && cd ..
|
|
cd perl && %{__perl} Makefile.PL INSTALLDIRS=vendor && cd ..
|
|
|
|
+ld -z relro -shared -fPIC --build-id -lc --whole-archive \
|
|
|
|
+ -o libclearsilver.so.0.0.0 \
|
|
|
|
+ ./libs/libneo_cgi.a \
|
|
|
|
+ ./libs/libneo_cs.a \
|
|
|
|
+ ./libs/libneo_utl.a
|
|
|
|
|
|
|
|
|
|
%install
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make DESTDIR=${RPM_BUILD_ROOT} install
|
|
make DESTDIR=${RPM_BUILD_ROOT} install
|
|
|
|
|
|
|
|
+install -m755 libclearsilver.so.0.0.0 %{buildroot}%{_libdir}/
|
|
|
|
+ln -sf libclearsilver.so.0.0.0 %{buildroot}%{_libdir}/libclearsilver.so.0.0
|
|
|
|
+ln -sf libclearsilver.so.0.0.0 %{buildroot}%{_libdir}/libclearsilver.so.0
|
|
|
|
+ln -sf libclearsilver.so.0.0.0 %{buildroot}%{_libdir}/libclearsilver.so
|
|
|
|
+
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
find $RPM_BUILD_ROOT -type f -name perllocal.pod -exec rm -f {} ';'
|
|
find $RPM_BUILD_ROOT -type f -name perllocal.pod -exec rm -f {} ';'
|
|
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
|
|
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
|
|
@@ -109,13 +129,18 @@ chmod -R u+w $RPM_BUILD_ROOT/*
|
|
%clean
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
+
|
|
%files
|
|
%files
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
%license CS_LICENSE LICENSE
|
|
%license CS_LICENSE LICENSE
|
|
%doc INSTALL README
|
|
%doc INSTALL README
|
|
%{_bindir}/*
|
|
%{_bindir}/*
|
|
|
|
+%{_libdir}/*.so.*
|
|
|
|
+
|
|
|
|
+%files devel
|
|
%{_includedir}/ClearSilver/
|
|
%{_includedir}/ClearSilver/
|
|
%{_libdir}/*.a
|
|
%{_libdir}/*.a
|
|
|
|
+%{_libdir}/*.so
|
|
%{_mandir}/man*/*.gz
|
|
%{_mandir}/man*/*.gz
|
|
|
|
|
|
%files -n perl-clearsilver
|
|
%files -n perl-clearsilver
|
|
@@ -132,6 +157,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Wed Nov 02 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.10.5-14
|
|
|
|
+- built shared library.
|
|
|
|
+
|
|
* Sat Nov 20 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.10.5-13
|
|
* Sat Nov 20 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.10.5-13
|
|
- rebuilt with perl-5.34.0.
|
|
- rebuilt with perl-5.34.0.
|
|
- dropped python support.
|
|
- dropped python support.
|