Summary: | ASTERISK-03340: inclusion of rpm spec file | ||
Reporter: | Marek Cervenka (cervajs) | Labels: | |
Date Opened: | 2005-01-24 10:48:43.000-0600 | Date Closed: | 2011-06-07 14:04:44 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/NewFeature |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) asterisk.spec ( 1) libpri.spec ( 2) Makefile.patch ( 3) Makefile.patch.txt ( 4) rpmmacros ( 5) rpmrc | |
Description: | easiest packaging if this file is included in root of tarball, then is possible make rpm with this command rpmbuild -ta asterisk-1.0.5.tar.gz (this is standard way, redhat/ directory is obsolete) | ||
Comments: | By: Andrey S Pankov (casper) 2005-01-24 11:23:30.000-0600 No feature will be included in 1.0 as per current policies a.f.a.i.k. By: Mark Spencer (markster) 2005-01-24 11:58:27.000-0600 There is already an RPM spec file, what am I missing? By: Marek Cervenka (cervajs) 2005-01-24 15:50:14.000-0600 the spec file in redhat/ directory is very old (rh6.2 like) and files is missing when making rpm package the standard now is put spec file to the root of tarball then is possible make rpm package without unpacking just run rpmbuild -ta asterisk-<version>.tar.gz By: Mark Spencer (markster) 2005-01-24 23:43:14.000-0600 The asterisk spec file is actually built as part of the "make" process, substituting the version information in etc. By: Marek Cervenka (cervajs) 2005-01-25 02:01:56.000-0600 i know ok, i will send patch for redhat/asterisk.spec (package is not created on new fedoras) but i still like the idea of "rpmbuild -ta asterisk-...tar.gz" but is fact for this asterisk need to be autotooled (autoconf,..) By: Mark Spencer (markster) 2005-02-03 00:44:49.000-0600 Perhaps we could have a "make specfile" target in the Makefile so that as part of the release process we coul have it automatically do the "make specfile" part after creating the .version file. How does that sound? By: Marek Cervenka (cervajs) 2005-02-03 04:59:21.000-0600 ok, first i need to rpmize libpri i'm created redhat/rpmmacros redhat/libpri.spec redhat/rpmrc added target rpm to the Makefile Makefile.patch (CVS HEAD 2005-02-03) By: Marek Cervenka (cervajs) 2005-02-03 05:15:44.000-0600 "make specfile" is good idea i will post patches for this during week (but autoconf&automake is more standard way, why asterisk&others isnt autotooled?) By: Andrey S Pankov (casper) 2005-02-03 09:54:14.000-0600 I doubt 'make specfile' is a good idea since 'make rpm' by itself may do the thing and there is no need in specfile when we don't build rpm package. By: nick (nick) 2005-02-03 20:31:23.000-0600 Just for grins, here's a tiny Makefile patch to make a spec file. DOF Nick By: Mark Spencer (markster) 2005-02-03 23:43:41.000-0600 Created in CVS head, and the CVS head release script has been modified to support this target. Can we get a patch against the builtin RPM to fix the RPM target etc? By: nick (nick) 2005-02-04 17:56:06.000-0600 Mark, I don't quite understand what you're asking... what's the builtin RPM? I think I'm missing something here. By: Mark Spencer (markster) 2005-02-04 23:34:18.000-0600 I mean the existing asterisk.spec file, sorry! Note that the current asterisk.spec file can be built by doing "make rpm", too. By: Mark Spencer (markster) 2005-02-27 20:50:06.000-0600 Any more update here? By: Mark Spencer (markster) 2005-03-12 00:48:55.000-0600 Suspended due to inactivity of bug placer. By: Digium Subversion (svnbot) 2008-01-15 15:24:17.000-0600 Repository: asterisk Revision: 4961 U trunk/Makefile ------------------------------------------------------------------------ r4961 | markster | 2008-01-15 15:24:17 -0600 (Tue, 15 Jan 2008) | 2 lines Create "spec" target (bug ASTERISK-3340) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=4961 |