source: projects/specs/trunk/e/eet/eet-vl.spec @ 4454

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

update: libeina, eet

Line 
1Name:           eet
2Summary:        Library for speedy data storage, retrieval, and compression
3Version:        1.4.1
4Release:        1%{?_dist_release}
5
6Group:          System Environment/Libraries
7License:        MIT
8URL:            http://web.enlightenment.org/p.php?p=about/efl/eet
9
10Source0:        http://download.enlightenment.org/releases/%{name}-%{version}.tar.bz2
11
12BuildRoot:      %{_tmppath}/%{name}-%{version}-root
13BuildRequires:  chrpath
14BuildRequires:  doxygen
15BuildRequires:  libeina-devel >= 1.0.1
16BuildRequires:  libjpeg-turbo-devel
17BuildRequires:  openssl-devel
18BuildRequires:  pkgconfig
19BuildRequires:  zlib-devel
20
21%description
22Eet is a tiny library designed to write an arbitary set of chunks of
23data to a file and optionally compress each chunk (very much like a
24zip file) and allow fast random-access reading of the file later
25on. It does not do zip as a zip itself has more complexity than is
26needed, and it was much simpler to implement this once here.
27
28It also can encode and decode data structures in memory, as well as
29image data for saving to eet files or sending across the network to
30other machines, or just writing to arbitary files on the system. All
31data is encoded in a platform independent way and can be written and
32read by any architecture.
33
34%package        devel
35Summary:        Development files for %{name}
36Summary(ja):    %{name} の開発用ファイル
37Group:          Development/Libraries
38Requires:       %{name} = %{version}-%{release}
39
40%description    devel
41The %{name}-devel package contains libraries and header files for
42developing applications that use %{name}.
43
44
45%prep
46%setup -q
47
48%build
49%configure --disable-static
50make %{?_smp_mflags}
51
52pushd doc
53make doc %{?_smp_mflags}
54popd
55
56%install
57rm -rf $RPM_BUILD_ROOT
58make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
59chrpath --delete $RPM_BUILD_ROOT%{_bindir}/%{name}
60find $RPM_BUILD_ROOT -name '*.la' -delete
61chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libeet.so.%{version}
62
63# remove unfinished manpages
64find doc/man/man3 -size -100c -delete
65
66for l in todo %{name}.dox
67do
68    rm -f doc/man/man3/$l.3
69done
70
71chmod -x doc/html/*
72
73install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man3
74install -Dpm0644 doc/man/man3/* $RPM_BUILD_ROOT%{_mandir}/man3
75
76# Rename overly generic manpage
77mv $RPM_BUILD_ROOT%{_mandir}/man3/deprecated.3 $RPM_BUILD_ROOT%{_mandir}/man3/eet-deprecated.3
78
79%clean
80rm -rf $RPM_BUILD_ROOT
81
82%post -p /sbin/ldconfig
83
84%postun -p /sbin/ldconfig
85
86
87%files
88%defattr(-,root,root,-)
89%doc AUTHORS ChangeLog COPYING README
90%{_bindir}/%{name}
91%{_libdir}/*.so.*
92
93%files devel
94%defattr(-,root,root,-)
95%doc doc/html
96%{_mandir}/man3/*
97%{_includedir}/*
98%{_libdir}/*.so
99%{_libdir}/pkgconfig/%{name}.pc
100
101
102%changelog
103* Mon Aug  1 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.4.1-1
104- new upstream release
105- resolve manpage conflict due to generic naming
106
107* Sun Feb 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.4.0-1
108- new upstream release
109- added BR: libeina-devel
110
111* Sat Jan 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.1.0-6
112- rebuild with openssl-1.0.0c
113- add BuildRequires: openssl-devel
114
115* Sun Sep 26 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.1.0-5
116- rebuilt with rpm-4.8.1 for pkg-config
117
118* Sun Aug 29 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.1.0-4
119- Initial build for Vine Linux
120
121* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-3
122- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
123
124* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2
125- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
126
127* Sat Nov 29 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 1.1.0-1
128- New upstream snapshot
129
130* Mon May 19 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 1.0.1-1
131- New upstream snapshot
132
133* Thu Apr 24 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 1.0.0-1
134- New upstream release, eet is out of beta now
135- Fixed pkg-config file
136
137* Sat Apr 19 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 0.9.99900-4
138- Added workaround for bug in eet.pc. Proper fix is commited upstream
139
140* Sat Apr 19 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 0.9.99900-3
141- Cleaned up documentation installation
142- Removed unneded dependency on zlib-devel from eet-devel
143
144* Sat Apr 19 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 0.9.99900-2
145- Fixed timestamp of source tarball
146- Preserve timestamps of installed files
147- Added pkgconfig to -devel dependencies
148- Added html docs
149
150* Fri Apr 10 2008 Pavel "Stalwart" Shevchuk <stlwrt@gmail.com> - 0.9.99900-1
151- Initial specfile for Eet
Note: See TracBrowser for help on using the repository browser.