Mass letters "e" and "f" update, one or more apply :

- Drop epoch: 0
- Remove %{epoch} requirements in sub-packages
- Remove trailing white spaces
- Keep consistent between spaces and tabs
This commit is contained in:
Matthias Saou 2005-03-03 20:33:53 +00:00
parent c25fc1e6f8
commit 5f5f35298b

View File

@ -1,29 +1,27 @@
Summary: A C++ user interface toolkit for X11, Win32, and MacOS X
Name: fltk
Version: 1.1.4
Release: 8
Epoch: 0
License: LGPL with exceptions
Group: System Environment/Libraries
URL: http://www.fltk.org/
Source0: %{name}-%{version}%{?extraversion}-source.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Summary: C++ user interface toolkit for X11, Win32, and MacOS X
Name: fltk
Version: 1.1.4
Release: 8
License: LGPL with exceptions
Group: System Environment/Libraries
URL: http://www.fltk.org/
Source0: %{name}-%{version}%{?extraversion}-source.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: libjpeg-devel zlib-devel libpng-devel XFree86-devel
BuildRequires: /usr/lib/pkgconfig/xft.pc pkgconfig
BuildRequires: ImageMagick desktop-file-utils man
%package devel
Summary: Development package for %{name}
Group: Development/Libraries
Requires: %{name} = %{epoch}:%{version}-%{release}
Summary: Development package for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: XFree86-devel libstdc++-devel /usr/lib/pkgconfig/xft.pc
%package fluid
Summary: Fast Light User Interface Designer
Group: Development/Tools
Requires: %{name}-devel = %{epoch}:%{version}-%{release}
Summary: Fast Light User Interface Designer
Group: Development/Tools
Requires: %{name}-devel = %{version}-%{release}
# -----------------------------------------------------------------------------
%description
FLTK (pronounced "fulltick") is a cross-platform C++ GUI toolkit for
@ -44,12 +42,10 @@ OpenGL and its built-in GLUT emulation.
fluid stands for the Fast Light User Interface Designer. It is an
interactive GUI designer for FLTK.
# -----------------------------------------------------------------------------
%prep
%setup -q -n %{name}-%{version}%{?extraversion}
# -----------------------------------------------------------------------------
%build
perl -pi -e "s^\\\$prefix/share/doc/fltk^$RPM_DOC_DIR/%{name}-devel-%{version}^" configure
@ -58,7 +54,6 @@ export LDFLAGS="$(pkg-config xft --libs)"
%configure --enable-shared --enable-threads --enable-xdbe --enable-xft
make %{?_smp_mflags}
# -----------------------------------------------------------------------------
%install
rm -rf $RPM_BUILD_ROOT __documentation
@ -85,14 +80,12 @@ desktop-file-install --vendor fedora \
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
convert -resize 48x48 documentation/FL.gif \
$RPM_BUILD_ROOT%{_datadir}/pixmaps/fluid.png
$RPM_BUILD_ROOT%{_datadir}/pixmaps/fluid.png
# -----------------------------------------------------------------------------
%clean
rm -rf $RPM_BUILD_ROOT
# -----------------------------------------------------------------------------
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
@ -129,7 +122,6 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/applications/*fluid.desktop
%{_datadir}/pixmaps/fluid.png
# -----------------------------------------------------------------------------
%changelog
* Thu Nov 20 2003 Dams <anvil[AT]livna.org> 0:1.1.4-0.fdr.8