Skip to content

Commit

Permalink
switch back to fully versioned subpackage dependencies
Browse files Browse the repository at this point in the history
add doxygen devel-doc documentation for the shared library
  • Loading branch information
Carl Byington committed Apr 10, 2009
1 parent e5b1e3d commit 20dfa36
Show file tree
Hide file tree
Showing 8 changed files with 1,220 additions and 24 deletions.
5 changes: 3 additions & 2 deletions ChangeLog
@@ -1,7 +1,8 @@
LibPST 0.6.36 (2009-04-09) LibPST 0.6.36 (2009-04-09)
=============================== ===============================
* remove fully versioned -libs dependency from main package. * spec file cleanup with multiple sub packages.
* other spec file cleanup * add doxygen devel-doc documentation for the shared library.
* switch back to fully versioned subpackage dependencies.


LibPST 0.6.35 (2009-04-08) LibPST 0.6.35 (2009-04-08)
=============================== ===============================
Expand Down
8 changes: 4 additions & 4 deletions Makefile.cvs
Expand Up @@ -8,7 +8,7 @@ all:
autoheader autoheader
automake automake
autoconf autoconf
./configure >/dev/null ./configure --enable-libpst-shared >/dev/null
rm -rf html.internal #rm -rf html.internal
doxygen #doxygen
tar cfz libpst.html.tar.gz html.internal #tar cfz libpst.html.tar.gz html.internal
1 change: 0 additions & 1 deletion README
Expand Up @@ -9,7 +9,6 @@ Starting with an unpacked tarball, try this:
Starting with a mercurial working directory, try this: Starting with a mercurial working directory, try this:


make -f *cvs make -f *cvs
./configure >/dev/null
(cd xml; make; make distclean) (cd xml; make; make distclean)
make distcheck make distcheck


2 changes: 1 addition & 1 deletion debian/libpst-dev.install
@@ -1,3 +1,3 @@
debian/tmp/usr/include/libpst debian/tmp/usr/include/libpst*
debian/tmp/usr/lib/libpst*.so debian/tmp/usr/lib/libpst*.so
debian/tmp/usr/lib/pkgconfig/* debian/tmp/usr/lib/pkgconfig/*
2 changes: 1 addition & 1 deletion html/Makefile.am
@@ -1,3 +1,3 @@
htmldir = ${datadir}/doc/@PACKAGE@-@VERSION@ htmldir = ${datadir}/doc/@PACKAGE@-@VERSION@
html_DATA = $(wildcard *.html) $(wildcard *.pdf) html_DATA = $(wildcard *.html) $(wildcard *.pdf) $(wildcard devel/*)
EXTRA_DIST = $(html_DATA) EXTRA_DIST = $(html_DATA)
45 changes: 39 additions & 6 deletions libpst.spec.in
Expand Up @@ -8,6 +8,7 @@ Source: http://www.five-ten-sg.com/%{name}/packages/%{name}-%{versio
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
URL: http://www.five-ten-sg.com/%{name}/ URL: http://www.five-ten-sg.com/%{name}/
Requires: ImageMagick Requires: ImageMagick
Requires: %{name}-libs = %{version}-%{release}
BuildRequires: ImageMagick freetype-devel gd-devel libjpeg-devel zlib-devel BuildRequires: ImageMagick freetype-devel gd-devel libjpeg-devel zlib-devel


%description %description
Expand All @@ -23,22 +24,43 @@ Summary: Shared library used by the pst utilities
Group: Development/Libraries Group: Development/Libraries


%description libs %description libs
libpst-libs contains the shared library used by the pst utilities. The libpst-libs package contains the shared library used by the pst
utilities.




%package devel %package devel
Summary: Library links and header files for libpst application development Summary: Library links and header files for libpst application development
Group: Development/Libraries Group: Development/Libraries
Requires: pkgconfig freetype-devel gd-devel libjpeg-devel zlib-devel Requires: pkgconfig
Requires: %{name}-libs = %{version}-%{release} Requires: %{name}-libs = %{version}-%{release}


%description devel %description devel
libpst-devel contains the library links and header files you'll The libpst-devel package contains the library links and header files
need to develop applications using the libpst shared library. you'll need to develop applications using the libpst shared library.
You do not need to install it if you just want to use the libpst You do not need to install it if you just want to use the libpst
utilities. utilities.




%package devel-doc
Summary: Documentation for libpst.so for libpst application development
Group: Documentation
Requires: %{name}-doc = %{version}-%{release}

%description devel-doc
The libpst-devel-doc package contains the doxygen generated
documentation for the libpst.so shared library.


%package doc
Summary: Documentation for the pst utilities in html format
Group: Documentation

%description doc
The libpst-doc package contains the html documentation for the pst
utilities. You do not need to install it if you just want to use the
libpst utilities.




%prep %prep
%setup -q %setup -q
Expand Down Expand Up @@ -71,24 +93,35 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/* %{_bindir}/*
%{_mandir}/man1/* %{_mandir}/man1/*
%{_mandir}/man5/* %{_mandir}/man5/*
%{_datadir}/doc/%{name}-%{version}/




%files libs %files libs
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_libdir}/libpst.so.* %{_libdir}/libpst.so.*




%files devel-doc
%defattr(-,root,root,-)
%{_datadir}/doc/%{name}-%{version}/devel


%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_libdir}/libpst.so %{_libdir}/libpst.so
%{_includedir}/%{name}-@LIBPST_SO_MAJOR@/ %{_includedir}/%{name}-@LIBPST_SO_MAJOR@/
%{_libdir}/pkgconfig/libpst.pc %{_libdir}/pkgconfig/libpst.pc




%files doc
%defattr(-,root,root,-)
%{_datadir}/doc/%{name}-%{version}/



%changelog %changelog
* Thu Apr 09 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.36-1 * Thu Apr 09 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.36-1
- remove fully versioned -libs dependency from main package. - change to >= for -libs dependency from the main package.
- add -doc subpackage.
- other spec file cleanup - other spec file cleanup


* Wed Apr 08 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.35-1 * Wed Apr 08 2009 Carl Byington <carl@five-ten-sg.com> - 0.6.35-1
Expand Down

0 comments on commit 20dfa36

Please sign in to comment.