@ -1,6 +1,6 @@
Name: geany
Name: geany
Version: 0.13
Version: 0.14
Release: 2 %{?dist}
Release: 1 %{?dist}
Summary: A fast and lightweight IDE using GTK2
Summary: A fast and lightweight IDE using GTK2
Group: Development/Tools
Group: Development/Tools
@ -29,17 +29,17 @@ Some features:
- many supported filetypes like C, Java, PHP, HTML, Python, Perl, Pascal
- many supported filetypes like C, Java, PHP, HTML, Python, Perl, Pascal
- symbol lists
- symbol lists
%prep
%package devel
%setup -q
Summary: Header files for building Geany plug-ins
Group: Development/Tools
Requires: geany = %{version}-%{release}
# Fix incorrect version entry in desktop file
%description devel
sed -i -e 's/Version=1.1/Version=1.0/' geany.desktop.in.in
This package contains the header files and pkg-config file needed for building
Geany plug-ins. You do not need to install this package to use Geany.
# Fix docdir brutally for 0.13 - --docdir isn't proerly handled by configure
%prep
# XXX This should be removed for 0.14
%setup -q
pushd src
sed -i -e 's|/doc/geany/html|/doc/geany-%{version}/html|' main.c
popd
%build
%build
%configure --docdir=%{_docdir}/%{name}-%{version}
%configure --docdir=%{_docdir}/%{name}-%{version}
@ -57,7 +57,7 @@ sed -i 's/\r//' %{geany_docdir}/ScintillaLicense.txt
%find_lang %{name}
%find_lang %{name}
# Remove static library *.la files
# Remove static library *.la files
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
rm -rf $RPM_BUILD_ROOT%{_libdir}/geany/ *.la
%clean
%clean
rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT
@ -73,7 +73,19 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/doc/%{name}-%{version}
%{_datadir}/doc/%{name}-%{version}
%{_mandir}/man1/geany.1.gz
%{_mandir}/man1/geany.1.gz
%files devel
%defattr(-, root, root, -)
%{_includedir}/geany
%{_libdir}/pkgconfig/geany.pc
%changelog
%changelog
* Sun May 11 2008 Jonathan G. Underwood <jonathan.underwood@gmail.com> - 0.14-1
- Update to 0.14
- New -devel sub-package for header files
- Corectly remove the .la libtool files
- Remove hack relating to finding the system installed html files
- No longer correct the desktop file
* Mon Mar 24 2008 Jonathan G. Underwood <jonathan.underwood@gmail.com> - 0.13-2
* Mon Mar 24 2008 Jonathan G. Underwood <jonathan.underwood@gmail.com> - 0.13-2
- Fix docdir/doc_dir so geany correctly finds the system installed html docs (BZ
- Fix docdir/doc_dir so geany correctly finds the system installed html docs (BZ
438534)
438534)