Name: tilp2 Epoch: 1 Version: 1.04 Release: 1 Vendor: LPG (http://lpg.ticalc.org) Packager: Tyler Cassidy Source: %{name}-%{version}.tar.bz2 Group: Applications/Communications License: GPL BuildRequires: libticables2-devel >= 1:1.0.4, libticonv-devel >= 1:1.0.0, libtifiles2-devel >= 1:1.0.4, libticalcs2-devel >= 1:1.0.5, glib2-devel >= 2.6.0, gtk2-devel >= 2.6.0, libglade2-devel >= 2.4.0, zlib-devel, kdelibs-devel >= 6:3.0, desktop-file-utils >= 0.10 Requires: xdg-utils >= 1.0.0 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Summary: TiLP is a TI<->PC linking program Obsoletes: tilp < 20050828 %description TiLP is a TI<->PC linking program %prep %setup %build CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir} --disable-nls make %install if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi mkdir -p $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT mkdir -p ${RPM_BUILD_ROOT}/usr/share/applications cat >${RPM_BUILD_ROOT}/usr/share/applications/tilp.desktop <${RPM_BUILD_ROOT}%{_datadir}/mime/packages/tilp.xml < TI File Fichier TI EOF %post update-mime-database %{_datadir}/mime > /dev/null 2>&1 || : update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : %postun update-mime-database %{_datadir}/mime > /dev/null 2>&1 || : update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) /usr/bin/tilp %{_mandir}/man1/tilp* /usr/share/tilp2 %{_datadir}/applications/lpg-tilp.desktop %{_datadir}/mime/packages/tilp.xml %changelog * Tue Jul 10 2007 Tyler Cassidy 1:1.04-1 Modified for CentOS 5. * Wed May 16 2007 Kevin Kofler Drop -n tilp, the tarball uses name-version format now. * Mon Apr 16 2007 Kevin Kofler 1:1.04-1 Bump Epoch. Use real version number instead of date. Also use real version numbers and Epoch 1 for the dependencies. * Mon Apr 16 2007 Kevin Kofler Remove redundant explicit Requires. Don't BuildRequire newer versions than actually needed. Don't require desktop-file-utils and shared-mime-info for post and postun (not needed in FC5+). * Fri Apr 6 2007 Kevin Kofler BuildRequire kdelibs-devel, Require kdelibs. * Wed Feb 7 2007 Kevin Kofler Require xdg-utils. * Sun Nov 12 2006 Kevin Kofler Drop tilp-2 -> tilp symlinks, as the executable is now named just tilp again. * Thu Jul 20 2006 Kevin Kofler Libdir fixes for lib64 platforms. Use libtifoo-devel instead of libtifoo in BuildRequires. Pass mandir explicitly so the manfile directory doesn't depend on the autoconf version used to generate configure. * Fri Jun 16 2006 Kevin Kofler Remove redundant %%defattr at the end of %%files. * Wed May 24 2006 Kevin Kofler Make sure permissions are set correctly when building as non-root. --enable-exit-homedir not needed anymore (now default). Allow manpages to be gzipped (done by rpm when using redhat-rpm-config). Add X-KDE-Utilities-Peripherals category to .desktop file. * Mon May 22 2006 Kevin Kofler Build debuginfo RPM. Use the system-wide default RPM_OPT_FLAGS instead of my own. Use BuildRoot recommended by the Fedora packaging guidelines. * Sun May 7 2006 Kevin Kofler Now requires libticonv. * Sat Feb 11 2006 Kevin Kofler Update setup -n to use the new directory name (tilp, not tilp2). * Wed Jan 4 2006 Kevin Kofler Change Vendor to LPG. * Wed Sep 14 2005 Kevin Kofler Update to TiLP 2: new package name, new dependencies, obsoletes the old package, some files moved, some compatibility symlinks added, .desktop file updated for new icon location, dropped obsolete tilp-no-obsolete-desktop-and-mime-entries.diff patch. * Mon Jun 20 2005 Kevin Kofler Revert -Wl,--export-dynamic addition (now upstream). * Sun Jun 19 2005 Kevin Kofler Bump version requirements for FC4. Change Copyright to License. Add missing -Wl,--export-dynamic. * Fri May 27 2005 Kevin Kofler Add Requires on zlib and BuildRequires on zlib-devel. * Fri May 6 2005 Kevin Kofler Menu entry and MIME type support. * Mon May 2 2005 Kevin Kofler First Fedora RPM.