templates: several minor fixes and improvements
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
parent
1040aa4cc7
commit
42c9a323e2
@ -1,3 +1,12 @@
|
||||
Changes in version 1.9.4 -
|
||||
2012 Davide Madrisan <davide.madrisan(a)gmail.com>
|
||||
|
||||
+ improvement
|
||||
* templates/{library,kde4,python} - Davide Madrisan:
|
||||
Several minor fixes and improvements.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Changes in version 1.9.3 - April Fools' Day Release
|
||||
Sun Apr 01 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
|
||||
|
||||
|
@ -504,6 +504,9 @@ format_autoformat=0
|
||||
|
||||
# Set this variable to modify the rpm unpackaged file list conversion
|
||||
format_unpackaged_file_list="\
|
||||
# translations for python packages
|
||||
s,^/usr/lib/python2.6/site-packages,%{python_sitearch},
|
||||
# generic translations
|
||||
s,^/usr/bin,%{_bindir},
|
||||
s,^/usr/sbin,%{_sbindir},
|
||||
s,^/usr/libexec,%{_libexecdir},
|
||||
|
@ -26,6 +26,15 @@ BuildRoot: @rpm_default_buildroot@
|
||||
%description
|
||||
...
|
||||
|
||||
## remove the devel blocks if this package does not provide development stuff
|
||||
%package devel
|
||||
Group: Development/Libraries
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description devel
|
||||
This package contains libraries and header files for developing applications that use %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
#%patch0 -p1
|
||||
@ -120,6 +129,13 @@ exit 0
|
||||
## note: eventually add the remaining documents (if any)
|
||||
# @standard_docs_devel@
|
||||
|
||||
## remove this block if the package does not provide development stuff
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
## note: this list is just an example; modify as required
|
||||
# %{_kde4_includedir}/%{name}
|
||||
# %{_kde4_libdir}/*.so
|
||||
|
||||
%changelog
|
||||
* @spec_changelog_date@ @packager_fullname@ <@packager_email@> @pck_version@-@spec_first_release@@DISTRO_rpm@
|
||||
- @spec_changelog_comment@
|
||||
|
@ -106,7 +106,7 @@ This package includes the %{name} API documentation.
|
||||
@makeinstall@
|
||||
|
||||
@if:i18n
|
||||
%find_lang %{name}
|
||||
%find_lang %{name} || touch %{name}.lang
|
||||
@fi:i18n
|
||||
|
||||
%clean
|
||||
|
@ -41,6 +41,9 @@ sed -i "\\,\\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||
|
||||
%files -f %{name}.filelist
|
||||
%defattr(-,root,root)
|
||||
## note: this list is just an example; modify as required
|
||||
# %{python_sitearch}/%{name}.py*
|
||||
# %{python_sitearch}/%{name}.so
|
||||
@standard_docs@
|
||||
## note: eventually add the remaining documents (if any)
|
||||
# @standard_docs_devel@
|
||||
|
Loading…
Reference in New Issue
Block a user