rpms/SILLY/FC-5 SILLY.spec,NONE,1.1 sources,1.1,1.2
Ian Chapman (oddsocks)
fedora-extras-commits at redhat.com
Wed Mar 14 01:23:25 UTC 2007
- Previous message (by thread): rpms/SILLY/devel SILLY.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/SILLY/FC-6 SILLY.spec,NONE,1.1 sources,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: oddsocks
Update of /cvs/extras/rpms/SILLY/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5727
Modified Files:
sources
Added Files:
SILLY.spec
Log Message:
--- NEW FILE SILLY.spec ---
Name: SILLY
Version: 0.1.0
Release: 2%{?dist}
Summary: Simple and easy to use library for image loading
Group: System Environment/Libraries
License: MIT
URL: http://www.cegui.org.uk
Source0: http://downloads.sourceforge.net/crayzedsgui/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: doxygen
BuildRequires: graphviz
BuildRequires: libpng-devel
BuildRequires: libjpeg-devel
BuildRequires: pkgconfig >= 0.9.0
%description
The Simple Image Loading LibrarY is a companion library of the CEGUI project.
It provides a simple and easy to use library for image loading.
It currently supports the following formats:
TGA (Targa)
JPEG (Joint Photographic Experts Group)
PNG (Portable Network Graphics)
%package devel
Summary: Development files for SILLY
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
%description devel
Development files for SILLY
%prep
%setup -q
# Don't use full path, otherwise it shows buildroot as part of the path
sed -i 's|\(FULL_PATH_NAMES[ \t][ \t]*= \)YES|\1NO|' Doxyfile
# Get rid of some useless noise
sed -i 's|\(WARNINGS[ \t][ \t]*= \)YES|\1NO|' Doxyfile
sed -i 's|\(WARN_IF_UNDOCUMENTED[ \t][ \t]*= \)YES|\1NO|' Doxyfile
sed -i 's|\(WARN_IF_DOC_ERROR[ \t][ \t]*= \)YES|\1NO|' Doxyfile
# Generate developer man pages
sed -i 's|\(GENERATE_MAN[ \t][ \t]*= \)NO|\1YES|' Doxyfile
#Fix encoding on AUTHORS
iconv -f iso8859-1 AUTHORS -t utf8 > AUTHORS.conv && /bin/mv -f AUTHORS.conv AUTHORS
%build
%configure --disable-static --with-pic
make %{?_smp_mflags}
#Build developer documentation
doxygen
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot} INSTALL="install -p"
#Install man pages
mkdir -p %{buildroot}%{_mandir}/man3
cp -a doc/man/man3/* %{buildroot}%{_mandir}/man3
#Fix so that RPM's strip works (only strips files marked executable)
chmod 0755 %{buildroot}%{_libdir}/*.so.*
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_libdir}/*.so.*
%exclude %{_libdir}/*.la
%doc AUTHORS ChangeLog COPYING
%files devel
%defattr(-,root,root,-)
%{_includedir}/%{name}
%{_libdir}/*.so
%{_libdir}/pkgconfig/%{name}.pc
%{_mandir}/man3/*
%doc doc/html
%changelog
* Sun Mar 11 2007 Ian Chapman <packages at amiga-hardware.com> 0.1.0-2%{?dist}
- Preserve timestamps on install
- Changed source URL
- Improved sed replacements
- Changed encoding of AUTHORS to UTF-8
* Mon Feb 26 2007 Ian Chapman <packages at amiga-hardware.com> 0.1.0-1%{?dist}
- Initial Release
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/SILLY/FC-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 13 Mar 2007 22:59:32 -0000 1.1
+++ sources 14 Mar 2007 01:22:51 -0000 1.2
@@ -0,0 +1 @@
+c3721547fced7792a36ffc9ce6ec23fd SILLY-0.1.0.tar.gz
- Previous message (by thread): rpms/SILLY/devel SILLY.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/SILLY/FC-6 SILLY.spec,NONE,1.1 sources,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list