Discussion:
[libdvdcss-devel] build: Generate RPM spec file from an autoconf template
Diego Biurrun
2014-10-20 17:10:21 UTC
Permalink
libdvdcss | branch: master | Diego Biurrun <***@biurrun.de> | Mon Oct 20 11:59:01 2014 +0200| [12ba391ec75dd389f1a4b094e4a475b364726334] | committer: Jean-Baptiste Kempf

build: Generate RPM spec file from an autoconf template

This allows filling in things like the library version number automatically.
http://git.videolan.org/gitweb.cgi/libdvdcss.git/?a=commit;h=12ba391ec75dd389f1a4b094e4a475b364726334
---

.gitignore | 1 +
configure.ac | 1 +
libdvdcss.spec => libdvdcss.spec.in | 6 +++---
3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/.gitignore b/.gitignore
index 3b03515..82241fa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,6 +10,7 @@
/depcomp
/install-sh
/libdvdcss.la
+/libdvdcss.spec
/libdvdcss*.tar.*
/libtool
/ltmain.sh
diff --git a/configure.ac b/configure.ac
index 860705f..6d58e96 100644
--- a/configure.ac
+++ b/configure.ac
@@ -239,6 +239,7 @@ AM_CONDITIONAL([APIDOC], [test "x$DOXYGEN" != "x"])
AC_SUBST(DVDCSS_LDFLAGS)
AC_OUTPUT([
Makefile
+ libdvdcss.spec
doc/doxygen.cfg
src/libdvdcss.pc
])
diff --git a/libdvdcss.spec b/libdvdcss.spec.in
similarity index 98%
rename from libdvdcss.spec
rename to libdvdcss.spec.in
index 6cef084..b86782f 100644
--- a/libdvdcss.spec
+++ b/libdvdcss.spec.in
@@ -1,5 +1,5 @@
-%define name libdvdcss
-%define version 1.2.9
+%define name @PACKAGE_NAME@
+%define version @PACKAGE_VERSION@
%define release 1

%define major 2
@@ -23,7 +23,7 @@ Summary: Library for accessing DVDs like block devices with transparent d
Source: %{name}-%{version}.tar.bz2
License: GPL
Group: System/Libraries
-URL: http://www.videolan.org/libdvdcss/
+URL: @PACKAGE_URL@
Packager: Yves Duret <***@zarb.org>
BuildRoot: %_tmppath/%name-%version-%release-root
Conflicts: libdvdcss0.0.1, libdvdcss0.0.2
Diego Biurrun
2014-10-20 17:14:56 UTC
Permalink
libdvdcss | branch: master | Diego Biurrun <***@biurrun.de> | Mon Oct 20 11:59:01 2014 +0200| [317801b7bf56916fc78001e678ef19f79fb648cb] | committer: Jean-Baptiste Kempf

build: Generate RPM spec file from an autoconf template

This allows filling in things like the library version number automatically.
http://git.videolan.org/gitweb.cgi/libdvdcss.git/?a=commit;h=317801b7bf56916fc78001e678ef19f79fb648cb
---

.gitignore | 1 +
configure.ac | 1 +
libdvdcss.spec => libdvdcss.spec.in | 6 +++---
3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/.gitignore b/.gitignore
index 3b03515..82241fa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,6 +10,7 @@
/depcomp
/install-sh
/libdvdcss.la
+/libdvdcss.spec
/libdvdcss*.tar.*
/libtool
/ltmain.sh
diff --git a/configure.ac b/configure.ac
index 860705f..6d58e96 100644
--- a/configure.ac
+++ b/configure.ac
@@ -239,6 +239,7 @@ AM_CONDITIONAL([APIDOC], [test "x$DOXYGEN" != "x"])
AC_SUBST(DVDCSS_LDFLAGS)
AC_OUTPUT([
Makefile
+ libdvdcss.spec
doc/doxygen.cfg
src/libdvdcss.pc
])
diff --git a/libdvdcss.spec b/libdvdcss.spec.in
similarity index 98%
rename from libdvdcss.spec
rename to libdvdcss.spec.in
index 6cef084..b86782f 100644
--- a/libdvdcss.spec
+++ b/libdvdcss.spec.in
@@ -1,5 +1,5 @@
-%define name libdvdcss
-%define version 1.2.9
+%define name @PACKAGE_NAME@
+%define version @PACKAGE_VERSION@
%define release 1

%define major 2
@@ -23,7 +23,7 @@ Summary: Library for accessing DVDs like block devices with transparent d
Source: %{name}-%{version}.tar.bz2
License: GPL
Group: System/Libraries
-URL: http://www.videolan.org/libdvdcss/
+URL: @PACKAGE_URL@
Packager: Yves Duret <***@zarb.org>
BuildRoot: %_tmppath/%name-%version-%release-root
Conflicts: libdvdcss0.0.1, libdvdcss0.0.2
Diego Biurrun
2014-10-21 19:17:05 UTC
Permalink
libdvdcss | branch: master | Diego Biurrun <***@biurrun.de> | Mon Oct 20 11:59:01 2014 +0200| [62186151af70bf995c52c0a7e90a2ad160452888] | committer: Diego Biurrun

build: Generate RPM spec file from an autoconf template

This allows filling in things like the library version number automatically.
http://git.videolan.org/gitweb.cgi/libdvdcss.git/?a=commit;h=62186151af70bf995c52c0a7e90a2ad160452888
---

.gitignore | 1 +
configure.ac | 1 +
libdvdcss.spec => libdvdcss.spec.in | 6 +++---
3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/.gitignore b/.gitignore
index 3b03515..82241fa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,6 +10,7 @@
/depcomp
/install-sh
/libdvdcss.la
+/libdvdcss.spec
/libdvdcss*.tar.*
/libtool
/ltmain.sh
diff --git a/configure.ac b/configure.ac
index 860705f..6d58e96 100644
--- a/configure.ac
+++ b/configure.ac
@@ -239,6 +239,7 @@ AM_CONDITIONAL([APIDOC], [test "x$DOXYGEN" != "x"])
AC_SUBST(DVDCSS_LDFLAGS)
AC_OUTPUT([
Makefile
+ libdvdcss.spec
doc/doxygen.cfg
src/libdvdcss.pc
])
diff --git a/libdvdcss.spec b/libdvdcss.spec.in
similarity index 98%
rename from libdvdcss.spec
rename to libdvdcss.spec.in
index 6cef084..b86782f 100644
--- a/libdvdcss.spec
+++ b/libdvdcss.spec.in
@@ -1,5 +1,5 @@
-%define name libdvdcss
-%define version 1.2.9
+%define name @PACKAGE_NAME@
+%define version @PACKAGE_VERSION@
%define release 1

%define major 2
@@ -23,7 +23,7 @@ Summary: Library for accessing DVDs like block devices with transparent d
Source: %{name}-%{version}.tar.bz2
License: GPL
Group: System/Libraries
-URL: http://www.videolan.org/libdvdcss/
+URL: @PACKAGE_URL@
Packager: Yves Duret <***@zarb.org>
BuildRoot: %_tmppath/%name-%version-%release-root
Conflicts: libdvdcss0.0.1, libdvdcss0.0.2

Loading...