Name: libtifiles2 Epoch: 1 Version: 1.1.1 Release: 1 Vendor: LPG (http://lpg.ticalc.org) Packager: Kevin Kofler Source: %{name}-%{version}.tar.bz2 Group: System Environment/Libraries License: GPLv2+ BuildRequires: libticonv-devel >= 1:1.1.0, zlib-devel, glib2-devel >= 2.6.0, tfdocgen BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Summary: Ti File Format management %description Ti File Format management %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{epoch}:%{version}-%{release} Requires: pkgconfig Requires: libticonv-devel >= 1:1.1.0, glib2-devel >= 2.6.0 %description devel This package contains the files necessary to develop applications using the %{name} library. %package apidocs Summary: API documentation for %{name} Group: Development/Documentation Requires: %{name} = %{epoch}:%{version}-%{release} %description apidocs This package contains the API documentation for the %{name} library in HTML format. %prep %setup %build CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} --libdir=%{_libdir} --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 rm -f $RPM_BUILD_ROOT%{_libdir}/libtifiles2.la %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %{_libdir}/libtifiles2.so.* %dir %{_datadir}/doc/%{name} %{_datadir}/doc/%{name}/AUTHORS %{_datadir}/doc/%{name}/COPYING %{_datadir}/doc/%{name}/ChangeLog %{_datadir}/doc/%{name}/README %files devel %defattr(-, root, root) %{_includedir}/tilp2 %{_libdir}/libtifiles2.so %{_libdir}/pkgconfig/tifiles2.pc %files apidocs %defattr(-, root, root) %{_datadir}/doc/%{name}/html %changelog * Fri Mar 28 2008 Kevin Kofler 1:1.1.1-1 Update to 1.1.1. * Sun Jan 13 2008 Kevin Kofler 1:1.1.0-1 Update to 1.1.0. Specify GPL version in License tag. Require libticonv >= 1.1.0. * Sat Oct 13 2007 Kevin Kofler 1:1.0.8-1 Update to 1.0.8. * Wed Jun 27 2007 Kevin Kofler 1:1.0.7-1 Update to 1.0.7. Update libticonv-devel BuildRequires. * Wed May 16 2007 Kevin Kofler Drop -n libtifiles, the tarball uses name-version format now. Add BR tfdocgen and apidocs subpackage. Package non-API documentation files in main package. * Mon Apr 16 2007 Kevin Kofler 1:1.0.5-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. * Mon Sep 25 2006 Kevin Kofler Split out -devel into separate subpackage. Own /usr/include/tilp2 in -devel. Use more efficient method to call ldconfig in post/postun. * Thu Jul 20 2006 Kevin Kofler Libdir fixes for lib64 platforms. Add Provides for future -devel subpackage. Use libtifoo-devel instead of libtifoo in BuildRequires. * Thu Jun 29 2006 Kevin Kofler No more macros.h. * Fri Jun 16 2006 Kevin Kofler Remove redundant %%defattr at the end of %%files. * Wed Jun 7 2006 Kevin Kofler Update file list (stdints.h now numbered to avoid conflicts). Don't delete stdints.h anymore. Don't require libticables2 anymore. * Wed May 24 2006 Kevin Kofler Don't package .la file (not needed under Fedora). Make sure permissions are set correctly when building as non-root. * 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 License now GPL. Add missing glib2 BuildRequires/Requires. Now requires libticonv. * Sat Feb 11 2006 Kevin Kofler Update setup -n to use the new directory name (libtifiles, not libtifiles2). * Sun Jan 29 2006 Kevin Kofler BuildRequire zlib-devel, Require zlib. Strip library because -s gets ignored somehow. * Wed Jan 4 2006 Kevin Kofler Change Vendor to LPG. * Wed Sep 14 2005 Kevin Kofler Update to libtifiles-2: new package name, updated file list and dependencies. * Sun Jun 19 2005 Kevin Kofler Change Copyright to License. Don't list file_ver.h twice. * Mon May 2 2005 Kevin Kofler First Fedora RPM.