stfl/stfl.spec

226 lines
6.8 KiB
RPMSpec
Raw Normal View History

- Removed empty %%doc - Changed sed commands Tue Oct 06 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-6 - Changed CFLAGS again Tue Oct 06 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-5 - Better use of sed - Fixed CFLAGS - Use of rm instead of exclude - Removed empty doc Mon Oct 05 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-4 - Removed unneeded requires - Removed dupe docs - removed patches and make use of sed - fixed stfl.pc.in for x86_64 Fri Oct 02 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-3 - fixed installed rpmlint output Fri Oct 02 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-2 - Added Requires: pkgconfig - Mentioned to upstream the rpmlint warnings - http://www.rocklinux.net/pipermail/stfl/2009-October/000115.html - Minor spec changes Sun Jun 28 2009 Byron Clark <byron@theclarkfamily.name> 0.21-1 - New upstream release - Stop placing _stfl.so in lib-dynload - Add patch to properly create soname symlink for shared lib. Wed Jun 10 2009 Byron Clark <byron@theclarkfamily.name> 0.20-5 - Stop using both python_sitelib and python_sitearch - Modify stfl-pythonpaths.patch to only use python_sitearch Sat Jun 6 2009 Byron Clark <byron@theclarkfamily.name> 0.20-4 - Don't explicitly require python and perl Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-3 - Use the patches that have been sent upstream Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-2 - Add the minimal docs Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-1 - Initial release
2009-10-22 09:01:25 +00:00
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
2011-07-07 02:29:42 +00:00
Name: stfl
Version: 0.21
Release: 17%{?dist}
Summary: The Structured Terminal Forms Language/Library
Group: System Environment/Libraries
License: LGPLv3+
URL: http://www.clifford.at/stfl/
Source0: http://www.clifford.at/stfl/%{name}-%{version}.tar.gz
BuildRequires: ncurses-devel
BuildRequires: perl-devel
BuildRequires: python-devel
BuildRequires: ruby
BuildRequires: ruby-devel
BuildRequires: swig
- Removed empty %%doc - Changed sed commands Tue Oct 06 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-6 - Changed CFLAGS again Tue Oct 06 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-5 - Better use of sed - Fixed CFLAGS - Use of rm instead of exclude - Removed empty doc Mon Oct 05 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-4 - Removed unneeded requires - Removed dupe docs - removed patches and make use of sed - fixed stfl.pc.in for x86_64 Fri Oct 02 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-3 - fixed installed rpmlint output Fri Oct 02 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-2 - Added Requires: pkgconfig - Mentioned to upstream the rpmlint warnings - http://www.rocklinux.net/pipermail/stfl/2009-October/000115.html - Minor spec changes Sun Jun 28 2009 Byron Clark <byron@theclarkfamily.name> 0.21-1 - New upstream release - Stop placing _stfl.so in lib-dynload - Add patch to properly create soname symlink for shared lib. Wed Jun 10 2009 Byron Clark <byron@theclarkfamily.name> 0.20-5 - Stop using both python_sitelib and python_sitearch - Modify stfl-pythonpaths.patch to only use python_sitearch Sat Jun 6 2009 Byron Clark <byron@theclarkfamily.name> 0.20-4 - Don't explicitly require python and perl Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-3 - Use the patches that have been sent upstream Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-2 - Add the minimal docs Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-1 - Initial release
2009-10-22 09:01:25 +00:00
%description
STFL is a library which implements a curses-based widget set for text
terminals.
2011-07-07 02:29:42 +00:00
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
- Removed empty %%doc - Changed sed commands Tue Oct 06 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-6 - Changed CFLAGS again Tue Oct 06 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-5 - Better use of sed - Fixed CFLAGS - Use of rm instead of exclude - Removed empty doc Mon Oct 05 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-4 - Removed unneeded requires - Removed dupe docs - removed patches and make use of sed - fixed stfl.pc.in for x86_64 Fri Oct 02 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-3 - fixed installed rpmlint output Fri Oct 02 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-2 - Added Requires: pkgconfig - Mentioned to upstream the rpmlint warnings - http://www.rocklinux.net/pipermail/stfl/2009-October/000115.html - Minor spec changes Sun Jun 28 2009 Byron Clark <byron@theclarkfamily.name> 0.21-1 - New upstream release - Stop placing _stfl.so in lib-dynload - Add patch to properly create soname symlink for shared lib. Wed Jun 10 2009 Byron Clark <byron@theclarkfamily.name> 0.20-5 - Stop using both python_sitelib and python_sitearch - Modify stfl-pythonpaths.patch to only use python_sitearch Sat Jun 6 2009 Byron Clark <byron@theclarkfamily.name> 0.20-4 - Don't explicitly require python and perl Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-3 - Use the patches that have been sent upstream Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-2 - Add the minimal docs Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-1 - Initial release
2009-10-22 09:01:25 +00:00
2011-07-07 02:29:42 +00:00
%description devel
- Removed empty %%doc - Changed sed commands Tue Oct 06 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-6 - Changed CFLAGS again Tue Oct 06 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-5 - Better use of sed - Fixed CFLAGS - Use of rm instead of exclude - Removed empty doc Mon Oct 05 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-4 - Removed unneeded requires - Removed dupe docs - removed patches and make use of sed - fixed stfl.pc.in for x86_64 Fri Oct 02 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-3 - fixed installed rpmlint output Fri Oct 02 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-2 - Added Requires: pkgconfig - Mentioned to upstream the rpmlint warnings - http://www.rocklinux.net/pipermail/stfl/2009-October/000115.html - Minor spec changes Sun Jun 28 2009 Byron Clark <byron@theclarkfamily.name> 0.21-1 - New upstream release - Stop placing _stfl.so in lib-dynload - Add patch to properly create soname symlink for shared lib. Wed Jun 10 2009 Byron Clark <byron@theclarkfamily.name> 0.20-5 - Stop using both python_sitelib and python_sitearch - Modify stfl-pythonpaths.patch to only use python_sitearch Sat Jun 6 2009 Byron Clark <byron@theclarkfamily.name> 0.20-4 - Don't explicitly require python and perl Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-3 - Use the patches that have been sent upstream Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-2 - Add the minimal docs Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-1 - Initial release
2009-10-22 09:01:25 +00:00
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
2011-07-07 02:29:42 +00:00
%package perl
Summary: Perl binding for STFL
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
- Removed empty %%doc - Changed sed commands Tue Oct 06 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-6 - Changed CFLAGS again Tue Oct 06 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-5 - Better use of sed - Fixed CFLAGS - Use of rm instead of exclude - Removed empty doc Mon Oct 05 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-4 - Removed unneeded requires - Removed dupe docs - removed patches and make use of sed - fixed stfl.pc.in for x86_64 Fri Oct 02 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-3 - fixed installed rpmlint output Fri Oct 02 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-2 - Added Requires: pkgconfig - Mentioned to upstream the rpmlint warnings - http://www.rocklinux.net/pipermail/stfl/2009-October/000115.html - Minor spec changes Sun Jun 28 2009 Byron Clark <byron@theclarkfamily.name> 0.21-1 - New upstream release - Stop placing _stfl.so in lib-dynload - Add patch to properly create soname symlink for shared lib. Wed Jun 10 2009 Byron Clark <byron@theclarkfamily.name> 0.20-5 - Stop using both python_sitelib and python_sitearch - Modify stfl-pythonpaths.patch to only use python_sitearch Sat Jun 6 2009 Byron Clark <byron@theclarkfamily.name> 0.20-4 - Don't explicitly require python and perl Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-3 - Use the patches that have been sent upstream Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-2 - Add the minimal docs Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-1 - Initial release
2009-10-22 09:01:25 +00:00
2011-07-07 02:29:42 +00:00
%description perl
- Removed empty %%doc - Changed sed commands Tue Oct 06 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-6 - Changed CFLAGS again Tue Oct 06 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-5 - Better use of sed - Fixed CFLAGS - Use of rm instead of exclude - Removed empty doc Mon Oct 05 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-4 - Removed unneeded requires - Removed dupe docs - removed patches and make use of sed - fixed stfl.pc.in for x86_64 Fri Oct 02 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-3 - fixed installed rpmlint output Fri Oct 02 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-2 - Added Requires: pkgconfig - Mentioned to upstream the rpmlint warnings - http://www.rocklinux.net/pipermail/stfl/2009-October/000115.html - Minor spec changes Sun Jun 28 2009 Byron Clark <byron@theclarkfamily.name> 0.21-1 - New upstream release - Stop placing _stfl.so in lib-dynload - Add patch to properly create soname symlink for shared lib. Wed Jun 10 2009 Byron Clark <byron@theclarkfamily.name> 0.20-5 - Stop using both python_sitelib and python_sitearch - Modify stfl-pythonpaths.patch to only use python_sitearch Sat Jun 6 2009 Byron Clark <byron@theclarkfamily.name> 0.20-4 - Don't explicitly require python and perl Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-3 - Use the patches that have been sent upstream Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-2 - Add the minimal docs Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-1 - Initial release
2009-10-22 09:01:25 +00:00
Perl binding for STFL
2011-07-07 02:29:42 +00:00
%package python
Summary: Python binding for STFL
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
- Removed empty %%doc - Changed sed commands Tue Oct 06 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-6 - Changed CFLAGS again Tue Oct 06 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-5 - Better use of sed - Fixed CFLAGS - Use of rm instead of exclude - Removed empty doc Mon Oct 05 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-4 - Removed unneeded requires - Removed dupe docs - removed patches and make use of sed - fixed stfl.pc.in for x86_64 Fri Oct 02 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-3 - fixed installed rpmlint output Fri Oct 02 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-2 - Added Requires: pkgconfig - Mentioned to upstream the rpmlint warnings - http://www.rocklinux.net/pipermail/stfl/2009-October/000115.html - Minor spec changes Sun Jun 28 2009 Byron Clark <byron@theclarkfamily.name> 0.21-1 - New upstream release - Stop placing _stfl.so in lib-dynload - Add patch to properly create soname symlink for shared lib. Wed Jun 10 2009 Byron Clark <byron@theclarkfamily.name> 0.20-5 - Stop using both python_sitelib and python_sitearch - Modify stfl-pythonpaths.patch to only use python_sitearch Sat Jun 6 2009 Byron Clark <byron@theclarkfamily.name> 0.20-4 - Don't explicitly require python and perl Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-3 - Use the patches that have been sent upstream Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-2 - Add the minimal docs Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-1 - Initial release
2009-10-22 09:01:25 +00:00
2011-07-07 02:29:42 +00:00
%description python
- Removed empty %%doc - Changed sed commands Tue Oct 06 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-6 - Changed CFLAGS again Tue Oct 06 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-5 - Better use of sed - Fixed CFLAGS - Use of rm instead of exclude - Removed empty doc Mon Oct 05 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-4 - Removed unneeded requires - Removed dupe docs - removed patches and make use of sed - fixed stfl.pc.in for x86_64 Fri Oct 02 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-3 - fixed installed rpmlint output Fri Oct 02 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-2 - Added Requires: pkgconfig - Mentioned to upstream the rpmlint warnings - http://www.rocklinux.net/pipermail/stfl/2009-October/000115.html - Minor spec changes Sun Jun 28 2009 Byron Clark <byron@theclarkfamily.name> 0.21-1 - New upstream release - Stop placing _stfl.so in lib-dynload - Add patch to properly create soname symlink for shared lib. Wed Jun 10 2009 Byron Clark <byron@theclarkfamily.name> 0.20-5 - Stop using both python_sitelib and python_sitearch - Modify stfl-pythonpaths.patch to only use python_sitearch Sat Jun 6 2009 Byron Clark <byron@theclarkfamily.name> 0.20-4 - Don't explicitly require python and perl Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-3 - Use the patches that have been sent upstream Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-2 - Add the minimal docs Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-1 - Initial release
2009-10-22 09:01:25 +00:00
Python binding for STFL.
2011-07-07 02:29:42 +00:00
%package ruby
Summary: Ruby binding for STFL
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: ruby(abi) = 1.9.1
- Removed empty %%doc - Changed sed commands Tue Oct 06 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-6 - Changed CFLAGS again Tue Oct 06 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-5 - Better use of sed - Fixed CFLAGS - Use of rm instead of exclude - Removed empty doc Mon Oct 05 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-4 - Removed unneeded requires - Removed dupe docs - removed patches and make use of sed - fixed stfl.pc.in for x86_64 Fri Oct 02 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-3 - fixed installed rpmlint output Fri Oct 02 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-2 - Added Requires: pkgconfig - Mentioned to upstream the rpmlint warnings - http://www.rocklinux.net/pipermail/stfl/2009-October/000115.html - Minor spec changes Sun Jun 28 2009 Byron Clark <byron@theclarkfamily.name> 0.21-1 - New upstream release - Stop placing _stfl.so in lib-dynload - Add patch to properly create soname symlink for shared lib. Wed Jun 10 2009 Byron Clark <byron@theclarkfamily.name> 0.20-5 - Stop using both python_sitelib and python_sitearch - Modify stfl-pythonpaths.patch to only use python_sitearch Sat Jun 6 2009 Byron Clark <byron@theclarkfamily.name> 0.20-4 - Don't explicitly require python and perl Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-3 - Use the patches that have been sent upstream Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-2 - Add the minimal docs Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-1 - Initial release
2009-10-22 09:01:25 +00:00
2011-07-07 02:29:42 +00:00
%description ruby
- Removed empty %%doc - Changed sed commands Tue Oct 06 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-6 - Changed CFLAGS again Tue Oct 06 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-5 - Better use of sed - Fixed CFLAGS - Use of rm instead of exclude - Removed empty doc Mon Oct 05 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-4 - Removed unneeded requires - Removed dupe docs - removed patches and make use of sed - fixed stfl.pc.in for x86_64 Fri Oct 02 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-3 - fixed installed rpmlint output Fri Oct 02 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-2 - Added Requires: pkgconfig - Mentioned to upstream the rpmlint warnings - http://www.rocklinux.net/pipermail/stfl/2009-October/000115.html - Minor spec changes Sun Jun 28 2009 Byron Clark <byron@theclarkfamily.name> 0.21-1 - New upstream release - Stop placing _stfl.so in lib-dynload - Add patch to properly create soname symlink for shared lib. Wed Jun 10 2009 Byron Clark <byron@theclarkfamily.name> 0.20-5 - Stop using both python_sitelib and python_sitearch - Modify stfl-pythonpaths.patch to only use python_sitearch Sat Jun 6 2009 Byron Clark <byron@theclarkfamily.name> 0.20-4 - Don't explicitly require python and perl Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-3 - Use the patches that have been sent upstream Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-2 - Add the minimal docs Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-1 - Initial release
2009-10-22 09:01:25 +00:00
Ruby binding for STFL.
%prep
%setup -q
## ensures that _stfl.so doesn't end up in lib-dynload
## - http://www.rocklinux.net/pipermail/stfl/2009-June/000113.html
sed -i.path \
-e '/mkdir.*lib-dynload/d' \
-e '/cp/s|lib-dynload||' \
python/Makefile.*
## creates an soname symlink for the shared library
## - http://www.rocklinux.net/pipermail/stfl/2009-June/000114.html
## add the new line needed (the part starting with \n) If you know a better way with sed to do it, please educate me
sed -i.soname \
-e 's|\(.*ln -fs.*/\)\(libstfl\.so\)$|\1\2\n\1\$(SONAME)|' \
Makefile
## fixes undefined-non-weak-symbol rpmlint warnings
## - http://www.rocklinux.net/pipermail/stfl/2009-October/000116.html
sed -i.ldflags -e 's|\(-shared\)|\1 \$(LDLIBS)|' Makefile
## fixes libdir for other arch than x86
## - http://www.rocklinux.net/pipermail/stfl/2009-October/000118.html
sed -i.path -e 's|libdir=.*|libdir=%{_libdir}|' stfl.pc.in
sed -i.cflags -e 's|-Os||' Makefile
# fix paths in Makefile.cfg
sed -i.path -e 's|lib$|%{_lib}|' -e 's|/usr/local$|%{_prefix}|' Makefile.cfg
- Removed empty %%doc - Changed sed commands Tue Oct 06 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-6 - Changed CFLAGS again Tue Oct 06 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-5 - Better use of sed - Fixed CFLAGS - Use of rm instead of exclude - Removed empty doc Mon Oct 05 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-4 - Removed unneeded requires - Removed dupe docs - removed patches and make use of sed - fixed stfl.pc.in for x86_64 Fri Oct 02 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-3 - fixed installed rpmlint output Fri Oct 02 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-2 - Added Requires: pkgconfig - Mentioned to upstream the rpmlint warnings - http://www.rocklinux.net/pipermail/stfl/2009-October/000115.html - Minor spec changes Sun Jun 28 2009 Byron Clark <byron@theclarkfamily.name> 0.21-1 - New upstream release - Stop placing _stfl.so in lib-dynload - Add patch to properly create soname symlink for shared lib. Wed Jun 10 2009 Byron Clark <byron@theclarkfamily.name> 0.20-5 - Stop using both python_sitelib and python_sitearch - Modify stfl-pythonpaths.patch to only use python_sitearch Sat Jun 6 2009 Byron Clark <byron@theclarkfamily.name> 0.20-4 - Don't explicitly require python and perl Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-3 - Use the patches that have been sent upstream Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-2 - Add the minimal docs Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-1 - Initial release
2009-10-22 09:01:25 +00:00
%build
# building with smp flags causes random failures
export CFLAGS="%{optflags}"
2010-09-09 08:59:14 +00:00
# test with explicit prefix and echo
#make prefix=/usr libdir=%{_lib}
#echo %ruby_sitearch
#echo `ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"] '`
2012-02-08 09:46:20 +00:00
sed -i 's|ruby extconf.rb|ruby extconf.rb --vendor|' ruby/Makefile.snippet
- Removed empty %%doc - Changed sed commands Tue Oct 06 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-6 - Changed CFLAGS again Tue Oct 06 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-5 - Better use of sed - Fixed CFLAGS - Use of rm instead of exclude - Removed empty doc Mon Oct 05 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-4 - Removed unneeded requires - Removed dupe docs - removed patches and make use of sed - fixed stfl.pc.in for x86_64 Fri Oct 02 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-3 - fixed installed rpmlint output Fri Oct 02 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-2 - Added Requires: pkgconfig - Mentioned to upstream the rpmlint warnings - http://www.rocklinux.net/pipermail/stfl/2009-October/000115.html - Minor spec changes Sun Jun 28 2009 Byron Clark <byron@theclarkfamily.name> 0.21-1 - New upstream release - Stop placing _stfl.so in lib-dynload - Add patch to properly create soname symlink for shared lib. Wed Jun 10 2009 Byron Clark <byron@theclarkfamily.name> 0.20-5 - Stop using both python_sitelib and python_sitearch - Modify stfl-pythonpaths.patch to only use python_sitearch Sat Jun 6 2009 Byron Clark <byron@theclarkfamily.name> 0.20-4 - Don't explicitly require python and perl Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-3 - Use the patches that have been sent upstream Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-2 - Add the minimal docs Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-1 - Initial release
2009-10-22 09:01:25 +00:00
2011-07-07 02:29:42 +00:00
- Removed empty %%doc - Changed sed commands Tue Oct 06 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-6 - Changed CFLAGS again Tue Oct 06 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-5 - Better use of sed - Fixed CFLAGS - Use of rm instead of exclude - Removed empty doc Mon Oct 05 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-4 - Removed unneeded requires - Removed dupe docs - removed patches and make use of sed - fixed stfl.pc.in for x86_64 Fri Oct 02 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-3 - fixed installed rpmlint output Fri Oct 02 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-2 - Added Requires: pkgconfig - Mentioned to upstream the rpmlint warnings - http://www.rocklinux.net/pipermail/stfl/2009-October/000115.html - Minor spec changes Sun Jun 28 2009 Byron Clark <byron@theclarkfamily.name> 0.21-1 - New upstream release - Stop placing _stfl.so in lib-dynload - Add patch to properly create soname symlink for shared lib. Wed Jun 10 2009 Byron Clark <byron@theclarkfamily.name> 0.20-5 - Stop using both python_sitelib and python_sitearch - Modify stfl-pythonpaths.patch to only use python_sitearch Sat Jun 6 2009 Byron Clark <byron@theclarkfamily.name> 0.20-4 - Don't explicitly require python and perl Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-3 - Use the patches that have been sent upstream Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-2 - Add the minimal docs Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-1 - Initial release
2009-10-22 09:01:25 +00:00
%install
make install DESTDIR=%{buildroot}
- Removed empty %%doc - Changed sed commands Tue Oct 06 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-6 - Changed CFLAGS again Tue Oct 06 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-5 - Better use of sed - Fixed CFLAGS - Use of rm instead of exclude - Removed empty doc Mon Oct 05 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-4 - Removed unneeded requires - Removed dupe docs - removed patches and make use of sed - fixed stfl.pc.in for x86_64 Fri Oct 02 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-3 - fixed installed rpmlint output Fri Oct 02 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-2 - Added Requires: pkgconfig - Mentioned to upstream the rpmlint warnings - http://www.rocklinux.net/pipermail/stfl/2009-October/000115.html - Minor spec changes Sun Jun 28 2009 Byron Clark <byron@theclarkfamily.name> 0.21-1 - New upstream release - Stop placing _stfl.so in lib-dynload - Add patch to properly create soname symlink for shared lib. Wed Jun 10 2009 Byron Clark <byron@theclarkfamily.name> 0.20-5 - Stop using both python_sitelib and python_sitearch - Modify stfl-pythonpaths.patch to only use python_sitearch Sat Jun 6 2009 Byron Clark <byron@theclarkfamily.name> 0.20-4 - Don't explicitly require python and perl Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-3 - Use the patches that have been sent upstream Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-2 - Add the minimal docs Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-1 - Initial release
2009-10-22 09:01:25 +00:00
# give the shared libraries executable permissions so they get stripped
# also fixes the 0555 permissions on the perl bindings
find %{buildroot} -name '*.so' -exec chmod 755 {} ';'
# perl ignores empty .bs files
find %{buildroot} -name '*.bs' -size 0c -exec rm -f {} ';'
# fedora doesn't ship static libraries
rm -f %{buildroot}%{_libdir}/libstfl.a
## remove unneeded files
rm -f %{buildroot}%{perl_vendorarch}/example.pl
rm -f %{buildroot}%{perl_vendorarch}/auto/stfl/.packlist
rm -f %{buildroot}%{perl_archlib}/perllocal.pod
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc README COPYING
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root,-)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/stfl.pc
%files perl
%defattr(-,root,root,-)
%dir %{perl_vendorarch}/auto/stfl
%{perl_vendorarch}/*.pm
%{perl_vendorarch}/auto/stfl/*
%files python
%defattr(-,root,root,-)
%{python_sitearch}/stfl.py*
%{python_sitearch}/_stfl.so
%files ruby
%defattr(-,root,root,-)
2012-02-08 09:46:20 +00:00
%{ruby_vendorarchdir}/stfl.so
- Removed empty %%doc - Changed sed commands Tue Oct 06 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-6 - Changed CFLAGS again Tue Oct 06 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-5 - Better use of sed - Fixed CFLAGS - Use of rm instead of exclude - Removed empty doc Mon Oct 05 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-4 - Removed unneeded requires - Removed dupe docs - removed patches and make use of sed - fixed stfl.pc.in for x86_64 Fri Oct 02 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-3 - fixed installed rpmlint output Fri Oct 02 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-2 - Added Requires: pkgconfig - Mentioned to upstream the rpmlint warnings - http://www.rocklinux.net/pipermail/stfl/2009-October/000115.html - Minor spec changes Sun Jun 28 2009 Byron Clark <byron@theclarkfamily.name> 0.21-1 - New upstream release - Stop placing _stfl.so in lib-dynload - Add patch to properly create soname symlink for shared lib. Wed Jun 10 2009 Byron Clark <byron@theclarkfamily.name> 0.20-5 - Stop using both python_sitelib and python_sitearch - Modify stfl-pythonpaths.patch to only use python_sitearch Sat Jun 6 2009 Byron Clark <byron@theclarkfamily.name> 0.20-4 - Don't explicitly require python and perl Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-3 - Use the patches that have been sent upstream Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-2 - Add the minimal docs Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-1 - Initial release
2009-10-22 09:01:25 +00:00
2011-07-07 02:29:42 +00:00
- Removed empty %%doc - Changed sed commands Tue Oct 06 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-6 - Changed CFLAGS again Tue Oct 06 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-5 - Better use of sed - Fixed CFLAGS - Use of rm instead of exclude - Removed empty doc Mon Oct 05 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-4 - Removed unneeded requires - Removed dupe docs - removed patches and make use of sed - fixed stfl.pc.in for x86_64 Fri Oct 02 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-3 - fixed installed rpmlint output Fri Oct 02 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-2 - Added Requires: pkgconfig - Mentioned to upstream the rpmlint warnings - http://www.rocklinux.net/pipermail/stfl/2009-October/000115.html - Minor spec changes Sun Jun 28 2009 Byron Clark <byron@theclarkfamily.name> 0.21-1 - New upstream release - Stop placing _stfl.so in lib-dynload - Add patch to properly create soname symlink for shared lib. Wed Jun 10 2009 Byron Clark <byron@theclarkfamily.name> 0.20-5 - Stop using both python_sitelib and python_sitearch - Modify stfl-pythonpaths.patch to only use python_sitearch Sat Jun 6 2009 Byron Clark <byron@theclarkfamily.name> 0.20-4 - Don't explicitly require python and perl Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-3 - Use the patches that have been sent upstream Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-2 - Add the minimal docs Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-1 - Initial release
2009-10-22 09:01:25 +00:00
%changelog
2012-02-08 09:46:20 +00:00
* Wed Feb 08 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 0.21-17
- Rebuilt for Ruby 1.9.3.
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2011-06-17 19:43:51 +00:00
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.21-15
- Perl mass rebuild
2011-06-10 12:16:06 +00:00
* Fri Jun 10 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.21-14
- Perl 5.14 mass rebuild
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Wed Sep 29 2010 Dan Horák <dan[at]danny.cz> 0.21-12
- prefix/libdir handling is broken in the Makefile chains
2010-09-07 07:59:01 +00:00
* Tue Sep 07 2010 thomas Janssen <thomasj@fedoraproject.org 0.21-11
- find out what FTBFS
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.21-10
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
2010-06-02 08:23:45 +00:00
* Wed Jun 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.21-9
- Mass rebuild with perl-5.12.0
2009-12-07 01:47:07 +00:00
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.21-8
- rebuild against perl 5.10.1
- Removed empty %%doc - Changed sed commands Tue Oct 06 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-6 - Changed CFLAGS again Tue Oct 06 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-5 - Better use of sed - Fixed CFLAGS - Use of rm instead of exclude - Removed empty doc Mon Oct 05 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-4 - Removed unneeded requires - Removed dupe docs - removed patches and make use of sed - fixed stfl.pc.in for x86_64 Fri Oct 02 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-3 - fixed installed rpmlint output Fri Oct 02 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-2 - Added Requires: pkgconfig - Mentioned to upstream the rpmlint warnings - http://www.rocklinux.net/pipermail/stfl/2009-October/000115.html - Minor spec changes Sun Jun 28 2009 Byron Clark <byron@theclarkfamily.name> 0.21-1 - New upstream release - Stop placing _stfl.so in lib-dynload - Add patch to properly create soname symlink for shared lib. Wed Jun 10 2009 Byron Clark <byron@theclarkfamily.name> 0.20-5 - Stop using both python_sitelib and python_sitearch - Modify stfl-pythonpaths.patch to only use python_sitearch Sat Jun 6 2009 Byron Clark <byron@theclarkfamily.name> 0.20-4 - Don't explicitly require python and perl Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-3 - Use the patches that have been sent upstream Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-2 - Add the minimal docs Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-1 - Initial release
2009-10-22 09:01:25 +00:00
* Tue Oct 20 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-7
- Removed empty %%doc
- Changed sed commands
* Tue Oct 06 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-6
- Changed CFLAGS again
* Tue Oct 06 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-5
- Better use of sed
- Fixed CFLAGS
- Use of rm instead of exclude
- Removed empty doc
* Mon Oct 05 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-4
- Removed unneeded requires
- Removed dupe docs
- removed patches and make use of sed
- fixed stfl.pc.in for x86_64
* Fri Oct 02 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-3
- fixed installed rpmlint output
* Fri Oct 02 2009 Thomas Janssen <thomasj@fedoraproject.org> 0.21-2
- Added Requires: pkgconfig
- Mentioned to upstream the rpmlint warnings
- http://www.rocklinux.net/pipermail/stfl/2009-October/000115.html
- Minor spec changes
* Sun Jun 28 2009 Byron Clark <byron@theclarkfamily.name> 0.21-1
- New upstream release
- Stop placing _stfl.so in lib-dynload
- Add patch to properly create soname symlink for shared lib.
* Wed Jun 10 2009 Byron Clark <byron@theclarkfamily.name> 0.20-5
- Stop using both python_sitelib and python_sitearch
- Modify stfl-pythonpaths.patch to only use python_sitearch
* Sat Jun 6 2009 Byron Clark <byron@theclarkfamily.name> 0.20-4
- Don't explicitly require python and perl
* Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-3
- Use the patches that have been sent upstream
* Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-2
- Add the minimal docs
* Thu May 21 2009 Byron Clark <byron@theclarkfamily.name> 0.20-1
- Initial release