[2784] | 1 | %global _missing_doc_files_terminate_build 0 |
---|
| 2 | |
---|
| 3 | Summary: Data Type Library |
---|
| 4 | Name: libeina |
---|
[4454] | 5 | Version: 1.0.1 |
---|
| 6 | Release: 1%{?_dist_release} |
---|
[2784] | 7 | |
---|
| 8 | License: LGPLv2+ |
---|
| 9 | Group: System Environment/Libraries |
---|
| 10 | URL: http://www.enlightenment.org/ |
---|
| 11 | |
---|
[4454] | 12 | Source: http://download.enlightenment.org/releases/eina-%{version}.tar.bz2 |
---|
[2784] | 13 | |
---|
[4454] | 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[2784] | 15 | BuildRequires: chrpath |
---|
| 16 | BuildRequires: pkgconfig |
---|
| 17 | BuildRequires: doxygen |
---|
| 18 | BuildRequires: check-devel |
---|
| 19 | |
---|
| 20 | %description |
---|
| 21 | Eina is a multi-platform library that provides optimized data types |
---|
| 22 | and useful tools for projects. |
---|
| 23 | |
---|
| 24 | %package devel |
---|
| 25 | Summary: Eina headers, documentation and test programs |
---|
| 26 | Group: Development/Libraries |
---|
| 27 | Requires: %{name} = %{version}-%{release} |
---|
| 28 | Requires: pkgconfig |
---|
| 29 | |
---|
| 30 | %description devel |
---|
| 31 | Headers, test programs and documentation for %{name}. |
---|
| 32 | |
---|
| 33 | %prep |
---|
| 34 | %setup -q -n eina-%{version} |
---|
| 35 | # Avoid lib64 rpaths |
---|
| 36 | %if "%{_libdir}" != "/usr/lib" |
---|
| 37 | sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' configure |
---|
| 38 | %endif |
---|
| 39 | |
---|
| 40 | %build |
---|
| 41 | %configure --disable-static |
---|
| 42 | ## Tested export for tests |
---|
| 43 | ## export LD_LIBRARY_PATH=$( pwd )/src/lib/.libs/libeina.so |
---|
| 44 | |
---|
| 45 | make %{?_smp_mflags} |
---|
| 46 | make doc %{?_smp_mflags} |
---|
| 47 | |
---|
| 48 | %install |
---|
| 49 | rm -rf %{buildroot} |
---|
| 50 | make install DESTDIR=%{buildroot} |
---|
| 51 | |
---|
| 52 | # remove unfinished manpages |
---|
| 53 | find doc/man/man3 -size -100c -delete |
---|
| 54 | |
---|
| 55 | for l in todo %{name}.dox |
---|
| 56 | do |
---|
| 57 | rm -f doc/man/man3/$l.3 |
---|
| 58 | done |
---|
| 59 | |
---|
| 60 | mkdir -p %{buildroot}%{_mandir}/man3 |
---|
| 61 | install -Dpm0644 doc/man/man3/* %{buildroot}%{_mandir}/man3 |
---|
| 62 | # remove libtool archive along with stripping |
---|
| 63 | find %{buildroot}/ -type f -iname '*.la' -exec rm {} \; |
---|
| 64 | find %{buildroot}/ -type f -iname '*.a' -exec rm {} \; |
---|
| 65 | |
---|
| 66 | ## Can be enabled when upstream fixed the tests |
---|
| 67 | ## needs --enable-tests with %%configure |
---|
| 68 | ## %check |
---|
| 69 | ## make check |
---|
| 70 | |
---|
| 71 | %clean |
---|
| 72 | rm -rf %{buildroot} |
---|
| 73 | |
---|
| 74 | %post -p /sbin/ldconfig |
---|
| 75 | |
---|
| 76 | %postun -p /sbin/ldconfig |
---|
| 77 | |
---|
| 78 | %files |
---|
| 79 | %defattr(-,root,root,-) |
---|
| 80 | # No ChangeLog included. Zero byte. |
---|
| 81 | %doc AUTHORS COPYING |
---|
| 82 | %{_libdir}/*.so.* |
---|
| 83 | #%{_libdir}/eina |
---|
| 84 | |
---|
| 85 | %files devel |
---|
| 86 | %defattr(-,root,root,-) |
---|
| 87 | %{_includedir}/* |
---|
| 88 | %{_mandir}/man3/* |
---|
| 89 | %{_libdir}/*.so |
---|
| 90 | %{_libdir}/pkgconfig/* |
---|
| 91 | |
---|
| 92 | %changelog |
---|
[4454] | 93 | * Mon Aug 1 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.1-1 |
---|
| 94 | - new upstream release |
---|
| 95 | |
---|
[2784] | 96 | * Sun Feb 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.0-3 |
---|
| 97 | - Initial build for Vine Linux |
---|
| 98 | |
---|
| 99 | * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2 |
---|
| 100 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 101 | |
---|
| 102 | * Mon Jan 31 2011 Thomas Janssen <thomasj@fedoraproject.org> 1.0.0-1 |
---|
| 103 | - final 1.0.0 release |
---|
| 104 | |
---|
| 105 | * Wed Dec 15 2010 Thomas Janssen <thomasj@fedoraproject.org> 1.0.0-0.1.beta3 |
---|
| 106 | - beta 3 release |
---|
| 107 | |
---|
| 108 | * Tue Nov 16 2010 Thomas Janssen <thomasj@fedoraproject.org> 1.0.0-0.1.beta2 |
---|
| 109 | - beta 2 release |
---|
| 110 | |
---|
| 111 | * Fri Nov 05 2010 Thomas Janssen <thomasj@fedoraproject.org> 1.0.0-0.1.beta1 |
---|
| 112 | - beta 1 release |
---|
| 113 | |
---|
| 114 | * Fri Jul 02 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.9.9.49898-1 |
---|
| 115 | - libeina 0.9.9.49898 snapshot release |
---|
| 116 | |
---|
| 117 | * Fri Jun 11 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.9.9.49539-1 |
---|
| 118 | - libeina 0.9.9.49539 snapshot release |
---|
| 119 | |
---|
| 120 | * Tue Feb 23 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.9.9.063-6 |
---|
| 121 | - Disabled tests again until they are fixed |
---|
| 122 | |
---|
| 123 | * Mon Feb 22 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.9.9.063-5 |
---|
| 124 | - Added missing BR doxygen check |
---|
| 125 | |
---|
| 126 | * Sun Feb 21 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.9.9.063-4 |
---|
| 127 | - added Requires for -devel |
---|
| 128 | - corrected license |
---|
| 129 | - enabled tests |
---|
| 130 | |
---|
| 131 | * Fri Feb 19 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.9.9.063-3 |
---|
| 132 | - name changed from eina-0 to libeina |
---|
| 133 | - spec fixes |
---|
| 134 | |
---|
| 135 | * Mon Feb 15 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.9.9.063-2 |
---|
| 136 | - added missing man pages |
---|
| 137 | |
---|
| 138 | * Mon Feb 15 2010 Thomas Janssen <thomasj@fedoraproject.org> 0.9.9.063-1 |
---|
| 139 | - Initial Fedora release |
---|
| 140 | |
---|