- Update to 3.1
- Minor spec file changes according to the latest guidelines
This commit is contained in:
parent
79ae01bdfa
commit
a52a28581f
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
iniparser3.0b.tar.gz
|
||||
/iniparser-3.0.tar.gz
|
||||
/iniparser-3.1.tar.gz
|
||||
|
@ -1,13 +1,12 @@
|
||||
Name: iniparser
|
||||
Version: 3.0
|
||||
Release: 2%{?dist}
|
||||
Version: 3.1
|
||||
Release: 1%{?dist}
|
||||
Summary: C library for parsing "INI-style" files
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: MIT
|
||||
URL: http://ndevilla.free.fr/iniparser/
|
||||
Source0: http://ndevilla.free.fr/iniparser/iniparser-3.0.tar.gz
|
||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||
URL: http://ndevilla.free.fr/%{name}/
|
||||
Source0: http://ndevilla.free.fr/%{name}/%{name}-%{version}.tar.gz
|
||||
|
||||
%description
|
||||
iniParser is an ANSI C library to parse "INI-style" files, often used to
|
||||
@ -35,31 +34,29 @@ sed -i 's|^CFLAGS|CFLAGS = %{optflags} -fPIC\nNOCFLAGS|' Makefile
|
||||
make %{?_smp_mflags} libiniparser.so
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
# iniParser doesn't have a 'make install' of its own :(
|
||||
install -d %{buildroot}%{_includedir} %{buildroot}%{_libdir}
|
||||
install -m 644 -t %{buildroot}%{_includedir}/ src/dictionary.h src/iniparser.h
|
||||
install -m 755 -t %{buildroot}%{_libdir}/ libiniparser.so.0
|
||||
ln -s libiniparser.so.0 %{buildroot}%{_libdir}/libiniparser.so
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README LICENSE
|
||||
%{_libdir}/libiniparser.so.0
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/libiniparser.so
|
||||
%{_includedir}/*.h
|
||||
|
||||
%changelog
|
||||
* Fri Aug 10 2012 Jaromir Capik <jcapik@redhat.com> - 3.1-1
|
||||
- Update to 3.1
|
||||
- Minor spec file changes according to the latest guidelines
|
||||
|
||||
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user