- 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
|
iniparser3.0b.tar.gz
|
||||||
/iniparser-3.0.tar.gz
|
/iniparser-3.0.tar.gz
|
||||||
|
/iniparser-3.1.tar.gz
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
Name: iniparser
|
Name: iniparser
|
||||||
Version: 3.0
|
Version: 3.1
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: C library for parsing "INI-style" files
|
Summary: C library for parsing "INI-style" files
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://ndevilla.free.fr/iniparser/
|
URL: http://ndevilla.free.fr/%{name}/
|
||||||
Source0: http://ndevilla.free.fr/iniparser/iniparser-3.0.tar.gz
|
Source0: http://ndevilla.free.fr/%{name}/%{name}-%{version}.tar.gz
|
||||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
iniParser is an ANSI C library to parse "INI-style" files, often used to
|
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
|
make %{?_smp_mflags} libiniparser.so
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
|
||||||
# iniParser doesn't have a 'make install' of its own :(
|
# iniParser doesn't have a 'make install' of its own :(
|
||||||
install -d %{buildroot}%{_includedir} %{buildroot}%{_libdir}
|
install -d %{buildroot}%{_includedir} %{buildroot}%{_libdir}
|
||||||
install -m 644 -t %{buildroot}%{_includedir}/ src/dictionary.h src/iniparser.h
|
install -m 644 -t %{buildroot}%{_includedir}/ src/dictionary.h src/iniparser.h
|
||||||
install -m 755 -t %{buildroot}%{_libdir}/ libiniparser.so.0
|
install -m 755 -t %{buildroot}%{_libdir}/ libiniparser.so.0
|
||||||
ln -s libiniparser.so.0 %{buildroot}%{_libdir}/libiniparser.so
|
ln -s libiniparser.so.0 %{buildroot}%{_libdir}/libiniparser.so
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc README LICENSE
|
%doc README LICENSE
|
||||||
%{_libdir}/libiniparser.so.0
|
%{_libdir}/libiniparser.so.0
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_libdir}/libiniparser.so
|
%{_libdir}/libiniparser.so
|
||||||
%{_includedir}/*.h
|
%{_includedir}/*.h
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user