source: projects/specs/branches/6/lib/libe/libeina/libeina-vl.spec @ 4454

Revision 4454, 3.6 KB checked in by inagaki, 13 years ago (diff)

update: libeina, eet

Line 
1%global _missing_doc_files_terminate_build 0
2
3Summary:        Data Type Library
4Name:           libeina
5Version:        1.0.1
6Release:        1%{?_dist_release}
7
8License:        LGPLv2+
9Group:          System Environment/Libraries
10URL:            http://www.enlightenment.org/
11
12Source:         http://download.enlightenment.org/releases/eina-%{version}.tar.bz2
13
14BuildRoot:      %{_tmppath}/%{name}-%{version}-root
15BuildRequires:  chrpath
16BuildRequires:  pkgconfig
17BuildRequires:  doxygen
18BuildRequires:  check-devel
19
20%description
21Eina is a multi-platform library that provides optimized data types
22and useful tools for projects.
23
24%package        devel
25Summary:        Eina headers, documentation and test programs
26Group:          Development/Libraries
27Requires:       %{name} = %{version}-%{release}
28Requires:       pkgconfig
29
30%description    devel
31Headers, test programs and documentation for %{name}.
32
33%prep
34%setup -q -n eina-%{version}
35# Avoid lib64 rpaths
36%if "%{_libdir}" != "/usr/lib"
37sed -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
45make %{?_smp_mflags}
46make doc %{?_smp_mflags}
47
48%install
49rm -rf %{buildroot}
50make install DESTDIR=%{buildroot}
51
52# remove unfinished manpages
53find doc/man/man3 -size -100c -delete
54
55for l in todo %{name}.dox
56do
57 rm -f doc/man/man3/$l.3
58done
59
60mkdir -p %{buildroot}%{_mandir}/man3
61install -Dpm0644 doc/man/man3/* %{buildroot}%{_mandir}/man3
62# remove libtool archive along with stripping
63find %{buildroot}/ -type f  -iname '*.la' -exec rm {} \;
64find %{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
72rm -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
93* Mon Aug  1 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.1-1
94- new upstream release
95
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
Note: See TracBrowser for help on using the repository browser.