Finished RPM spec file

This commit is contained in:
Gergely Polonkai 2013-09-16 22:37:37 +02:00
parent 04493abe7f
commit 4fd39664cc
4 changed files with 6 additions and 3 deletions

View File

@ -17,6 +17,7 @@ fi
AC_SUBST([SWE_GLIB_MAJOR_VERSION], [swe_glib_major_version])
AC_SUBST([SWE_GLIB_MINOR_VERSION], [swe_glib_minor_version])
AC_SUBST([SWE_GLIB_MICRO_VERSION], [swe_glib_micro_version])
AC_SUBST([SWE_GLIB_VERSION], [swe_glib_version])
AC_SUBST([SWE_GLIB_API_VERSION], [swe_glib_api_version])
AC_SUBST([SWE_GLIB_API_VERSION_U], [AS_TR_SH([swe_glib_api_version])])

View File

@ -59,5 +59,7 @@ sweph_DATA = \
sweph-data/seplm54.se1 \
$(NULL)
EXTRA_DIST = $(sweph_DATA)
EXTRA_DIST = \
$(sweph_DATA) \
swe-glib-$(SWE_GLIB_VERSION).spec

View File

@ -6,7 +6,7 @@ Summary: A GLib style wrapper library around the Swiss Ephemeris library, create
Group: Development/Libraries
License: LGPLv3+
URL: http://gergely.polonkai.eu/swe-glib/
Source0: %{name}-%{version}.tar.gz
Source: https://github.com/gergelypolonkai/%{name}/archive/v%{version}.tar.gz
BuildRequires: pkgconfig
BuildRequires: glib2-devel

View File

@ -28,7 +28,7 @@ BUILT_SOURCES = gswe-enumtypes.c gswe-enumtypes.h
CLEANFILES = $(BUILT_SOURCES)
EXTRA_DIST = gswe-enumtypes.h.template gswe-enumtypes.c.template swe-glib-private.h
EXTRA_DIST = gswe-enumtypes.h.template gswe-enumtypes.c.template swe-glib-private.h $(INST_H_SRC_FILES)
gswe-enumtypes.h: $(gswe_headers) gswe-enumtypes.h.template
$(GLIB_MKENUMS) --template $(filter %.template,$^) $(filter-out %.template,$^) > \